diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-07-06 14:43:03 +0200 |
---|---|---|
committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-07-21 12:36:37 +0200 |
commit | 5d34a81e52877034295fc79e4f4b01d0cfa7dfb1 (patch) | |
tree | fd6ae48af033bd91e1ed74e9abcd68ea8db39844 /editor/plugins/tiles/tile_map_editor.h | |
parent | b2187797dfe5fd35b50506abf5502449e3f990ee (diff) | |
download | redot-engine-5d34a81e52877034295fc79e4f4b01d0cfa7dfb1.tar.gz |
Implement atlas merging and tile proxies
Diffstat (limited to 'editor/plugins/tiles/tile_map_editor.h')
-rw-r--r-- | editor/plugins/tiles/tile_map_editor.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.h b/editor/plugins/tiles/tile_map_editor.h index a6f4ec3021..236774a06b 100644 --- a/editor/plugins/tiles/tile_map_editor.h +++ b/editor/plugins/tiles/tile_map_editor.h @@ -82,9 +82,6 @@ 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. ///// @@ -300,6 +297,7 @@ class TileMapEditor : public VBoxContainer { GDCLASS(TileMapEditor, VBoxContainer); private: + UndoRedo *undo_redo = EditorNode::get_undo_redo(); bool tileset_changed_needs_update = false; ObjectID tile_map_id; @@ -309,6 +307,12 @@ private: // Toolbar. HBoxContainer *tilemap_toolbar; + Button *toggle_grid_button; + void _on_grid_toggled(bool p_pressed); + + MenuButton *advanced_menu_button; + void _advanced_menu_button_id_pressed(int p_id); + // Bottom panel Label *missing_tileset_label; Tabs *tabs; |