开发者

c++ sdl: can i have an sdl-opengl window inside a menu and buttons i created with glade?

I used glade to create some gtk buttons.

  1. is it possible to add an sdl-opengl window to a glade application ? if so, how ?
  2. how 开发者_StackOverflowcan I interact between the gtk events and the sdl events inside the gtk window ?

thanks


There are at least two extensions to GTK that might help you: GtkGLExt and Gtksdl.

Gtksdl appears to be abandoned, but may contian some useful code. GtkGLExt is great if you're not relying on much SDL functionality beyond core OpenGL and events handling.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜