diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-03-16 11:15:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-16 11:15:41 -0700 |
commit | 6f404efd9a2693c146b20043b540946193298fcd (patch) | |
tree | d11817fa394c91b3330600d8db06e414721caeec /modules/gridmap/grid_map_editor_plugin.h | |
parent | 43f147b5aa8f064961df53b763f7b68e7524d7db (diff) | |
parent | a9ac4c012ca942ec5deeae4a68f1d51432146eae (diff) | |
download | redot-engine-6f404efd9a2693c146b20043b540946193298fcd.tar.gz |
Merge pull request #26309 from bojidar-bg/21536-resize-gridmap-previews
Add search box and size slider to GridMap (similar to TileMap's)
Diffstat (limited to 'modules/gridmap/grid_map_editor_plugin.h')
-rw-r--r-- | modules/gridmap/grid_map_editor_plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/gridmap/grid_map_editor_plugin.h b/modules/gridmap/grid_map_editor_plugin.h index 81a21a76ae..59b8ac13da 100644 --- a/modules/gridmap/grid_map_editor_plugin.h +++ b/modules/gridmap/grid_map_editor_plugin.h @@ -79,6 +79,8 @@ class GridMapEditor : public VBoxContainer { double accumulated_floor_delta; ToolButton *mode_thumbnail; ToolButton *mode_list; + LineEdit *search_box; + HSlider *size_slider; HBoxContainer *spatial_editor_hb; ConfirmationDialog *settings_dialog; VBoxContainer *settings_vbc; @@ -193,6 +195,11 @@ class GridMapEditor : public VBoxContainer { void _update_cursor_instance(); void _update_clip(); + void _text_changed(const String &p_text); + void _sbox_input(const Ref<InputEvent> &p_ie); + + void _icon_size_changed(float p_value); + void _update_duplicate_indicator(); void _duplicate_paste(); void _update_selection_transform(); |