[Customdrawn] Some patches for dialogs and palette
Giuliano Colla
giuliano.colla at fastwebnet.it
Tue Sep 11 12:42:28 CEST 2012
Il 11/09/2012 10:04, Felipe Monteiro de Carvalho ha scritto:
> Hello,
>
> There seams to be an error in the patch:
> ì+ // CustomDrawn
> + customdrawncontrols, customdrawn_common;
>
> ==============
>
> The LCL should not depend on the CustomDrawn package from what I
> understand, I don't even see how this could compile ...
It's most likely a remnant of some tests, which I forgot to remove.
> You should not use CD controls in lazdialogs. Just use normal LCL
> controls. Then when we are using the LCL-CustomDrawn widgetset, the
> widgetset itself will redirect the controls to be CustomDrawn
> controls.
Apparently there's been a misunderstanding.
I had understood that lazdialogs had to be considered a Custom Drawn
control, and consequently it should use Custom Drawn controls (not
Custom Drawn Widgetset, of course).
> I changed TCDStaticText to TStaticText and TCDButton to TBitBtn and
> commited the patch.
However that way I had the opportunity of implementing and testing
functionalities of TCDButton, which may become handy in future.
Giuliano
More information about the Customdrawn
mailing list