From 3e989517ec46c40a82671620577c40765c94a41f Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 15 Mar 2015 11:19:20 -0400 Subject: Added basic ability to set tiles in map editor --- tools/mapedit/src/frame.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tools/mapedit/src/frame.h (limited to 'tools/mapedit/src/frame.h') 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 @@ +#ifndef FRAME_H +#define FRAME_H + +#include + +#ifndef WX_PRECOMP +#include +#endif + +#include "map.h" + +class MapeditFrame : public wxFrame { + public: + MapeditFrame() : MapeditFrame(Map()) {} + MapeditFrame(Map map); + + private: + void OnExit(wxCommandEvent& event); + + Map map; + + wxDECLARE_EVENT_TABLE(); +}; + +#endif -- cgit 1.4.1