[Lazarus] External/out-of-tree LCL widgetset
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Nov 27 12:36:18 CET 2017
On Sun, 26 Nov 2017 19:32:21 +0200
Kostas Michalopoulos via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>[...]
> As i said, i do not think this would be useful enough to others to be part
> of the Lazarus tree. I ask because i remember a few months ago someone
> having an Amiga widgetset pretty much in working condition and that was
> something he worked on for a while, so i wondered if there was some
> mechanism for that. I suppose just having a big patch would also work,
> although it is kind of inconvenient.
The Amiga widgetset is the 'mui'.
You can add a new widgetset in folder lcl/interfaces/yourws and use it
in your project.
For some nicer integration you can add an enum to
lcl/lclplatformdef.pas.
The IDE checks only the sources listed in the lcl.lpk. Since your files
are not listed there, changing any of your widgetset sources will not
trigger building the LCL package automatically. So you have to click on
the 'Compile' button in the LCL package.
Mattias
More information about the Lazarus
mailing list