#include "lib/dcpomatic_time.h"
#include "lib/film.h"
-#include "lib/types.h"
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
#include <boost/signals2.hpp>
+class CheckBox;
class ClosedCaptionsDialog;
class Content;
class ContentView;
public:
Controls (
wxWindow* parent,
- std::shared_ptr<FilmViewer>,
+ FilmViewer &,
bool editor_controls = true
);
std::shared_ptr<Film> _film;
MarkersPanel* _markers;
wxSlider* _slider;
- std::weak_ptr<FilmViewer> _viewer;
+ FilmViewer& _viewer;
boost::optional<std::string> _active_job;
private:
bool _slider_being_moved;
- wxCheckBox* _outline_content;
+ CheckBox* _outline_content;
wxChoice* _eye;
- wxCheckBox* _jump_to_selected;
+ CheckBox* _jump_to_selected;
wxButton* _rewind_button;
wxButton* _back_button;
wxButton* _forward_button;