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

Dynamic text #47

Open josch opened 9 years ago

josch commented 9 years ago

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

original report

It would be nice to have a dinamic Text Object to act as a flag to see the value of a determinate variable in real time (like cursor position)

reply 1

GLUI in CVS is now using std::string.

Is the idea here that a pointer to a std::string can be passed to the text widget, and the current content of the std::string will always be used for display?