diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-09 01:17:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-10 23:43:55 +0100 |
| commit | 6743eacf57a1209270f4021684425865bb72b00f (patch) | |
| tree | 7177fa161b2bb0202dff085e9d31fcd355e95305 /src/wx/film_viewer.h | |
| parent | 676737031d1957bc39814e7104257b8fe93f11bb (diff) | |
Fix up SimpleVideoView.
Diffstat (limited to 'src/wx/film_viewer.h')
| -rw-r--r-- | src/wx/film_viewer.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 93ca26da3..76917f807 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -105,6 +105,23 @@ public: return _gets; } + /* Some accessors that VideoView classes need */ + dcp::Size out_size () const { + return _out_size; + } + dcp::Size inter_size () const { + return _inter_size; + } + Position<int> inter_position () const { + return _inter_position; + } + bool outline_content () const { + return _outline_content; + } + bool pad_black () const { + return _pad_black; + } + boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged; boost::signals2::signal<void ()> PositionChanged; boost::signals2::signal<void (dcpomatic::DCPTime)> Started; |
