X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=glwidget.h;h=ed67ae8621169fd7852c9bc9bccd5de2aa0797b7;hb=327534a3031a332423411c9599c741f2f81657df;hp=01cbbd90eaf4fa84ddf253ab68008e30bc4c5d1d;hpb=29fc190374dddd2569e6863fb480669a7af72e44;p=nageru diff --git a/glwidget.h b/glwidget.h index 01cbbd9..ed67ae8 100644 --- a/glwidget.h +++ b/glwidget.h @@ -52,14 +52,17 @@ signals: void color_updated(Mixer::Output output, const std::string &color); private slots: + void show_context_menu(const QPoint &pos); + +private: void show_live_context_menu(const QPoint &pos); void show_preview_context_menu(unsigned signal_num, const QPoint &pos); -private: Mixer::Output output; GLuint vao, program_num; GLuint position_vbo, texcoord_vbo; movit::ResourcePool *resource_pool = nullptr; + int current_width = 1, current_height = 1; }; #endif