by flohofwoe · 10y ago · 0 comments
As a modern alternative, there are new, very slim immediate-mode UIs for tools out of the game industry which might not look quite as shiny, but render UIs very efficiently, with very little code to write and execute. For instance this dear imgui emscripten demo is a 325kByte download (1% of the Qt demo! and it gets smaller if you don't use all the different UI elements):
http://floooh.github.io/oryol/asmjs/ImGuiDemo.html
The UI is rebuilt every frame, and easily running at 60fps with very few drawcalls.
And people are doing amazing things with it: