]> git.sesse.net Git - nageru/blobdiff - glwidget.h
Fix an issue where the mixer lagging too much behind CEF would cause us to display...
[nageru] / glwidget.h
index 01cbbd90eaf4fa84ddf253ab68008e30bc4c5d1d..ed67ae8621169fd7852c9bc9bccd5de2aa0797b7 100644 (file)
@@ -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