Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I wouldn't use OpenGL for the GUI unless you are planning for hardware accelerated and/or 3D effects that you don't think you would get with a more traditional GUI toolkit (e.g <a href="http://trolltech.com/" rel="nofollow noreferrer">Qt</a>, <a href="http://www.wxwidgets.org/" rel="nofollow noreferrer">wxWidgets</a>, <a href="http://www.gtk.org/" rel="nofollow noreferrer">GTK</a>, etc). If you just need a quick simple GUI for hosting your OpenGL graphics then <a href="http://www.fltk.org/" rel="nofollow noreferrer">FLTK</a> is a nice choice. Otherwise, for rendering the GUI directly in OpenGL their are libraries like <a href="http://www.cegui.org.uk/wiki/index.php/Main_Page" rel="nofollow noreferrer">Crazy Eddie's GUI</a> that do just that and provide lots of <a href="http://en.wikipedia.org/wiki/Skinnable" rel="nofollow noreferrer">skinnable</a> <a href="http://en.wikipedia.org/wiki/GUI_widget" rel="nofollow noreferrer">widgets</a> that you won't have to reinvent. The window and OpenGL context could then be provide with a portable library like <a href="http://www.libsdl.org/" rel="nofollow noreferrer">SDL</a>.</p> <p><strong>EDIT</strong>: Now that I've gone back and taken at look your <a href="https://stackoverflow.com/questions/7489/how-do-i-make-a-gui">other post</a> I think I have a better understanding of what you are asking. For a GUI on an embedded system like the Nintendo DS, I would consider using an "immediate mode" GUI. <a href="http://sol.gfxile.net/who.html" rel="nofollow noreferrer">Jari Komppa</a> has a <a href="http://sol.gfxile.net/imgui/" rel="nofollow noreferrer">good tutorial about them</a>, but you could use a more object-oriented approach with C++ than the C code he presents.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload