X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.h;h=f6ab1a567efed8e56be5c685aac38f61c88adc7b;hb=3f5b9a71f980525481251461f9c3d63806972470;hp=e502c6f45cd2922e3d9fe90c32fe7553c67d83a6;hpb=3e12c68dc0451e73b5bc1a84d1d70f4999f7b4b5;p=dcpomatic.git diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index e502c6f45..f6ab1a567 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -40,6 +40,10 @@ public: void set_film (boost::shared_ptr); + DCPTime position () const { + return _position; + } + private: void paint_panel (); void panel_sized (wxSizeEvent &); @@ -52,7 +56,8 @@ private: void back_clicked (); void forward_clicked (); void player_changed (bool); - void set_position_text (); + void update_position_label (); + void update_position_slider (); void get (DCPTime, bool); void refresh_panel (); void setup_sensitivity ();