From 2a569aa08d8827a9a14dcd6db2c4ea1bbc8a32fd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 28 Dec 2024 23:25:09 +0100 Subject: Split KDMOutputPanel into TallKDMOutputPanel and a base. The TallKDMOutputPanel is just responsible for layout out the controls. --- src/wx/kdm_output_panel.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'src/wx/kdm_output_panel.h') 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 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 _forensic_mark_audio_up_to; + wxButton* _add_email_addresses; + bool _forensic_mark_video = true; + bool _forensic_mark_audio = true; + boost::optional _forensic_mark_audio_up_to = 12; std::vector _extra_addresses; + +private: + void kdm_write_type_changed (); + void advanced_clicked (); + void write_to_changed (); + void email_changed (); + void add_email_addresses_clicked (); }; -- cgit v1.2.3