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
194 stars 82 forks source link

Closing glui windows and sub-windows #51

Open josch opened 8 years ago

josch commented 8 years ago

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

Hello,

I have been an active user of GLUI and I always had to look for alternatives to deal with this problem. If I write an OpenGL application that has a glui window associated with it and ,say, I wanted to create some kind of a confirmation dialog box with options such as 'yes', 'no' and 'cancel'. glui subwindow can create this interface. However, this is the problem:

If I choose to hit on 'X' mark at the corner of the sub-window, the sub window along with the OpenGL application gets closed. Logic would suggest that only the sub-window be closed when some one hits the 'X' mark on a sub-window, and not the entire application.

I would like to request that this problem be addressed soon.

Thanks, Vijay.