projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add FileDialog (wrapping wxFileDialog); currently it sets up the initial path nicely.
[dcpomatic.git]
/
src
/
wx
/
content_advanced_dialog.h
diff --git
a/src/wx/content_advanced_dialog.h
b/src/wx/content_advanced_dialog.h
index 26c1a374afc2dab02ea7487faf0a0eb77bf30f78..517ad04e538426a73eac4068ef98a0b1b495e028 100644
(file)
--- a/
src/wx/content_advanced_dialog.h
+++ b/
src/wx/content_advanced_dialog.h
@@
-19,14
+19,17
@@
*/
*/
+#include <dcp/language_tag.h>
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
LIBDCP_ENABLE_WARNINGS
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
LIBDCP_ENABLE_WARNINGS
+#include <boost/optional.hpp>
#include <memory>
#include <vector>
#include <memory>
#include <vector>
+class CheckBox;
class Content;
class Filter;
class LanguageTagWidget;
class Content;
class Filter;
class LanguageTagWidget;
@@
-38,10
+41,14
@@
public:
ContentAdvancedDialog (wxWindow* parent, std::shared_ptr<Content> content);
bool ignore_video() const;
ContentAdvancedDialog (wxWindow* parent, std::shared_ptr<Content> content);
bool ignore_video() const;
+
std::vector<Filter const*> filters() {
return _filters_list;
}
std::vector<Filter const*> filters() {
return _filters_list;
}
+ boost::optional<double> video_frame_rate() const;
+ boost::optional<dcp::LanguageTag> burnt_subtitle_language() const;
+
private:
void edit_filters ();
void filters_changed (std::vector<Filter const *> filters);
private:
void edit_filters ();
void filters_changed (std::vector<Filter const *> filters);
@@
-50,7
+57,6
@@
private:
void video_frame_rate_changed ();
void setup_sensitivity ();
void burnt_subtitle_changed ();
void video_frame_rate_changed ();
void setup_sensitivity ();
void burnt_subtitle_changed ();
- void burnt_subtitle_language_changed ();
std::shared_ptr<Content> _content;
bool _filters_allowed = false;
std::shared_ptr<Content> _content;
bool _filters_allowed = false;
@@
-60,8
+66,8
@@
private:
wxButton* _filters_button;
wxTextCtrl* _video_frame_rate;
wxButton* _set_video_frame_rate;
wxButton* _filters_button;
wxTextCtrl* _video_frame_rate;
wxButton* _set_video_frame_rate;
-
wx
CheckBox* _burnt_subtitle;
+ CheckBox* _burnt_subtitle;
LanguageTagWidget* _burnt_subtitle_language;
LanguageTagWidget* _burnt_subtitle_language;
-
wx
CheckBox* _ignore_video;
+ CheckBox* _ignore_video;
};
};