bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] More gtkrc fun


From: Jon Kinsey
Subject: Re: [Bug-gnubg] More gtkrc fun
Date: Fri, 11 Jun 2004 19:23:23 +0100
User-agent: Mozilla Thunderbird 0.6 (Windows/20040502)

Jim Segrave wrote:

I liked the new way of indicating errors, but I have a personal
preference for seeing all errors, cube and chequer, marked the same so
that, for example, a chequer-blunder while also making a doubtful cube
decision would show up the same as a cube blunder accompanied by a
doubtful chequer play.

What I've done is add the possibility of using

gamelist-any-blunder/gamelist-any-error/gamelist-any-doubtful to
select a colour style. Then the gamelist will reflect whichever of the
two is the worst category of error. (I also did this because I find
that many foreground coulours don't stand out well on a white
background, and they get even worse in the case of double errors,
since you now have to consider all combinations of foreground and
background coulours.

I've added them to gnubg.gtkrc, using the same background changes as
the cube errors, but commented out (I personally use 3 shades of
yellow, the brighter the background, the worse the error)

What you've done is a bit strange, I think you're trying to make each level of error have the same style regardless of whether it's a cube or chequer error. The strange bit is that if you uncomment the three lines with the any-styles on, you get different styles for the chequer errors to the cube errors (as these have different fg colours).

Perhaps a better approach is to change the gtkrc file to something like this:

style "gamelist-blunder" = "default"
{
.. [blunder style details]
}
style "gamelist-error" = "default"
{
.. [error style details]
}
style "gamelist-doubtful" = "default"
{
.. [error style doubtful]
}

style "gamelist-cube-blunder" = "gamelist-blunder" {}
style "gamelist-cube-error" = "gamelist-error" {}
style "gamelist-cube-doubtful" = "gamelist-doubtful" {}
style "gamelist-chequer-blunder" = "gamelist-blunder" {}
style "gamelist-chequer-error" = "gamelist-error" {}
style "gamelist-chequer-doubtful" = "gamelist-doubtful" {}


To me this is much clearer, in that you're setting 3 styles which are used for the chequer+cube styles.

Jon

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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