projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop Ctrl+A working when the content panel is not visible (#577).
[dcpomatic.git]
/
src
/
wx
/
film_viewer.h
diff --git
a/src/wx/film_viewer.h
b/src/wx/film_viewer.h
index e502c6f45cd2922e3d9fe90c32fe7553c67d83a6..f6ab1a567efed8e56be5c685aac38f61c88adc7b 100644
(file)
--- a/
src/wx/film_viewer.h
+++ b/
src/wx/film_viewer.h
@@
-40,6
+40,10
@@
public:
void set_film (boost::shared_ptr<Film>);
void set_film (boost::shared_ptr<Film>);
+ DCPTime position () const {
+ return _position;
+ }
+
private:
void paint_panel ();
void panel_sized (wxSizeEvent &);
private:
void paint_panel ();
void panel_sized (wxSizeEvent &);
@@
-52,7
+56,8
@@
private:
void back_clicked ();
void forward_clicked ();
void player_changed (bool);
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 ();
void get (DCPTime, bool);
void refresh_panel ();
void setup_sensitivity ();