On Tue, Jul 22, 2003 at 12:24:41PM +0100, Angus Leeming spake thusly: > Martin Vermeer wrote: > > > > > Probably. Why not. But how to save the colour into the doc file? > > Having the colours named has value. What If I extend the list of > > available colours to include more rgb.txt entries? Note also that > > blue and red should probably go as they are too dark for background. > > Why not define logical colours "branch1", "branch2" etc which you > save in the doc. Adding them to the LColor.h enum and LColor.C array > of all such colours will automagically allow the user to specify > their on-screen representation from the preferences dialog. > > -- > Angus
Interesting idea. Hmmm. You mean that the choice_color widget would present the names "branch1", "branch2" etc. to the user? A bit prosaic. My idea was to add to LColor a number of existing colours found in rgb.txt, suitable as background colours under black text. These would then be absolute, not logical. Is there really much sense in allowing the user to redefine these? I mean, they don't "logically" represent anything, the're just supposed to be all different. Martin
pgp00000.pgp
Description: PGP signature