summaryrefslogtreecommitdiff
path: root/src/wx/closed_captions_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-21 22:38:33 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commitb3b371294ed5e6cc18ef64ba1b06ca76726b903a (patch)
tree08ecb920e3aef37a3aa6adef501b35c85eac018b /src/wx/closed_captions_dialog.h
parent7f5d317d3ba2bdb1838e942c436ad9f5de321bb4 (diff)
Remove some friends from FilmViewer.
Diffstat (limited to 'src/wx/closed_captions_dialog.h')
-rw-r--r--src/wx/closed_captions_dialog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/closed_captions_dialog.h b/src/wx/closed_captions_dialog.h
index fb4e9d59b..5c366ca7b 100644
--- a/src/wx/closed_captions_dialog.h
+++ b/src/wx/closed_captions_dialog.h
@@ -31,11 +31,12 @@ class ClosedCaptionsDialog : public wxDialog
public:
explicit ClosedCaptionsDialog (wxWindow* parent, FilmViewer* viewer);
- void update (dcpomatic::DCPTime);
void clear ();
void set_film_and_butler (boost::shared_ptr<Film>, boost::weak_ptr<Butler>);
private:
+ void shown (wxShowEvent);
+ void update ();
void paint ();
void track_selected ();
@@ -47,5 +48,5 @@ private:
std::vector<wxString> _lines;
std::vector<DCPTextTrack> _tracks;
boost::weak_ptr<Butler> _butler;
- dcpomatic::DCPTime _last_update;
+ wxTimer _timer;
};