]> git.sesse.net Git - nageru/blobdiff - mainwindow.h
Add a menu item to start a new video segment (cut/cue, except that would be a confusi...
[nageru] / mainwindow.h
index 4c4c3f0a2c7290c7b8e1c12ef37720d685985398..bb5a8707734433a0b79b4363e8a563033c1050d2 100644 (file)
@@ -6,6 +6,8 @@
 #include <vector>
 #include <sys/time.h>
 
+#include "mixer.h"
+
 class GLWidget;
 class QResizeEvent;
 
@@ -14,7 +16,6 @@ class Display;
 class MainWindow;
 }  // namespace Ui
 
-class Mixer;
 class QPushButton;
 
 class MainWindow : public QMainWindow
@@ -26,11 +27,17 @@ public:
        void resizeEvent(QResizeEvent *event) override;
        void mixer_created(Mixer *mixer);
 
+       // Used to release FBOs on the global ResourcePool. Call after the
+       // mixer has been shut down but not destroyed yet.
+       void mixer_shutting_down();
+
 public slots:
+       void cut_triggered();
        void transition_clicked(int transition_number);
        void channel_clicked(int channel_number);
        void wb_button_clicked(int channel_number);
        void set_transition_names(std::vector<std::string> transition_names);
+       void update_channel_name(Mixer::Output output);
        void cutoff_knob_changed(int value);
        void limiter_threshold_knob_changed(int value);
        void compressor_threshold_knob_changed(int value);