summaryrefslogtreecommitdiff
path: root/editor/plugins/tile_map_editor_plugin.h
diff options
context:
space:
mode:
authorMarcus Elg <marcusaccounts@yahoo.se>2020-06-18 10:29:37 +0200
committerMarcus Elg <marcusaccounts@yahoo.se>2020-06-26 15:52:09 +0200
commit8e2608b2d6231626823b1e56cc5a16ddc79272c5 (patch)
tree9b8593076ecb335ee9b34be1a48e4118362436e9 /editor/plugins/tile_map_editor_plugin.h
parent277d2f1f50fe060ad7ff4b2696bf67a742a0ea83 (diff)
Make tilemap lines/rectangles their own tools
Diffstat (limited to 'editor/plugins/tile_map_editor_plugin.h')
-rw-r--r--editor/plugins/tile_map_editor_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.h b/editor/plugins/tile_map_editor_plugin.h
index 1d2ecdb61f..135a9bd5a5 100644
--- a/editor/plugins/tile_map_editor_plugin.h
+++ b/editor/plugins/tile_map_editor_plugin.h
@@ -88,6 +88,8 @@ class TileMapEditor : public VBoxContainer {
MenuButton *options;
Button *paint_button;
+ Button *line_button;
+ Button *rectangle_button;
Button *bucket_fill_button;
Button *picker_button;
Button *select_button;
@@ -106,6 +108,7 @@ class TileMapEditor : public VBoxContainer {
bool selection_active;
bool mouse_over;
+ bool mouse_down;
bool flip_h;
bool flip_v;