[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] More gtkrc fun
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] More gtkrc fun |
Date: |
Fri, 11 Jun 2004 20:59:47 +0200 |
User-agent: |
Mutt/1.4i |
On Fri 11 Jun 2004 (19:23 +0100), Jon Kinsey wrote:
> 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).
That's true - when playing about with this, I'd already set cube and
chequer styles to background changes only. But, yes, I am trying to
get a single style for each level of error regardless of source
> 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.
But this means a doubtful chequer play would not flag a cube blunder
as a blunder (if I recall the order in which they are done)
--
Jim Segrave address@hidden