projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make filters option respect OK/Cancel.
[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 b765fa9fbef3d524b0d6c9145d67e6c9ceaca4c9..26c1a374afc2dab02ea7487faf0a0eb77bf30f78 100644
(file)
--- a/
src/wx/content_advanced_dialog.h
+++ b/
src/wx/content_advanced_dialog.h
@@
-38,6
+38,9
@@
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;
+ }
private:
void edit_filters ();
private:
void edit_filters ();
@@
-50,6
+53,8
@@
private:
void burnt_subtitle_language_changed ();
std::shared_ptr<Content> _content;
void burnt_subtitle_language_changed ();
std::shared_ptr<Content> _content;
+ bool _filters_allowed = false;
+ std::vector<Filter const*> _filters_list;
wxStaticText* _filters;
wxButton* _filters_button;
wxStaticText* _filters;
wxButton* _filters_button;