[Lazarus] Colourful Themes

Vojtěch Čihák vojtech.cihak at atlas.cz
Mon May 12 10:54:51 CEST 2014


Thanks,
 
I tried LCLIntf.SetBkColor(Canvas.Handle, clRed); and no visual change.
And if I try writeln(ColorToString(LCLIntf.SetBkColor(HANDLE, $00FF0000))); it never returns the color that I set (Qt4, GTK2), so it seems widgetsets doesn't support it.
 
Vojtěch 
______________________________________________________________
> Od: zeljko <zeljko at holobit.net>
> Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Datum: 12.05.2014 07:16
> Předmět: Re: [Lazarus] Colourful Themes
>
On 05/11/2014 08:08 PM, Vojtěch Čihák wrote:

hm...I don't think that color param is needed. If you set 
TWidgetSet.SetBgColor() DC brush is setted up to that color, so DC have 
information about brush color and can pass it to theme drawer (if ws 
supports overriding default theme brush).

> Are widgetsets capable do it? I mean if there is support in libQT4pas and other bindings.

Qt can do that, don't know abot others.

zeljko




More information about the Lazarus mailing list