When creating GUIs for tiny embedded devices I wanted to use something like AutoLayout, and searched a bit for available open source libs. Didn’t find a whole lot, and what I found was way too large for my devices, total space for code is 256kB that needs to include bootloader, application logic and device settings.
So I put together a minimal thing that does just enough to layout a simple GUI without having to hard code sizes. If I’m reading my map file correctly it uses about 1kB of Flash (which seems small, perhaps I’m missing something).
When creating GUIs for tiny embedded devices I wanted to use something like AutoLayout, and searched a bit for available open source libs. Didn’t find a whole lot, and what I found was way too large for my devices, total space for code is 256kB that needs to include bootloader, application logic and device settings.
So I put together a minimal thing that does just enough to layout a simple GUI without having to hard code sizes. If I’m reading my map file correctly it uses about 1kB of Flash (which seems small, perhaps I’m missing something).
https://bitbucket.org/tlabwest/liblayout/src/master/
There’s quite a lot that goes into this. Thanks for sharing!
Thanks! I remembered that I wrote a bit about it on the blog too, if you find it interesting: http://www.eiman.tv/blog/posts/liblayout/
[Comment removed by author]