Re:Dear ImGui – Bloat-free graphical user interface library ...
by athrowaway3z on Wednesday November 04, 2020 @12:21PM
(#24991005)
When you say we can't, it might be prudent to specify that "It's not a mainstream/simple feature" instead of "It's impossible"
[ Parent
| on HN ]
Re:Dear ImGui – Bloat-free graphical user interface library ...
by adwn on Wednesday November 04, 2020 @12:40PM
(#24991204)
Well, of course it's possible: The widgets can be stored in a tree-like data structure, which is constructed and modified by the UI editor, can be loaded and stored in a file, and is interpreted by a runtime which calls the corresponding widget functions ooops we've just reinvented retained-mode GUIs.