How would you design a sane, non bloated and simple GUI library?
>>60293435
ncurses
>>60293435
Raw Win32
>>60294014
Something like GLFW where the full extent of the library is to create a window, define its basic parameters, and include the other 2 or 3 features that your specific library is geared towards. For example GLFW basically just has what I said above plus function calls for creating an OpenGL/Vulkan context within the window along with function calls for full screen, input, and a monitor reference for refresh rate and getting necessary information about video and display settings.
>>60294014
this
>>60293435
I would acknowledge that it's not that easy.
Figures you can make it in most regards sane and offer nice graph etc. structures that let you layout and render any sort of UI elements.
But it won't be simple and non-bloated when that needs to work well on an actual OS.
>>60293435
Nuklear.
>>60293435
JavaFX. Every GUI element is simply a data structure of GUI elements.
>>60293435
FLTK