diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-02-29 23:53:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-02-29 23:53:52 +0100 |
| commit | 054695b21346c089cb0d6c84d82dbec935d2acd7 (patch) | |
| tree | 0307e6a6bf8467cd3a0fbb1484727adb5bedc0cd /src/wx/config_dialog.h | |
| parent | 9834d1033dc5cf23b185a3ef14a2ecb673af157e (diff) | |
Add 'proper' config dialog for the playlist editor.
Diffstat (limited to 'src/wx/config_dialog.h')
| -rw-r--r-- | src/wx/config_dialog.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/wx/config_dialog.h b/src/wx/config_dialog.h index 565ecf1c4..5203af609 100644 --- a/src/wx/config_dialog.h +++ b/src/wx/config_dialog.h @@ -214,4 +214,33 @@ private: Button* _reset_to_default; }; +class LocationsPage : public StandardPage +{ +public: + LocationsPage (wxSize panel_size, int border); + + wxString GetName () const; + +#ifdef DCPOMATIC_OSX + wxBitmap GetLargeIcon () const; +#endif + +private: + void setup (); + void config_changed (); + void content_directory_changed (); + void playlist_directory_changed (); + void kdm_directory_changed (); + +#ifdef DCPOMATIC_VARIANT_SWAROOP + void background_image_changed (); +#endif + + wxDirPickerCtrl* _content_directory; + wxDirPickerCtrl* _playlist_directory; + wxDirPickerCtrl* _kdm_directory; +#ifdef DCPOMATIC_VARIANT_SWAROOP + FilePickerCtrl* _background_image; +#endif +}; #endif |
