projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Supporters update.
[dcpomatic.git]
/
src
/
wx
/
film_name_location_dialog.h
diff --git
a/src/wx/film_name_location_dialog.h
b/src/wx/film_name_location_dialog.h
index f2f0826803c3ec98ec1deddc13ea4252f1b2eb07..29fcd338495e3fc832bf845148cd49630e37d73a 100644
(file)
--- a/
src/wx/film_name_location_dialog.h
+++ b/
src/wx/film_name_location_dialog.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2012-20
14
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-20
21
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,21
+18,23
@@
*/
*/
-#include "wx_util.h"
+
#include "table_dialog.h"
#include "table_dialog.h"
+#include "wx_util.h"
#include "lib/warnings.h"
DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/filepicker.h>
DCPOMATIC_ENABLE_WARNINGS
#include "lib/warnings.h"
DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/filepicker.h>
DCPOMATIC_ENABLE_WARNINGS
+
class DirPickerCtrl;
class DirPickerCtrl;
+
class FilmNameLocationDialog : public TableDialog
{
public:
FilmNameLocationDialog (wxWindow *, wxString title, bool offer_templates);
class FilmNameLocationDialog : public TableDialog
{
public:
FilmNameLocationDialog (wxWindow *, wxString title, bool offer_templates);
- ~FilmNameLocationDialog ();
boost::filesystem::path path () const;
bool check_path ();
boost::filesystem::path path () const;
bool check_path ();
@@
-40,6
+42,8
@@
public:
private:
void use_template_clicked ();
private:
void use_template_clicked ();
+ void setup_sensitivity ();
+ void folder_changed ();
wxTextCtrl* _name;
#ifdef DCPOMATIC_USE_OWN_PICKER
wxTextCtrl* _name;
#ifdef DCPOMATIC_USE_OWN_PICKER
@@
-51,3
+55,4
@@
private:
wxChoice* _template_name;
static boost::optional<boost::filesystem::path> _directory;
};
wxChoice* _template_name;
static boost::optional<boost::filesystem::path> _directory;
};
+