X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.h;h=189b379bf3beeaa68f43a2d343220e307d891ece;hb=40b654453c2ce0b266f43c36f1b9a5d1705f983c;hp=52876030cc9017a9aa31e8ed64709dd0cd2019bd;hpb=ee77b3cf5f59f775e75e628aa28e8f2f9f941530;p=dcpomatic.git diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 52876030c..189b379bf 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2014 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ class wxToggleButton; class FFmpegPlayer; class Image; class RGBPlusAlphaImage; -class PlayerImage; +class PlayerVideo; /** @class FilmViewer * @brief A wx widget to view a preview of a Film. @@ -52,7 +52,7 @@ private: void back_clicked (); void forward_clicked (); void player_changed (bool); - void set_position_text (DCPTime); + void set_position_text (); void get (DCPTime, bool); boost::shared_ptr _film; @@ -75,4 +75,9 @@ private: dcp::Size _out_size; /** Size of the panel that we have available */ dcp::Size _panel_size; + /** true if the last call to ::get() was specified to be accurate; + * this is used so that when re-fetching the current frame we + * can get the same one that we got last time. + */ + bool _last_get_accurate; };