X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=glwidget.h;h=9095e4894f2a11e062b2a1453b89a50f22c80a50;hb=b6089b76678e76271616131672c5ba454a5d336d;hp=857d733c42cf90e77ee51bf97aecdecea03d2231;hpb=d62349fd118e89b16adfc5478c73cd8e10136364;p=nageru diff --git a/glwidget.h b/glwidget.h index 857d733..9095e48 100644 --- a/glwidget.h +++ b/glwidget.h @@ -2,15 +2,16 @@ #define GLWIDGET_H #include -#include +#include +#include #include #include #include "mixer.h" -#include "qgl.h" -#include "qobjectdefs.h" class QMouseEvent; +class QObject; +class QPoint; class QWidget; namespace movit { @@ -46,7 +47,12 @@ protected: signals: void clicked(); void transition_names_updated(std::vector transition_names); - void resolution_updated(Mixer::Output output); + void name_updated(Mixer::Output output, const std::string &name); + void color_updated(Mixer::Output output, const std::string &color); + +private slots: + void show_live_context_menu(const QPoint &pos); + void show_preview_context_menu(unsigned signal_num, const QPoint &pos); private: Mixer::Output output;