[Lazarus] editor details
Graeme Geldenhuys
graemeg.lists at gmail.com
Wed Apr 21 12:46:35 CEST 2010
On 21 April 2010 10:44, Michael Van Canneyt <michael at freepascal.org> wrote:
>
> But it does have custom draw support for the tabs, which can be used to
> easily create the button. I do it in my own applications.
:-) We are talking in circles. Now you suggest exactly what I
suggested - using custom draw ability.
My suggestion just went a bit further by implementing the whole
PageControl as a custom drawn component (not just the tabs part). Then
you remove any platform limitations and the IDE can add features as
they need it, and all platforms will support those features. Like I
said earlier, this is only to be used in the IDE because it's a
specialized tool, that could do with a couple of specialized
components.
Another example of a specialized (custom drawn) component that the IDE
could use, is the area dividers used in Environment > Options >
Desktop screen. Currently I believe it's a Label (font set to Bold)
and two Bevel components. That could be written as a custom component,
and maybe even new functionality added down the line, like
Expand/Contract a section when clicked, adding gradient support etc.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list