summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/subtitle_view.h')
-rw-r--r--src/wx/subtitle_view.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wx/subtitle_view.h b/src/wx/subtitle_view.h
index 43a622705..94ef52171 100644
--- a/src/wx/subtitle_view.h
+++ b/src/wx/subtitle_view.h
@@ -24,18 +24,23 @@
#include <wx/listctrl.h>
class Decoder;
+class FilmViewer;
class SubtitleView : public wxDialog
{
public:
- SubtitleView (wxWindow *, boost::shared_ptr<Film>, boost::shared_ptr<Decoder>, DCPTime position);
+ SubtitleView (wxWindow *, boost::shared_ptr<Film>, boost::shared_ptr<Content> content, boost::shared_ptr<Decoder>, FilmViewer* viewer);
private:
void data_start (ContentTextSubtitle cts);
void data_stop (ContentTime time);
+ void subtitle_selected (wxListEvent &);
wxListCtrl* _list;
int _subs;
boost::optional<FrameRateChange> _frc;
boost::optional<int> _last_count;
+ std::vector<ContentTime> _start_times;
+ boost::weak_ptr<Content> _content;
+ FilmViewer* _film_viewer;
};