lpcware

emWin memry allocation for widgets

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by johanan on Sun May 26 06:47:08 MST 2013

I would like to make a screen which will be populated with diferrent widgets at run time.


This looks possible, but I have no idea on emWin method for allocating memry and releasing when widgets are no longer needed.


The best would be to have my own buffer with constand size ( enogh for the most populated screen), which will hold all current widgets, and when I remove and change the widgets, I will erase that buffer and start over.


Is there a way to do it?


thanks


Johanan

Outcomes