X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=glwidget.h;h=2cf34eb0a50364f3dc523e38daacd9db4b5249e8;hb=5c560f35dea9f3aa5f13c42f4a0112a4d05f2152;hp=d3972739cff27de4550b462f5cc863617620ff49;hpb=8cbf100e6126c1550a6436970d777a652ac1182e;p=nageru diff --git a/glwidget.h b/glwidget.h index d397273..2cf34eb 100644 --- a/glwidget.h +++ b/glwidget.h @@ -3,15 +3,16 @@ #include #include +#include +#include #include "mixer.h" +#include "qgl.h" +#include "qobjectdefs.h" +class QMouseEvent; class QWidget; -namespace movit { -class ResourcePool; -} - // Note: We use the older QGLWidget instead of QOpenGLWidget as it is // much faster (does not go through a separate offscreen rendering step). // @@ -37,10 +38,10 @@ protected: signals: void clicked(); + void transition_names_updated(std::vector transition_names); private: Mixer::Output output; - movit::ResourcePool *resource_pool; GLuint vao, program_num; GLuint position_vbo, texcoord_vbo; };