summaryrefslogtreecommitdiff
path: root/src/wx/kdm_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-29 10:40:58 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-29 10:40:58 +0100
commit479cab0437a14f9fbf5949a6334d43eb384168ad (patch)
tree4d1f62db385cffe61b8d18dfd379865dbeb243ad /src/wx/kdm_dialog.h
parent736b3a068ba5a402b541d32f270669e6e1a4e5c4 (diff)
Rearrange KDM window and replace OK/Cancel with Make KDM button.
Diffstat (limited to 'src/wx/kdm_dialog.h')
-rw-r--r--src/wx/kdm_dialog.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h
index 7d64fea77..bae2fc16b 100644
--- a/src/wx/kdm_dialog.h
+++ b/src/wx/kdm_dialog.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -38,28 +38,16 @@ struct CPLSummary;
class KDMDialog : public wxDialog
{
public:
- KDMDialog (wxWindow *, boost::shared_ptr<const Film>);
-
- std::list<boost::shared_ptr<Screen> > screens () const;
- /** @return KDM from time in local time; note that ptime has no time zone information */
- boost::posix_time::ptime from () const;
- /** @return KDM until time in local time; note that ptime has no time zone information */
- boost::posix_time::ptime until () const;
-
- boost::filesystem::path cpl () const;
-
- boost::filesystem::path directory () const;
- bool write_to () const;
- dcp::Formulation formulation () const;
- KDMNameFormat name_format () const;
-
- int ShowModal ();
+ KDMDialog (wxWindow *, boost::shared_ptr<const Film> film);
private:
void setup_sensitivity ();
+ void make_clicked ();
+ boost::weak_ptr<const Film> _film;
ScreensPanel* _screens;
KDMTimingPanel* _timing;
KDMCPLPanel* _cpl;
KDMOutputPanel* _output;
+ wxButton* _make;
};