X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mainwindow.h;h=f768aaa31445ecb9bf92a54f314586d892b78876;hb=6afdb5d6c2a5949fcd956afbd0a2f8f2699587ed;hp=4c4c3f0a2c7290c7b8e1c12ef37720d685985398;hpb=c62c23eff1ba994d5c10b9255f467704de4da148;p=nageru diff --git a/mainwindow.h b/mainwindow.h index 4c4c3f0..f768aaa 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -6,6 +6,8 @@ #include #include +#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,16 @@ 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 transition_clicked(int transition_number); void channel_clicked(int channel_number); void wb_button_clicked(int channel_number); void set_transition_names(std::vector 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);