diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-02 12:19:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-02 19:22:59 +0100 |
| commit | 68a61d00f3754f6fc473f6ac86fb3abfe670d190 (patch) | |
| tree | f68c4eca132739b1e9183ecdaf4a87c1e60de2a3 /src/wx/config_dialog.h | |
| parent | 5950dd7e8de1a50f6b22760ab8811239dacd84cb (diff) | |
Move Sound preferences to its own file.
Diffstat (limited to 'src/wx/config_dialog.h')
| -rw-r--r-- | src/wx/config_dialog.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/wx/config_dialog.h b/src/wx/config_dialog.h index d810ead5d..33ffcc515 100644 --- a/src/wx/config_dialog.h +++ b/src/wx/config_dialog.h @@ -121,40 +121,6 @@ private: }; -class SoundPage : public Page -{ -public: - SoundPage(wxSize panel_size, int border) - : Page(panel_size, border) - {} - - wxString GetName() const override; - -#ifdef DCPOMATIC_OSX - wxBitmap GetLargeIcon() const override - { - return wxBitmap(icon_path("sound"), wxBITMAP_TYPE_PNG); - } -#endif - -private: - - void setup() override; - void config_changed() override; - boost::optional<std::string> get_sound_output(); - void sound_changed(); - void sound_output_changed(); - void setup_sensitivity(); - void map_changed(AudioMapping m); - void reset_to_default(); - - CheckBox* _sound; - wxChoice* _sound_output; - wxStaticText* _sound_output_details; - AudioMappingView* _map; - Button* _reset_to_default; -}; - } } |
