The demo program’s implementation of the #MicroUI clip command just uses #glScissor, which means that the clip command doesn’t stack or nest; it just sets the drawable region, so you don’t need an “unclip” command.
on 02024-09-11#Tekknolagi and #akkartik got #MicroUI running on #Fenster this weekend
on 02024-09-09"MicroUI" is a tiny immediate-mode GUI library, 1100 lines of C. It deposits drawing operations into a command buffer for your application to process, similar to dear #imgui.
on 02024-09-09"MicroUI" is a 1.1kloc #IMGUI library in C by rxi, with no dynamic allocation. This version is hacked to run on SDL. It maintains a queue of up to 4096 drawing commands from the library to the app of four types, MU_COMMAND_{TEXT,RECT,ICON,CLIP}, or sometimes maybe JUMP? #small-is-beautiful #noalloc