diff options
Diffstat (limited to 'tools/mapedit/src/frame.h')
-rw-r--r-- | tools/mapedit/src/frame.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/mapedit/src/frame.h b/tools/mapedit/src/frame.h index e5d8562..4d6c3dc 100644 --- a/tools/mapedit/src/frame.h +++ b/tools/mapedit/src/frame.h | |||
@@ -8,16 +8,26 @@ | |||
8 | #endif | 8 | #endif |
9 | 9 | ||
10 | #include "map.h" | 10 | #include "map.h" |
11 | #include "widget.h" | ||
12 | #include "tile_widget.h" | ||
11 | 13 | ||
12 | class MapeditFrame : public wxFrame { | 14 | class MapeditFrame : public wxFrame { |
13 | public: | 15 | public: |
14 | MapeditFrame() : MapeditFrame(Map()) {} | 16 | MapeditFrame() : MapeditFrame(Map()) {} |
15 | MapeditFrame(Map map); | 17 | MapeditFrame(Map map); |
16 | 18 | ||
19 | MapeditWidget* GetMapEditor(); | ||
20 | |||
21 | protected: | ||
22 | void ZoomIn(wxCommandEvent& event); | ||
23 | void ZoomOut(wxCommandEvent& event); | ||
24 | |||
17 | private: | 25 | private: |
18 | void OnExit(wxCommandEvent& event); | 26 | void OnExit(wxCommandEvent& event); |
19 | 27 | ||
20 | Map map; | 28 | Map map; |
29 | MapeditWidget* mapEditor; | ||
30 | TileWidget* tileEditor; | ||
21 | 31 | ||
22 | wxDECLARE_EVENT_TABLE(); | 32 | wxDECLARE_EVENT_TABLE(); |
23 | }; | 33 | }; |