Advertisement

Circular "pie" immediate-mode GUI for games & tools

Started by December 04, 2017 08:44 PM
2 comments, last by michaeldodis 7 years, 2 months ago

I've started building a small library, that can render pie menu GUI in legacy opengl, planning to add some traditional elements of course.

It's interface is similar to something you'd see in IMGUI. It's written in C.

Early version of the library

I'd really love to hear anyone's thoughts on this, any suggestions on what features you'd want to see in a library like this? 

Thanks in advance!

14 minutes ago, michaeldodis said:

I'd really love to hear anyone's thoughts on this, any suggestions on what features you'd want to see in a library like this? 

Tool tips, hierarchical menus, curved text? 

Personally, I'd want to see the rendering (GL code) separated out of the library and into a samples/examples folder. Any GUI lib that doesn't do this is unusable (sorry for the harsh words! :o). See Dear ImGui,, librocket, etc for one's that do. 

Another thing you could do is write a pie gizmo as an add on for Dear ImGui,. That would save you from having to write everything else. A kind of circular add on pack :) here's an example of someone else doing this: https://github.com/CedricGuillemet/ImGuizmo

Advertisement
10 hours ago, Hodgman said:

Tool tips, hierarchical menus, curved text? 

Personally, I'd want to see the rendering (GL code) separated out of the library and into a samples/examples folder. Any GUI lib that doesn't do this is unusable (sorry for the harsh words! :o). See Dear ImGui,, librocket, etc for one's that do. 

Another thing you could do is write a pie gizmo as an add on for Dear ImGui,. That would save you from having to write everything else. A kind of circular add on pack  here's an example of someone else doing this: https://github.com/CedricGuillemet/ImGuizmo

Oh, so having the user provide the graphics back-end? I haven't really looked at most of the source code in IMGUI, but I did have a look at This library, which is practically the same, but header-only and in ANSI C. 

I'll try to adjust it so the GUI logic can be written separately from the rendering code.

Thanks for the suggestion man! 

This topic is closed to new replies.

Advertisement