diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-11-21 22:38:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-08 21:56:47 +0100 |
| commit | b3b371294ed5e6cc18ef64ba1b06ca76726b903a (patch) | |
| tree | 08ecb920e3aef37a3aa6adef501b35c85eac018b /src/wx/film_viewer.h | |
| parent | 7f5d317d3ba2bdb1838e942c436ad9f5de321bb4 (diff) | |
Remove some friends from FilmViewer.
Diffstat (limited to 'src/wx/film_viewer.h')
| -rw-r--r-- | src/wx/film_viewer.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 21195e747..ec481f34e 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -92,7 +92,11 @@ public: void slow_refresh (); + dcpomatic::DCPTime time () const; + boost::optional<dcpomatic::DCPTime> audio_time () const; + int dropped () const; + int gets () const; int audio_callback (void* out, unsigned int frames); @@ -107,10 +111,6 @@ public: } #endif - int gets () const { - return _gets; - } - StateTimer const & state_timer () const { return _video_view->state_timer (); } @@ -143,11 +143,6 @@ public: private: - /* XXX_b: to remove */ - friend class SimpleVideoView; - friend class GLVideoView; - friend class VideoView; - void video_view_sized (); void calculate_sizes (); void player_change (ChangeType type, int, bool); @@ -158,8 +153,6 @@ private: void config_changed (Config::Property); void film_length_change (); - dcpomatic::DCPTime time () const; - boost::optional<dcpomatic::DCPTime> audio_time () const; dcpomatic::DCPTime uncorrected_time () const; Frame average_latency () const; @@ -192,7 +185,6 @@ private: ClosedCaptionsDialog* _closed_captions_dialog; bool _outline_content; - Eyes _eyes; /** true to pad the viewer panel with black, false to use the normal window background colour. */ @@ -202,8 +194,6 @@ private: bool _background_image; #endif - int _gets; - /** true if an get() is required next time we are idle */ bool _idle_get; |
