Rename LimitedSplitter -> LimitedContentPanelSplitter.
authorCarl Hetherington <cth@carlh.net>
Wed, 12 Oct 2022 20:47:10 +0000 (22:47 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 14 Oct 2022 09:41:18 +0000 (11:41 +0200)
src/wx/content_panel.cc
src/wx/content_panel.h

index 643efa78764beef9878a3bcceabef8f99ebb61f6..af35e2d3b5a14e99a95dca561d7cdc74ad5bc020 100644 (file)
@@ -73,10 +73,10 @@ using namespace boost::placeholders;
 #endif
 
 
-class LimitedSplitter : public wxSplitterWindow
+class LimitedContentPanelSplitter : public wxSplitterWindow
 {
 public:
-       LimitedSplitter(wxWindow* parent)
+       LimitedContentPanelSplitter(wxWindow* parent)
                : wxSplitterWindow(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_NOBORDER | wxSP_3DSASH | wxSP_LIVE_UPDATE)
        {
                /* This value doesn't really mean much but we just want to stop double-click on the
@@ -84,7 +84,7 @@ public:
                   */
                SetMinimumPaneSize(64);
 
-               Bind(wxEVT_SIZE, boost::bind(&LimitedSplitter::sized, this, _1));
+               Bind(wxEVT_SIZE, boost::bind(&LimitedContentPanelSplitter::sized, this, _1));
        }
 
        bool OnSashPositionChange(int new_position) override
@@ -180,7 +180,7 @@ ContentPanel::ContentPanel(wxNotebook* n, shared_ptr<Film> film, FilmViewer& vie
        , _ignore_deselect (false)
        , _no_check_selection (false)
 {
-       _splitter = new LimitedSplitter (n);
+       _splitter = new LimitedContentPanelSplitter(n);
        _top_panel = new wxPanel (_splitter);
 
        _menu = new ContentMenu (_splitter, _film_viewer);
index 1d303718031e6e1082bb4e8b76772d553b31504d..d1ba1a7603422074c2bb97717bb2b97c2efb407b 100644 (file)
@@ -35,7 +35,7 @@ class ContentSubPanel;
 class Film;
 class FilmEditor;
 class FilmViewer;
-class LimitedSplitter;
+class LimitedContentPanelSplitter;
 class TextPanel;
 class TimelineDialog;
 class TimingPanel;
@@ -115,7 +115,7 @@ private:
 
        std::list<ContentSubPanel *> panels () const;
 
-       LimitedSplitter* _splitter;
+       LimitedContentPanelSplitter* _splitter;
        wxPanel* _top_panel;
        wxNotebook* _notebook;
        wxListCtrl* _content;