bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] [Proposal] Game record default colors/styles


From: Massimiliano Maini
Subject: [Bug-gnubg] [Proposal] Game record default colors/styles
Date: Mon, 17 Aug 2009 12:56:48 +0000 (GMT)

Hi all,

the current (default) coloring of moves/decisions is:

Chequer: black/green/blue/red foreground for none/doubtful/bad/very bad
Cube: white/gray/purple/yellow background for none/doubtful/bad/very bad
Luck: bold/-/-/italic for very lucky/lucky/unlucky/very unlucky rolls

I find the colors not really intuitive. I tried to have something more logical, 
like:

Chequer: black/green/orange/red foreground for none/doubtful/bad/very bad
Cube: white/light gray/gray/dark gray background for none/doubtful/bad/very bad

I'm quite happy with what I have now.
Despite the shades of gray being a bit sad (wrt to the more colorful yellow 
that I tried first),
I find the gray more readable (and with more detectable shades)..

If you want to give it a try, here are the lines that you have to put in your 
gnubg.gtkrc:

style "gamelist-chequer-blunder" = "default"
{
  fg[ NORMAL ] = { 0xffff, 0, 0 }
}
style "gamelist-chequer-error" = "default"
{
  fg[ NORMAL ] = { 0xffff, 0x8585, 0x3333 }
}
style "gamelist-chequer-doubtful" = "default"
{
  fg[ NORMAL ] = { 0, 0xb3b3, 0 }
}

style "gamelist-cube-blunder" = "default"
{
  base[ NORMAL ] = { 0x6666, 0x6666, 0x6666 }
}
style "gamelist-cube-error" = "default"
{
  base[ NORMAL ] = { 0xc6c6, 0xc6c6, 0xc6c6 }
}
style "gamelist-cube-doubtful" = "default"
{
  base[ NORMAL ] = { 0xe6e6, 0xe6e6, 0xe6e6 }
}

They have to replace the original ones or eventually you ca rename my styles
and chnage the widget declaration to point at them, if you want to play around 
comparing.

The "shades of yellow" for cube is:

style "gamelist-cube-blunder" = "default"
{
  base[ NORMAL ] = { 0xffff, 0xffff, 0x0000 }
}
style "gamelist-cube-error" = "default"
{
  base[ NORMAL ] = { 0xffff, 0xffff, 0x9999 }
}
style "gamelist-cube-doubtful" = "default"
{
  base[ NORMAL ] = { 0xffff, 0xffff, 0xcccc }
}

Concerning luck, I see only 2 styles for luck-good and luck-bad (which are very 
lucky and very unlucky).
Would it be possible to have styles for also lucky and unlucky ?
Could we use the 4 standards styles bold/underline/italic/strikethrough fr 
respectively 
very lucky/lucky/unlucky/very unlucky ? Which are the GTK2 names for underline 
and strikethrough ?

MaX.









reply via email to

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