X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fconfig_dialog.h;h=5203af609f8e13673968d50dca03610cdf8496ee;hb=a16523af5f70b60f4890f198f6214177077a9c1d;hp=565ecf1c4f738c026aa0901a1bee0256335b5885;hpb=e0b2ef3dbac6fc4900cad6fea4395c212578602b;p=dcpomatic.git 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