diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-14 22:20:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-18 01:17:58 +0100 |
| commit | 0bd80b641875632b9b2b17530d00e4546bba8088 (patch) | |
| tree | 0068ddfe19114322b15cb3ce4382b6ff293c6807 /src/wx/content_panel.h | |
| parent | 9e015bc7e21e6203c2b4a5d1818d5f4c0f725509 (diff) | |
Destroy and re-create content sub-panels as required; fixes weird
artefacts (unhidden bits of UI) on Windows/OS X.
Diffstat (limited to 'src/wx/content_panel.h')
| -rw-r--r-- | src/wx/content_panel.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h index 82cb2ed88..e177c0f1e 100644 --- a/src/wx/content_panel.h +++ b/src/wx/content_panel.h @@ -33,7 +33,9 @@ class TimelineDialog; class FilmEditor; class ContentSubPanel; class TextPanel; +class VideoPanel; class AudioPanel; +class TimingPanel; class Film; class FilmViewer; @@ -91,6 +93,7 @@ private: void setup_sensitivity (); void add_files (std::list<boost::filesystem::path>); + std::list<ContentSubPanel *> panels () const; wxPanel* _panel; wxSizer* _sizer; @@ -103,11 +106,10 @@ private: wxButton* _earlier; wxButton* _later; wxButton* _timeline; - ContentSubPanel* _video_panel; + VideoPanel* _video_panel; AudioPanel* _audio_panel; TextPanel* _text_panel[TEXT_COUNT]; - ContentSubPanel* _timing_panel; - std::list<ContentSubPanel *> _panels; + TimingPanel* _timing_panel; ContentMenu* _menu; TimelineDialog* _timeline_dialog; wxNotebook* _parent; |
