From 87fad0ab3ef505f59ddc4e944591cf8ebaf8e3f6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Dec 2024 01:58:15 +0100 Subject: Separate KDM output options yet further. Trying here to get them to fit vertically in 768 pixels. --- src/wx/kdm_output_panel.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/wx/kdm_output_panel.cc') diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc index 3788c3fce..30660c6af 100644 --- a/src/wx/kdm_output_panel.cc +++ b/src/wx/kdm_output_panel.cc @@ -128,6 +128,13 @@ KDMOutputPanel::create_details_widgets(wxWindow* parent) _advanced = new Button(parent, _("Advanced...")); _annotation_text = new wxTextCtrl(parent, wxID_ANY); + _advanced->Bind(wxEVT_BUTTON, boost::bind (&KDMOutputPanel::advanced_clicked, this)); +} + + +void +KDMOutputPanel::create_name_format_widgets(wxWindow* parent) +{ _container_name_format = new NameFormatEditor(parent, Config::instance()->kdm_container_name_format(), dcp::NameFormat::Map(), dcp::NameFormat::Map(), ""); dcp::NameFormat::Map titles; @@ -143,8 +150,6 @@ KDMOutputPanel::create_details_widgets(wxWindow* parent) ex['b'] = "2012/03/15 12:30"; ex['e'] = "2012/03/22 02:30"; _filename_format = new NameFormatEditor(parent, Config::instance()->kdm_filename_format(), titles, ex, ".xml"); - - _advanced->Bind(wxEVT_BUTTON, boost::bind (&KDMOutputPanel::advanced_clicked, this)); } -- cgit v1.2.3