summaryrefslogtreecommitdiff
path: root/src/wx/content_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-22 00:41:03 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-22 00:41:03 +0100
commitdea824f6ff41384a5e17e23de5434cf84eccff29 (patch)
treea40207882d506417cb5f456135b9ba4394535d00 /src/wx/content_panel.h
parent9cbe57dda759fccfa9dec8a0820114d7d8583a36 (diff)
Display only required tabs, including subs / ccap.
Diffstat (limited to 'src/wx/content_panel.h')
-rw-r--r--src/wx/content_panel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h
index e7d9c95b3..3f0fb17a5 100644
--- a/src/wx/content_panel.h
+++ b/src/wx/content_panel.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -32,6 +32,7 @@ class wxListEvent;
class TimelineDialog;
class FilmEditor;
class ContentSubPanel;
+class CaptionPanel;
class AudioPanel;
class Film;
class FilmViewer;
@@ -104,13 +105,14 @@ private:
wxButton* _timeline;
ContentSubPanel* _video_panel;
AudioPanel* _audio_panel;
- ContentSubPanel* _caption_panel;
+ CaptionPanel* _caption_panel[CAPTION_COUNT];
ContentSubPanel* _timing_panel;
std::list<ContentSubPanel *> _panels;
ContentMenu* _menu;
TimelineDialog* _timeline_dialog;
wxNotebook* _parent;
ContentList _last_selected;
+ wxWindow* _last_selected_tab;
boost::shared_ptr<Film> _film;
FilmViewer* _film_viewer;