X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglwindow.h;h=dd6e59fd62105dd1667b73901d6e5c3bd4065f27;hb=eb9a95ca4acbbdbc6c17acd6b8a135deab906f39;hp=f79c673f7dbdd8970dfe42fd0f74dd1c7b1c0d68;hpb=1fbd1b60d9fffe40febe499315347762da007269;p=libs%2Fgui.git diff --git a/source/glwindow.h b/source/glwindow.h index f79c673..dd6e59f 100644 --- a/source/glwindow.h +++ b/source/glwindow.h @@ -16,6 +16,7 @@ namespace Msp { struct GLDisplayOptions { bool alpha; + bool stencil; bool doublebuffer; unsigned multisample; @@ -28,6 +29,7 @@ protected: typedef GLXContext Context; GLDisplayOptions gl_options; + GLXWindow glx_wnd; Context context; public: @@ -38,6 +40,7 @@ public: void swap_buffers(); protected: void init(); + virtual void on_event(const XEvent &event); }; } // namespace Msp