DynTFT https://libstock.mikroe.com/projects/view/2281/dyntft is a library of graphic components, which can be simulated on desktop before using on microcontroller. The code can be compiled with mikroPascal, Delphi and FreePascal. It works on PIC32 and dsPIC/PIC24. It may work on other architectures as well, as long as they are 16-bit or 32-bit.
There is no documentation yet, only the wall of text on Libstock. The package includes simulators, compilable with Delphi and FreePascal (32-bit only).
Components use dynamic memory allocation, so they can be created and destroyed when needed. New components can be added to the library, without changing the core code, as long as they don't require extra features.
For example a button is created as:
Code: Select all
MyButton := PDynTFTButton_Create(AScreenIndex, ALeft, ARight, AWidth, AHeight);
See more details on Libstock.