| ▲ | What I learned designing a barebones UI engine(madebymohammed.com) | |||||||||||||||||||||||||
| 39 points by teleforce 7 hours ago | 5 comments | ||||||||||||||||||||||||||
| ▲ | giveexamples an hour ago | parent | next [-] | |||||||||||||||||||||||||
rectcut is a good API for layout if you have a fixed viewport (eg eink display) the API is a very simple one where you slice parts off an initial Rect. the only feature it provides is that it tracks (x, y, h, w) for you. it doesn't work well with intrinsic sizes - it's more of a top down, fixed size thing. | ||||||||||||||||||||||||||
| ▲ | mbmproductions 4 hours ago | parent | prev [-] | |||||||||||||||||||||||||
author here - thanks for posting :D would love to hear any thoughts or questions. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||