libglui / glui

GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications. It is window-system independent, using GLUT or FreeGLUT.
Other
196 stars 81 forks source link

Native menu #38

Open josch opened 9 years ago

josch commented 9 years ago

https://sourceforge.net/p/glui/feature-requests/2/

original report

I think It would be a godd idea to provide a kind a "native" pseudo-menu that does not rely on glut menu which does not have the same font color etc ...

I think this can be done creating a "pop up" subwindow ...

David

reply 1

David,

Have you had a look at the way popup menus are done in freeglut, using OpenGL. I think they could use some refinement, but certainly demonstrate the principle.

Nigel

reply 2

Hmmm... Can it be done in a portable way?

There is no intention of introducing X11 or Win32 specific code into GLUI.

reply 3

I've not looked at freglut

I was thinking of allowing a king of "subwindow" that would not be dockable link the other but can be placed anywhere we want : in that case next a button ...