diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-15 11:19:20 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-15 11:19:20 -0400 |
commit | 3e989517ec46c40a82671620577c40765c94a41f (patch) | |
tree | b7732fafbae6cca98290f91d869504d41c536539 /tools/mapedit/src/frame.h | |
parent | b563953a4846bab720cae17ef4ab5a8296730c7c (diff) | |
download | therapy-3e989517ec46c40a82671620577c40765c94a41f.tar.gz therapy-3e989517ec46c40a82671620577c40765c94a41f.tar.bz2 therapy-3e989517ec46c40a82671620577c40765c94a41f.zip |
Added basic ability to set tiles in map editor
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 | ||