diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-17 17:11:02 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-17 17:11:02 -0400 |
commit | 42c18bdf3bcb61da246e218985cd498dbc24541e (patch) | |
tree | 69d96ec419d3f2ae3a18f8d13c1c0dfcd4194822 /tools/mapedit/src/frame.h | |
parent | 5c6d5cf1b4a22ae6d35b9c081bf34afec263ba63 (diff) | |
download | therapy-42c18bdf3bcb61da246e218985cd498dbc24541e.tar.gz therapy-42c18bdf3bcb61da246e218985cd498dbc24541e.tar.bz2 therapy-42c18bdf3bcb61da246e218985cd498dbc24541e.zip |
Splitters in map editor now move as dragged and start at reasonable sizes
Diffstat (limited to 'tools/mapedit/src/frame.h')
-rw-r--r-- | tools/mapedit/src/frame.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ | |||
14 | #include <wx/notebook.h> | 14 | #include <wx/notebook.h> |
15 | #include <memory> | 15 | #include <memory> |
16 | #include <wx/treectrl.h> | 16 | #include <wx/treectrl.h> |
17 | #include <wx/splitter.h> | ||
17 | #include "undo.h" | 18 | #include "undo.h" |
18 | 19 | ||
19 | class MapPtrCtr : public wxTreeItemData { | 20 | class MapPtrCtr : public wxTreeItemData { |
@@ -65,6 +66,8 @@ class MapeditFrame : public wxFrame { | |||
65 | void OnRightClickTree(wxTreeEvent& event); | 66 | void OnRightClickTree(wxTreeEvent& event); |
66 | void OnSetStartpos(wxCommandEvent& event); | 67 | void OnSetStartpos(wxCommandEvent& event); |
67 | void OnCancelSetStartpos(wxCommandEvent& event); | 68 | void OnCancelSetStartpos(wxCommandEvent& event); |
69 | void OnOneMovingSash(wxSplitterEvent& event); | ||
70 | void OnThreeMovingSash(wxSplitterEvent& event); | ||
68 | 71 | ||
69 | std::unique_ptr<World> world; | 72 | std::unique_ptr<World> world; |
70 | Map* currentMap; | 73 | Map* currentMap; |
@@ -73,6 +76,8 @@ class MapeditFrame : public wxFrame { | |||
73 | TileWidget* tileEditor; | 76 | TileWidget* tileEditor; |
74 | wxToolBar* toolbar; | 77 | wxToolBar* toolbar; |
75 | wxMenu* menuFile; | 78 | wxMenu* menuFile; |
79 | wxSplitterWindow* layout1; | ||
80 | wxSplitterWindow* layout3; | ||
76 | 81 | ||
77 | // Notebook | 82 | // Notebook |
78 | wxNotebook* notebook; | 83 | wxNotebook* notebook; |