summaryrefslogtreecommitdiff
path: root/src/wx/kdm_output_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-29 01:58:15 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-01 01:54:38 +0100
commitaa8bb7b6f6fe2eed323e6f4f978a76a9a067c545 (patch)
treec5aff258a338112877f5bd17a5ee8263c19cf5e1 /src/wx/kdm_output_panel.cc
parent52e7269c9d8dd9e7fcf68ba126eb4ce0a593cf76 (diff)
Separate KDM output options yet further.
Trying here to get them to fit vertically in 768 pixels.
Diffstat (limited to 'src/wx/kdm_output_panel.cc')
-rw-r--r--src/wx/kdm_output_panel.cc9
1 files changed, 7 insertions, 2 deletions
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));
}