Back-port tabbed config dialog from 1.0
[dcpomatic.git] / src / wx / config_dialog.h
index 948bf0571e2f95e347dd3440a6303a9ebc878f87..598279e86e0ac141d2383ec949564f073d5c91d4 100644 (file)
@@ -18,7 +18,7 @@
 */
 
 /** @file src/config_dialog.h
- *  @brief A dialogue to edit DVD-o-matic configuration.
+ *  @brief A dialogue to edit DCP-o-matic configuration.
  */
 
 #include <wx/wx.h>
 #include <wx/filepicker.h>
 
 class DirPickerCtrl;
+class wxNotebook;
 
 class ServerDescription;
 
 /** @class ConfigDialog
- *  @brief A dialogue to edit DVD-o-matic configuration.
+ *  @brief A dialogue to edit DCP-o-matic configuration.
  */
 class ConfigDialog : public wxDialog
 {
@@ -39,6 +40,8 @@ public:
        ConfigDialog (wxWindow *);
 
 private:
+       void set_language_changed (wxCommandEvent &);
+       void language_changed (wxCommandEvent &);
        void tms_ip_changed (wxCommandEvent &);
        void tms_path_changed (wxCommandEvent &);
        void tms_user_changed (wxCommandEvent &);
@@ -55,7 +58,20 @@ private:
        void server_selection_changed (wxListEvent &);
 
        void add_server_to_control (ServerDescription *);
-       
+       void setup_language_sensitivity ();
+
+       void make_misc_panel ();
+       void make_tms_panel ();
+       void make_ab_panel ();
+       void make_servers_panel ();
+
+       wxNotebook* _notebook;
+       wxPanel* _misc_panel;
+       wxPanel* _tms_panel;
+       wxPanel* _ab_panel;
+       wxPanel* _servers_panel;
+       wxCheckBox* _set_language;
+       wxChoice* _language;
        wxTextCtrl* _tms_ip;
        wxTextCtrl* _tms_path;
        wxTextCtrl* _tms_user;