diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-10 22:02:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-11 11:58:15 +0100 |
| commit | 23583dfb56181c76126e652042e9d1940367aa27 (patch) | |
| tree | e4e0711ea1b132aacee524e54014497ece5e9916 /src/wx/text_view.cc | |
| parent | 2a0ad7979b208f84916b13f7a37998aa3701e371 (diff) | |
Partial split of film viewer.
Diffstat (limited to 'src/wx/text_view.cc')
| -rw-r--r-- | src/wx/text_view.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/text_view.cc b/src/wx/text_view.cc index 2106a3dec..442335b92 100644 --- a/src/wx/text_view.cc +++ b/src/wx/text_view.cc @@ -27,7 +27,7 @@ #include "lib/string_text_file_content.h" #include "lib/text_decoder.h" #include "text_view.h" -#include "film_viewer.h" +#include "control_film_viewer.h" #include "wx_util.h" using std::list; @@ -35,7 +35,9 @@ using boost::shared_ptr; using boost::bind; using boost::dynamic_pointer_cast; -TextView::TextView (wxWindow* parent, shared_ptr<Film> film, shared_ptr<Content> content, shared_ptr<TextContent> text, shared_ptr<Decoder> decoder, FilmViewer* viewer) +TextView::TextView ( + wxWindow* parent, shared_ptr<Film> film, shared_ptr<Content> content, shared_ptr<TextContent> text, shared_ptr<Decoder> decoder, ControlFilmViewer* viewer + ) : wxDialog (parent, wxID_ANY, _("Captions"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER) , _content (content) , _film_viewer (viewer) |
