Open MiniGUI: C++/OpenGL GUI prototyping library
last published on 27 April 2022
As I was starting to dabble with OpenGL applications I found that, for prototyping an application, there were not many tools available that would integrate GUI elements into the OpenGL context. And the few tools that were available usually made things that much more complex for the developer.
All I wanted to do was quickly prototype a small application with a few buttons I could press, to change the state of different variables within a scene I was rendering.
I took it upon myself to create a small GUI toolkit that can be used for quick prototyping. Does not impact the design of the code at all, and does a lot of things the developer does not even want to think about when creating a prototype.
This resulted in the Open MiniGUI library I offer here to download. The image shows what the GUI elements look like. This screenshot was made with the code shown in the Header/Implementation files.
This release is not perfect. But it's usable enough for me to release. Some of the things I am working on are:
- a more complete widget set;
- different render targets, so your code will work in SDL as well as OpenGL
- bugfixing ...