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
200 stars 81 forks source link

Newline support in static text objects #87

Open bluebear94 opened 6 years ago

bluebear94 commented 6 years ago

I'm a bit surprised that GLUI_StaticText objects ignore newlines. Support for newlines inside static text would be helpful if you don't want to use multiple static text objects or the number of lines you need varies.

Edit: changes needed to support this: