summaryrefslogtreecommitdiff
path: root/src/wx/kdm_output_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-28 23:25:09 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-01 01:54:38 +0100
commit2a569aa08d8827a9a14dcd6db2c4ea1bbc8a32fd (patch)
tree74731487d34451c9811949163c669da08e3cdc3d /src/wx/kdm_output_panel.h
parent0073b9b1dd9f916f543012a5f53d37882960527d (diff)
Split KDMOutputPanel into TallKDMOutputPanel and a base.
The TallKDMOutputPanel is just responsible for layout out the controls.
Diffstat (limited to 'src/wx/kdm_output_panel.h')
-rw-r--r--src/wx/kdm_output_panel.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/wx/kdm_output_panel.h b/src/wx/kdm_output_panel.h
index 3b82321c6..087c9d250 100644
--- a/src/wx/kdm_output_panel.h
+++ b/src/wx/kdm_output_panel.h
@@ -70,13 +70,7 @@ public:
boost::signals2::signal<void ()> MethodChanged;
-private:
- void kdm_write_type_changed ();
- void advanced_clicked ();
- void write_to_changed ();
- void email_changed ();
- void add_email_addresses_clicked ();
-
+protected:
KDMChoice* _type;
wxTextCtrl* _annotation_text;
NameFormatEditor* _container_name_format;
@@ -90,9 +84,18 @@ private:
wxRadioButton* _write_flat;
wxRadioButton* _write_folder;
wxRadioButton* _write_zip;
+ wxButton* _advanced;
CheckBox* _email;
- bool _forensic_mark_video;
- bool _forensic_mark_audio;
- boost::optional<int> _forensic_mark_audio_up_to;
+ wxButton* _add_email_addresses;
+ bool _forensic_mark_video = true;
+ bool _forensic_mark_audio = true;
+ boost::optional<int> _forensic_mark_audio_up_to = 12;
std::vector<std::string> _extra_addresses;
+
+private:
+ void kdm_write_type_changed ();
+ void advanced_clicked ();
+ void write_to_changed ();
+ void email_changed ();
+ void add_email_addresses_clicked ();
};