[Lazarus] TButton must now become a custom draw component
Bogusław Brandys
brandys at o2.pl
Wed Aug 6 22:07:26 CEST 2008
Graeme Geldenhuys pisze:
> Hi,
>
> Yes I had to mention this, because it was one of the things I bitched
> about so often in the past!.
>
> As per the Lazarus design guidelines (I don't really know where those
> are), Lazarus *must* be as compatible with VCL as possible. So after
> watching the "What's new in VCL" which is going to be Delphi 2009
> (Tiburon), TButton can now take an image, do image padding and
> reposition the image. Only way for that to happen on all platforms, is
> to be a custom drawn button!!! So basically TBitBtn can fall away, or
> be renamed to TButton. The old TBitBtn can then become an alias to
> TButton for backwards compatibility.
>
> And seeing that TButton must now be custom drawn, we can finally get
> the long last feature..... Changing the button background color (my
> original gripe) like CLX. :)
>
> At this rate (although slow), all VCL components will one day be
> custom draw, which basically means VCL will be a fpGUI clone. ;-)
>
> If anybody else wants to what the video, here is the direct link:
> http://video.codegear.com/Tiburon/WhatsNewInTheVCL_English/WhatsNewInTheVCL.flv
>
>
> Regards,
> - Graeme -
>
>
> _______________________________________________
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://opensoft.homeip.net/fpgui/
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
That would require a lot of improvement in repainting controls because
such LCL I suppose would be deadly slow with all buttons custom drawn.
Just my two cents little opinion...
Regards
Boguslaw
More information about the Lazarus
mailing list