diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-09 13:51:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-09 13:51:45 +0000 |
| commit | 39e2134910fc916a45ebddf121664afcbd76cc19 (patch) | |
| tree | 104a75051fc17c3cbe2f4d53b21376b4fe2b6b80 /src/wx/content_panel.h | |
| parent | b62d21ac6da0d253fc5b477b7c5d867b37360994 (diff) | |
Try a draggable splitter in the LHS.
Diffstat (limited to 'src/wx/content_panel.h')
| -rw-r--r-- | src/wx/content_panel.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h index 4a41ad189..9d6e6a8b5 100644 --- a/src/wx/content_panel.h +++ b/src/wx/content_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,17 +18,19 @@ */ -#include <list> -#include <boost/shared_ptr.hpp> +#include "content_menu.h" #include "lib/types.h" #include "lib/film.h" -#include "content_menu.h" +#include <wx/splitter.h> +#include <boost/shared_ptr.hpp> +#include <list> class wxNotebook; class wxPanel; class wxSizer; class wxListCtrl; class wxListEvent; +class wxSplitterWindow; class TimelineDialog; class FilmEditor; class ContentSubPanel; @@ -56,8 +58,8 @@ public: void film_changed (Film::Property p); void film_content_changed (int p); - wxPanel* panel () const { - return _panel; + wxWindow* window () const { + return _splitter; } wxNotebook* notebook () const { @@ -98,7 +100,7 @@ private: void add_files (std::list<boost::filesystem::path>); std::list<ContentSubPanel *> panels () const; - wxPanel* _panel; + wxSplitterWindow* _splitter; wxSizer* _sizer; wxNotebook* _notebook; wxListCtrl* _content; |
