[Top][All Lists]

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

Re: [Bug-gnubg] Help with new game list colors

From: Joern Thyssen
Subject: Re: [Bug-gnubg] Help with new game list colors
Date: Sun, 4 Jul 2004 06:11:50 +0000
User-agent: Mutt/

On Sat, Jul 03, 2004 at 07:46:24PM +0000, james bond wrote
> Hi
> I need help changing the colours.
> I want to select a colour maybe from an image editing program and use the 
> info from that to change the colours in gnubg

The colors are controlled by the gnubg.gtkrc file. You can edit the file
with any text editor (e.g., notepad).

In that file, you can find entries like:

style "gamelist-chequer-blunder" = "default"
  fg[ NORMAL ] = { 0xffff, 0, 0 }

This entry says that the style for a chequer play blunder is based on
the "default" style (e.g., it inherits the global font setting)  and
that the foreground color is { 0xffff, 0, 0 }. The values represent red,
green, and blue, respectively. That is, { 0xffff, 0, 0 } is 100% red
whereas { 0, 0xffff, 0 } would be 100% green. Most image manipulation
programs can output colors like that (albeit they often use the 0-255


Attachment: pgpNFnAcMFXY7.pgp
Description: PGP signature

reply via email to

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