5 ms·
I wish that there was some GUI lib dedicated to small embedded systems, I just want to draw some buttons and sliders without eating hundreds of flash/ram...
by ilyt 3y ago
I wish that there was some GUI lib dedicated to small embedded systems, I just want to draw some buttons and sliders without eating hundreds of flash/ram...
- deleted 3y ago[deleted]
- peelz 3y agoHave you looked into fltk-rs?
- ilyt 3y agolooking at required dependencies it couldn't even run on the microcontroller
- ogoffart 3y agoThis was our aim with Slint
- varjag 3y agoSome popular embedded display controllers have commands to draw primitives.
- ilyt 3y agoI'm essentially looking for something like imgui but with ability to draw directly to framebuffer. I looked at egui but that has same issue.
- jrylnd 3y agoImgui doesn’t write to a framebuffer, it records GPU commands. Really embedded MCUs don’t have space for a framebuffer either, a technique used is filling a line buffer on a timer interrupt and driving the lcd off that. The gui has to be written quite differently.
- mananaysiempre 3y agoBeefier display modules will have a framebuffer inside so you don’t have to mind the timing, even if you still have to transfer the image line by line because a full screen buffer (at the full colour depth) may not fit into the microcontroller’s own RAM. It would actually be interesting to do some sort of IMGUI for this kind of environment, that would perhaps rerun the display function multiple times per screen update, once for each line where a widget’s bounding box starts or ends.