Adding a new interface
From Free Pascal wiki
Jump to navigationJump to search
This article describes the steps to add a new wdiget set interface. This article is intended for developers who want to make an existing widget set available for use with the LCL. It describes the first steps to set up the directories and adapt the IDE for developing the new interface.
Steps
As example we write the steps for adding a new interface for the pogo widget set.
Create a directory for the interface
Create a subdirectory pogo in lazarus\lcl\interface.
TODO: explain how to create a skeleton
Update Makefiles
Edit lazarus\lcl\intefaces\Makefile.fpc and append pogo to the Target directories
[target] dirs=gtk gtk2 win32 wince qt carbon fpgui pogo
Generate the Makefile in lazarus\lcl\intefaces using Fpcmake.
cd lazarus\lcl\intefaces fpcmake -Tall