summary refs log tree commit diff stats
path: root/tools/mapedit/src/widget.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-19 11:42:54 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-19 11:42:54 -0400
commit281bdf956a646fd8c9944e9a44f867c984792216 (patch)
treeba0297d2125ac22d22c873e012a8f0604e9e3a86 /tools/mapedit/src/widget.h
parent103587c2d5f9deb20e549a86cdf5023b429cc6a1 (diff)
downloadtherapy-281bdf956a646fd8c9944e9a44f867c984792216.tar.gz
therapy-281bdf956a646fd8c9944e9a44f867c984792216.tar.bz2
therapy-281bdf956a646fd8c9944e9a44f867c984792216.zip
Map editor can now edit properties for objects (breaks main game build)
Diffstat (limited to 'tools/mapedit/src/widget.h')
-rw-r--r--tools/mapedit/src/widget.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/mapedit/src/widget.h b/tools/mapedit/src/widget.h index 864e299..937b699 100644 --- a/tools/mapedit/src/widget.h +++ b/tools/mapedit/src/widget.h
@@ -16,7 +16,7 @@ class MapeditFrame;
16class TileWidget; 16class TileWidget;
17class Map; 17class Map;
18class MapObject; 18class MapObject;
19struct MapObjectEntry; 19class MapObjectEntry;
20 20
21#include "consts.h" 21#include "consts.h"
22 22
@@ -76,5 +76,10 @@ class MapeditWidget : public wxScrolledCanvas {
76 DECLARE_DYNAMIC_CLASS(MapeditWidget) 76 DECLARE_DYNAMIC_CLASS(MapeditWidget)
77 DECLARE_EVENT_TABLE() 77 DECLARE_EVENT_TABLE()
78}; 78};
79
80// sends when an entity is selected OR deselected.
81// client data will be a pointer to the MapObjectEntry if selection.
82// client data will be nullptr if deselection.
83wxDECLARE_EVENT(EVT_MAP_SELECTED_ENTITY, wxCommandEvent);
79 84
80#endif 85#endif