Hi Experts, I'd like to create an opens source Lazarus package "NoGUIApplication", that allows for creating a Linux "Application" that allows for event driven programming but avoids any binding to the GUI. Same can be used in GUI-Less embedded systems.
If that works, I'd like to add a Lazarus package "IFI" that allows for creating a "remote GUI" or such applications. As discussed in the "fpc-devel" mailing list, I already have a running implementation of "NoGUIApplication, that I did by porting the code from MSEIDE (which provides "NoGUIApplication" as a standard choice when creating a new project). Now I am not happy with introducing this huge amount of code into Lazarus (i.e. a Lazarus "package") and rather use what the Lazarus and FPC distributions offer. So I took a look what we have in the RTL and the LCL. I did some steps to do do a "TNoGUIApplication = class(TCustomApplication)", but looking into the "Forms" code (that implements the LCL "Application = class(TCustomApplication)", I saw that the connection to the underlying Graphics system is not direct, but done by kind of dynamically linking to a "Widget Type", and looking in the project options, I see that the Widget Type can be selected independently of the source code and creation method of the Application. Here even we already have a selectable widget type "NoGUI (Pre-Alpha)". Obviously somebody already once started such a project. Now I need to find out how the Widget Type selected in project options is linked to the code that implements the "controls" and how I can debug/edit the source code for the "NoGUI" Widget Type. Thanks for any pointers. -Michael -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
