I wish to create my own Immediate mode GUI library in C++ for learning purposes and for creating my own tools

I am currently trying to develop a 2D sprite editor application from scratch using C++ and OpenGL, I wish to create some basic GUI elements for the same. As I am doing this as an exercise to improve my understanding of graphics/game engine programming and general C++ programming skills, I don't want to use libraries like IMGUI. So I wish to create something very basic to know what goes into creating an Immediate mode GUI library and use it in the application.

I would appreciate it if you guys can guide me and provide me with resources that might be helpful.

Thank you in advance.
Registered users can post here. Sign in or register to post.