[lazarus] GTK+ Theme colors

Andrew Johnson aj_genius at hotmail.com
Mon Sep 16 17:37:45 EDT 2002

On Mon, 16 Sep 2002 22:59:15 +0200
"Michal Bukovjan" <bukovjan at mbox.dkm.cz> wrote:


>Shadow. The dark is top left, light is bottom right. Used to created the 
>shaded 3d effect.

So what is the dif. between these and BTN_Shadow/BTN_Highlight??
If there isn't any they are easily mapped!

>I recommend you look into Kylix help file. They introduced a concept of 
>ColorGroups and ColorRoles, and somehow remade mappings for color.
>I attach for your reference TColor, TColorGroup and TColorRole from Kylix 1 
>Help file.

Granted this way makes more sense for GTK/QT/X, but for Win32 I don't think 
it would make as much sense yet.. not until a good portion of the Win32 is 
done and we can start redesigning Lazarus colors etc.. based on what makes 
most sense for everywhere. Until then simply mapping as much as is possible 
to Win32 colors makes most sense, esp. because most programs to be ported 
will be from Delphi not Kylix, and therefore will expect it that way.


Chat with friends online, try MSN Messenger: http://messenger.msn.com

More information about the Lazarus mailing list