projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Collator for recipients search (#2426).
[dcpomatic.git]
/
src
/
wx
/
controls.h
diff --git
a/src/wx/controls.h
b/src/wx/controls.h
index 9a22d770908ae6d6e581fbce6427b59c4389ba72..f04f3aab6c60cc27bb4a02d7858131930b16fdb5 100644
(file)
--- a/
src/wx/controls.h
+++ b/
src/wx/controls.h
@@
-24,23
+24,25
@@
#include "lib/dcpomatic_time.h"
#include "lib/dcpomatic_time.h"
-#include "lib/types.h"
#include "lib/film.h"
#include "lib/film.h"
-#include
"lib/warnings.h"
-
DCPOMATIC
_DISABLE_WARNINGS
+#include
<dcp/warnings.h>
+
LIBDCP
_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
-
DCPOMATIC
_ENABLE_WARNINGS
+
LIBDCP
_ENABLE_WARNINGS
#include <boost/signals2.hpp>
#include <boost/signals2.hpp>
-class FilmViewer;
-class Film;
+class CheckBox;
class ClosedCaptionsDialog;
class Content;
class ClosedCaptionsDialog;
class Content;
+class ContentView;
+class Film;
+class FilmViewer;
+class MarkersPanel;
class PlayerVideo;
class PlayerVideo;
-class wxToggleButton;
+
class wxListCtrl;
class wxListCtrl;
-class
ContentView
;
+class
wxToggleButton
;
namespace dcp {
namespace dcp {
@@
-53,11
+55,10
@@
class Controls : public wxPanel
public:
Controls (
wxWindow* parent,
public:
Controls (
wxWindow* parent,
-
std::shared_ptr<FilmViewer>
,
+
FilmViewer &
,
bool editor_controls = true
);
bool editor_controls = true
);
- virtual void log (wxString) {}
virtual void set_film (std::shared_ptr<Film> film);
virtual void play () {};
virtual void set_film (std::shared_ptr<Film> film);
virtual void play () {};
@@
-78,8
+79,9
@@
protected:
wxSizer* _v_sizer;
wxBoxSizer* _button_sizer;
std::shared_ptr<Film> _film;
wxSizer* _v_sizer;
wxBoxSizer* _button_sizer;
std::shared_ptr<Film> _film;
+ MarkersPanel* _markers;
wxSlider* _slider;
wxSlider* _slider;
-
std::shared_ptr<FilmViewer>
_viewer;
+
FilmViewer&
_viewer;
boost::optional<std::string> _active_job;
private:
boost::optional<std::string> _active_job;
private:
@@
-106,9
+108,9
@@
private:
bool _slider_being_moved;
bool _slider_being_moved;
-
wx
CheckBox* _outline_content;
+ CheckBox* _outline_content;
wxChoice* _eye;
wxChoice* _eye;
-
wx
CheckBox* _jump_to_selected;
+ CheckBox* _jump_to_selected;
wxButton* _rewind_button;
wxButton* _back_button;
wxButton* _forward_button;
wxButton* _rewind_button;
wxButton* _back_button;
wxButton* _forward_button;