]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/xywindow.h
Wrap GtkGLArea
[xonotic/netradiant.git] / radiant / xywindow.h
index 3eefc11e015a4d0e15127f497e2630cda84ae4d0..cfe8f036c11f8f1bef8a20c84a3342ff87dcae8a 100644 (file)
@@ -63,7 +63,7 @@ inline const char* ViewType_getTitle( VIEWTYPE viewtype ){
 
 class XYWnd
 {
-ui::Widget m_gl_widget;
+ui::GLArea m_gl_widget;
 guint m_sizeHandler;
 guint m_exposeHandler;
 
@@ -77,7 +77,7 @@ XYWnd();
 void queueDraw(){
        m_deferredDraw.draw();
 }
-ui::Widget GetWidget(){
+ui::GLArea GetWidget(){
        return m_gl_widget;
 }