21 class MainWindow : public QMainWindow
27 void resizeEvent(QResizeEvent *event) override;
28 void mixer_created(Mixer *mixer);
30 // Used to release FBOs on the global ResourcePool. Call after the
31 // mixer has been shut down but not destroyed yet.
32 void mixer_shutting_down();
36 void exit_triggered();
37 void transition_clicked(int transition_number);
38 void channel_clicked(int channel_number);
39 void wb_button_clicked(int channel_number);
40 void set_transition_names(std::vector<std::string> transition_names);
41 void update_channel_name(Mixer::Output output);
42 void gain_staging_knob_changed(int value);
43 void final_makeup_gain_knob_changed(int value);
44 void cutoff_knob_changed(int value);
45 void limiter_threshold_knob_changed(int value);
46 void compressor_threshold_knob_changed(int value);
47 void reset_meters_button_clicked();
51 bool eventFilter(QObject *watched, QEvent *event) override;
52 void set_white_balance(int channel_number, int x, int y);
54 // Called from the mixer.
55 void audio_level_callback(float level_lufs, float peak_db, float global_level_lufs, float range_low_lufs, float range_high_lufs, float gain_staging_db, float final_makeup_gain_db);
56 timeval last_audio_level_callback{0, 0};
59 QPushButton *transition_btn1, *transition_btn2, *transition_btn3;
60 std::vector<Ui::Display *> previews;
61 int current_wb_pick_display = -1;
64 extern MainWindow *global_mainwindow;