diff options
Diffstat (limited to 'tools/mapedit/src/widget.h')
| -rw-r--r-- | tools/mapedit/src/widget.h | 7 |
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; | |||
| 16 | class TileWidget; | 16 | class TileWidget; |
| 17 | class Map; | 17 | class Map; |
| 18 | class MapObject; | 18 | class MapObject; |
| 19 | struct MapObjectEntry; | 19 | class 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. | ||
| 83 | wxDECLARE_EVENT(EVT_MAP_SELECTED_ENTITY, wxCommandEvent); | ||
| 79 | 84 | ||
| 80 | #endif | 85 | #endif |
