projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'subs'
[dcpomatic.git]
/
src
/
wx
/
filter_view.h
diff --git
a/src/wx/filter_view.h
b/src/wx/filter_view.h
index 0c96b0e144bcd7e32d011f1b62b241bbd16e9abe..770b55da600d24b3a6ebb756a0d811042897acc8 100644
(file)
--- a/
src/wx/filter_view.h
+++ b/
src/wx/filter_view.h
@@
-18,30
+18,30
@@
*/
/** @file src/filter_view.h
*/
/** @file src/filter_view.h
- * @brief A
widget
to select FFmpeg filters.
+ * @brief A
panel
to select FFmpeg filters.
*/
*/
-#include <gtkmm.h>
#include <vector>
#include <vector>
+#include <map>
+#include <sigc++/sigc++.h>
+#include <wx/wx.h>
class Filter;
/** @class FilterView
class Filter;
/** @class FilterView
- * @brief A
widget
to select FFmpeg filters.
+ * @brief A
panel
to select FFmpeg filters.
*/
*/
-class FilterView
+class FilterView
: public wxPanel
{
public:
{
public:
- FilterView (std::vector<Filter const *> const &);
+ FilterView (
wxWindow *,
std::vector<Filter const *> const &);
- Gtk::Widget & widget ();
std::vector<Filter const *> active () const;
sigc::signal0<void> ActiveChanged;
private:
std::vector<Filter const *> active () const;
sigc::signal0<void> ActiveChanged;
private:
- void filter_toggled (
Filter const *
);
+ void filter_toggled (
wxCommandEvent &
);
- Gtk::VBox _box;
- std::map<Filter const *, bool> _filters;
+ std::map<Filter const *, wxCheckBox *> _filters;
};
};