summaryrefslogtreecommitdiff
path: root/src/wx/film_editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-20 00:09:58 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-20 00:09:58 +0100
commit71cb2c8b03be7a246567631c637347d871c9c82d (patch)
treee0aa51ebfd1027e20ee08aa40aec0d18536fdd4d /src/wx/film_editor.h
parent11c54ca7ffb9f4b70dff6414b8da2099597b0d4d (diff)
Hopefully sensitivity is a bit tidier.
Diffstat (limited to 'src/wx/film_editor.h')
-rw-r--r--src/wx/film_editor.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h
index 751ed0890..66913643e 100644
--- a/src/wx/film_editor.h
+++ b/src/wx/film_editor.h
@@ -36,10 +36,7 @@ class Film;
class TimelineDialog;
class Ratio;
class Timecode;
-class TimingPanel;
-class SubtitlePanel;
-class AudioPanel;
-class VideoPanel;
+class FilmEditorPanel;
/** @class FilmEditor
* @brief A wx widget to edit a film's metadata, and perform various functions.
@@ -69,10 +66,6 @@ public:
boost::shared_ptr<AudioContent> selected_audio_content ();
boost::shared_ptr<SubtitleContent> selected_subtitle_content ();
- bool generally_sensitive () const {
- return _generally_sensitive;
- }
-
private:
void make_dcp_panel ();
void make_content_panel ();
@@ -101,7 +94,7 @@ private:
void film_changed (Film::Property);
void film_content_changed (boost::weak_ptr<Content>, int);
- void set_things_sensitive (bool);
+ void set_general_sensitivity (bool);
void setup_dcp_name ();
void setup_content ();
void setup_container ();
@@ -109,10 +102,11 @@ private:
void active_jobs_changed (bool);
- VideoPanel* _video_panel;
- AudioPanel* _audio_panel;
- SubtitlePanel* _subtitle_panel;
- TimingPanel* _timing_panel;
+ FilmEditorPanel* _video_panel;
+ FilmEditorPanel* _audio_panel;
+ FilmEditorPanel* _subtitle_panel;
+ FilmEditorPanel* _timing_panel;
+ std::list<FilmEditorPanel *> _panels;
wxNotebook* _main_notebook;
wxNotebook* _content_notebook;