[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Bug: image while offering a resignation

From: Holger
Subject: Re: [Bug-gnubg] Bug: image while offering a resignation
Date: Thu, 10 Apr 2003 20:55:43 +0200

At 07:02 10.04.2003 +0000, Joern Thyssen wrote:
On Thu, Apr 10, 2003 at 12:00:34AM +0200, Achim Mueller wrote
> When gnubg (devel) offers a resignation it shows a second cube (1 for
> normal, twice for gammon). Bug or feature?
> Wouldn't it be better to create a yes/no message?

Yes, my original idea was to show a white flag, but it seemed hard to
write the rendering code for a flag, so I decided to go for a cube with
the text R1, R2, or R3, however, the luxi font in luxi.c only includes
information about the numbers (0-9), so I left out the R :-)

You'll note that the cube is white :-)

Some time ago I already suggested a yes/no choice. I'm not entirely sure about the best UI, but I suppose something like the following is close:

                  | Resign BG |
       +--------+               +--------+
       | Accept |               | Reject |
       +--------+               +--------+

At least easier to code is only one button/sign. One could implement a left click for accept and right for reject. But without explanation hardly anybody will guess this. It's everything but intuitive.

For drawing or rather loading an image I had a look at gdk-pixbuf. I don't know whether we want to use it because it doesn't come with GTK+ 1.3. There is, however, also a version 1.0, but maybe not for Windows. In GTK+ 2.2 for Windows there is gdk-pixbuf 2.0. Maybe it's possible to use it together with GTK+ 1.3?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]