diff options
Diffstat (limited to 'tools/mapedit/src/frame.h')
| -rw-r--r-- | tools/mapedit/src/frame.h | 25 |
1 files changed, 25 insertions, 0 deletions
| diff --git a/tools/mapedit/src/frame.h b/tools/mapedit/src/frame.h new file mode 100644 index 0000000..e5d8562 --- /dev/null +++ b/tools/mapedit/src/frame.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #ifndef FRAME_H | ||
| 2 | #define FRAME_H | ||
| 3 | |||
| 4 | #include <wx/wxprec.h> | ||
| 5 | |||
| 6 | #ifndef WX_PRECOMP | ||
| 7 | #include <wx/wx.h> | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #include "map.h" | ||
| 11 | |||
| 12 | class MapeditFrame : public wxFrame { | ||
| 13 | public: | ||
| 14 | MapeditFrame() : MapeditFrame(Map()) {} | ||
| 15 | MapeditFrame(Map map); | ||
| 16 | |||
| 17 | private: | ||
| 18 | void OnExit(wxCommandEvent& event); | ||
| 19 | |||
| 20 | Map map; | ||
| 21 | |||
| 22 | wxDECLARE_EVENT_TABLE(); | ||
| 23 | }; | ||
| 24 | |||
| 25 | #endif | ||
