summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-12 22:47:10 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-14 11:41:18 +0200
commitf479e6edc5152edfa4b21f85e925b890818817af (patch)
treea4ed5a35459b603e3ab31837e8a270a66299d248 /src
parent13e39a9f48b1a7b94870d4751426ec5cfa10d405 (diff)
Rename LimitedSplitter -> LimitedContentPanelSplitter.
Diffstat (limited to 'src')
-rw-r--r--src/wx/content_panel.cc8
-rw-r--r--src/wx/content_panel.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 643efa787..af35e2d3b 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -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);
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h
index 1d3037180..d1ba1a760 100644
--- a/src/wx/content_panel.h
+++ b/src/wx/content_panel.h
@@ -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;