summaryrefslogtreecommitdiffstats
path: root/editor/plugins/tiles/tile_map_editor.h
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2021-05-21 17:28:28 +0200
committerGilles Roudière <gilles.roudiere@gmail.com>2021-05-25 10:23:57 +0200
commit78ad206d74d89822d1e1411ad7204c8a3c01efa6 (patch)
treee72e2722fb3b7b4bf4483385108499bfb1253099 /editor/plugins/tiles/tile_map_editor.h
parentaf03e9c83018b47cb82da67e5f8e277b29b82d66 (diff)
downloadredot-engine-78ad206d74d89822d1e1411ad7204c8a3c01efa6.tar.gz
Add TileMap grid editor settings.
Diffstat (limited to 'editor/plugins/tiles/tile_map_editor.h')
-rw-r--r--editor/plugins/tiles/tile_map_editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.h b/editor/plugins/tiles/tile_map_editor.h
index a1fb9af3ef..a6f4ec3021 100644
--- a/editor/plugins/tiles/tile_map_editor.h
+++ b/editor/plugins/tiles/tile_map_editor.h
@@ -82,6 +82,9 @@ private:
void _on_random_tile_checkbox_toggled(bool p_pressed);
void _on_scattering_spinbox_changed(double p_value);
+ Button *toggle_grid_button;
+ void _on_grid_toggled(bool p_pressed);
+
void _update_toolbar();
///// Tilemap editing. /////