summary refs log tree commit diff stats
path: root/tools/mapedit/src/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mapedit/src/widget.h')
-rw-r--r--tools/mapedit/src/widget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mapedit/src/widget.h b/tools/mapedit/src/widget.h index a660f82..34627bc 100644 --- a/tools/mapedit/src/widget.h +++ b/tools/mapedit/src/widget.h
@@ -29,6 +29,7 @@ class MapeditWidget : public wxScrolledWindow {
29 void SetEditMode(EditMode editMode); 29 void SetEditMode(EditMode editMode);
30 void StartAddingEntity(MapObject* object); 30 void StartAddingEntity(MapObject* object);
31 void CancelAddingEntity(); 31 void CancelAddingEntity();
32 void SetMap(Map* map);
32 33
33 MapeditFrame* frame; 34 MapeditFrame* frame;
34 35
@@ -46,7 +47,7 @@ class MapeditWidget : public wxScrolledWindow {
46 void SetTile(wxPoint pos); 47 void SetTile(wxPoint pos);
47 void SetZoomSize(int zoom); 48 void SetZoomSize(int zoom);
48 49
49 Map* const map = nullptr; 50 Map* map = nullptr;
50 wxBitmap tiles; 51 wxBitmap tiles;
51 TileWidget* tileWidget; 52 TileWidget* tileWidget;
52 bool mouseIsDown = false; 53 bool mouseIsDown = false;