views:

615

answers:

2

I'm searching for a OpenGL User Interface Library like WxWidgets but not OS dependent.

It would have to provide callbacks for user input since this is OS dependent.

If something like this doesn't yet exist (which I doubt because most games have most of the Basic UI Elements) is there a OpenGL HTML/CSS renderer?

+2  A: 

FLTK, GTK+, and QT support OpenGL widgets in a portable way. QT in particular can render all of its widgets in an OpenGL viewport. I know there's been some work on getting GTK to do the same thing, but I haven't heard on the progress of it.

OTK comes up on a quick Google search as an OpenGL-backed widget library.

It's also worth pointing out that Cairo has an OpenGL backend, and there are a number of toolkits that depend on it, including GTK+.

greyfade
A: 

Found another Question about this:

http://stackoverflow.com/questions/211018/what-is-the-best-free-cross-platform-opengl-gui-library-for-a-video-game

Seems like CEGUI is the answer.

Hendrik