From 42c18bdf3bcb61da246e218985cd498dbc24541e Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 17 Mar 2015 17:11:02 -0400 Subject: Splitters in map editor now move as dragged and start at reasonable sizes --- tools/mapedit/src/frame.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/mapedit/src/frame.h') diff --git a/tools/mapedit/src/frame.h b/tools/mapedit/src/frame.h index b0f27e9..ffa6c7d 100644 --- a/tools/mapedit/src/frame.h +++ b/tools/mapedit/src/frame.h @@ -14,6 +14,7 @@ #include #include #include +#include #include "undo.h" class MapPtrCtr : public wxTreeItemData { @@ -65,6 +66,8 @@ class MapeditFrame : public wxFrame { void OnRightClickTree(wxTreeEvent& event); void OnSetStartpos(wxCommandEvent& event); void OnCancelSetStartpos(wxCommandEvent& event); + void OnOneMovingSash(wxSplitterEvent& event); + void OnThreeMovingSash(wxSplitterEvent& event); std::unique_ptr world; Map* currentMap; @@ -73,6 +76,8 @@ class MapeditFrame : public wxFrame { TileWidget* tileEditor; wxToolBar* toolbar; wxMenu* menuFile; + wxSplitterWindow* layout1; + wxSplitterWindow* layout3; // Notebook wxNotebook* notebook; -- cgit 1.4.1