]> git.sesse.net Git - nageru/blobdiff - glwidget.h
Add a preview display to the frame analyzer window.
[nageru] / glwidget.h
index 3eb55dad47550562307546c3c74a7bce2d577c91..12757fc5bcbc97dbef4535657fa450ef4881b531 100644 (file)
@@ -2,15 +2,16 @@
 #define GLWIDGET_H
 
 #include <epoxy/gl.h>
-#include <QGLWidget>
+#include <QGL>
+#include <QString>
 #include <string>
 #include <vector>
 
 #include "mixer.h"
-#include "qgl.h"
-#include "qobjectdefs.h"
 
 class QMouseEvent;
+class QObject;
+class QPoint;
 class QWidget;
 
 namespace movit {
@@ -29,6 +30,7 @@ class GLWidget : public QGLWidget
 
 public:
        GLWidget(QWidget *parent = 0);
+       ~GLWidget();
 
        void set_output(Mixer::Output output)
        {
@@ -50,7 +52,8 @@ signals:
        void color_updated(Mixer::Output output, const std::string &color);
 
 private slots:
-       void show_context_menu(unsigned signal_num, const QPoint &pos);
+       void show_live_context_menu(const QPoint &pos);
+       void show_preview_context_menu(unsigned signal_num, const QPoint &pos);
 
 private:
        Mixer::Output output;