On Sat, 28 Jan 2006 00:45:20 +0100
darekm <[EMAIL PROTECTED]> wrote:

>[...]
> >I disabled it for SystemColors. See TGtkWidgetSet.SetWidgetColor.
> >  
> >
> That is not good, for me better do it in function ColorToRGB(Color: 
> TColor): TColor (if it's not enought)
> If they return clNone then  setWidgetColor is not call

Then ColorToRGB must be extended with context sensitivity.
For example clBackround is different for buttons and listbox and for Pen and
Brush.
Some themes do not set all colors to good values. Especially bitmap based
themes often set the many colors to the same value.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to