summaryrefslogtreecommitdiffstats
path: root/editor/plugins/tiles/tile_map_editor.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-11-10 02:27:37 +0100
committerkobewi <kobewi4e@gmail.com>2022-01-26 13:58:32 +0100
commite793331cd71f0fd147d22f588a6afa170e17f4a9 (patch)
tree5646a9b81727edda181f45d952d3bff78836a37b /editor/plugins/tiles/tile_map_editor.h
parent672363f295495478ef7d03ea00878b8ebfbdb430 (diff)
downloadredot-engine-e793331cd71f0fd147d22f588a6afa170e17f4a9.tar.gz
Allow sorting tileset sources
Diffstat (limited to 'editor/plugins/tiles/tile_map_editor.h')
-rw-r--r--editor/plugins/tiles/tile_map_editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.h b/editor/plugins/tiles/tile_map_editor.h
index b1bee03211..6fa0d01612 100644
--- a/editor/plugins/tiles/tile_map_editor.h
+++ b/editor/plugins/tiles/tile_map_editor.h
@@ -145,6 +145,7 @@ private:
Label *invalid_source_label;
ItemList *sources_list;
+ MenuButton *source_sort_button;
Ref<Texture2D> missing_atlas_texture_icon;
void _update_tile_set_sources_list();
@@ -170,6 +171,7 @@ private:
void _tile_alternatives_control_gui_input(const Ref<InputEvent> &p_event);
void _update_atlas_view();
+ void _set_source_sort(int p_sort);
// Scenes collection sources.
ItemList *scene_tiles_list;