#define DCPOMATIC_CONTROLS_H
+#include "lib/change_signaller.h"
#include "lib/dcpomatic_time.h"
-#include "lib/film.h"
-#include "lib/types.h"
+#include "lib/film_property.h"
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
bool editor_controls = true
);
- virtual void set_film (std::shared_ptr<Film> film);
+ void set_film (std::shared_ptr<Film> film);
virtual void play () {};
virtual void stop () {};
void outline_content_changed ();
void eye_changed ();
void update_position ();
- void film_change (ChangeType, Film::Property);
+ void film_change(ChangeType, FilmProperty);
typedef std::pair<std::shared_ptr<dcp::CPL>, boost::filesystem::path> CPL;
- bool _slider_being_moved;
+ bool _slider_being_moved = false;
- CheckBox* _outline_content;
- wxChoice* _eye;
- CheckBox* _jump_to_selected;
+ CheckBox* _outline_content = nullptr;
+ wxChoice* _eye = nullptr;
+ CheckBox* _jump_to_selected = nullptr;
wxButton* _rewind_button;
wxButton* _back_button;
wxButton* _forward_button;