X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_panel.h;h=13393f632701edab5a13107a962363ffc1d931da;hb=7f05d8fd54632f72a09b6be1b8b4cf692f290b55;hp=4a41ad1894ea6db435e99efc8dc2fe2dfc3f5ed3;hpb=c370a1f38215f6461cf4366e6885757e7aa2b96a;p=dcpomatic.git diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h index 4a41ad189..13393f632 100644 --- a/src/wx/content_panel.h +++ b/src/wx/content_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2018 Carl Hetherington + Copyright (C) 2012-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -18,17 +18,19 @@ */ -#include -#include +#include "content_menu.h" #include "lib/types.h" #include "lib/film.h" -#include "content_menu.h" +#include +#include +#include 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,8 +100,7 @@ private: void add_files (std::list); std::list panels () const; - wxPanel* _panel; - wxSizer* _sizer; + wxSplitterWindow* _splitter; wxNotebook* _notebook; wxListCtrl* _content; wxButton* _add_file; @@ -116,11 +117,11 @@ private: ContentMenu* _menu; TimelineDialog* _timeline_dialog; wxNotebook* _parent; - ContentList _last_selected; wxWindow* _last_selected_tab; boost::shared_ptr _film; boost::weak_ptr _film_viewer; bool _generally_sensitive; bool _ignore_deselect; + bool _no_check_selection; };