summaryrefslogtreecommitdiff
path: root/editor/plugins/tile_set_editor_plugin.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-07 22:33:06 +0100
committerGitHub <noreply@github.com>2018-12-07 22:33:06 +0100
commit49ac23e29f2df7f4bc50fba85e460cecda82cc8f (patch)
treedde3766e86d723190e54de65507f5a248dd26ad6 /editor/plugins/tile_set_editor_plugin.h
parent0611b674c19f2eb9cc6baaee25cf7c8146c643fb (diff)
parent69f6f787c07f0c9e6cf1a5a161999585e180533b (diff)
Merge pull request #19914 from guilhermefelipecgs/add_z_index_autotile
Add Z-Index for Autotile
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.h')
-rw-r--r--editor/plugins/tile_set_editor_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.h b/editor/plugins/tile_set_editor_plugin.h
index e713818c70..276e23f9ee 100644
--- a/editor/plugins/tile_set_editor_plugin.h
+++ b/editor/plugins/tile_set_editor_plugin.h
@@ -71,6 +71,7 @@ class TileSetEditor : public HSplitContainer {
EDITMODE_BITMASK,
EDITMODE_PRIORITY,
EDITMODE_ICON,
+ EDITMODE_Z_INDEX,
EDITMODE_MAX
};
@@ -138,6 +139,7 @@ class TileSetEditor : public HSplitContainer {
VSeparator *separator_delete;
VSeparator *separator_grid;
SpinBox *spin_priority;
+ SpinBox *spin_z_index;
WorkspaceMode workspace_mode;
EditMode edit_mode;
int current_tile;
@@ -178,6 +180,7 @@ private:
void _on_workspace_input(const Ref<InputEvent> &p_ie);
void _on_tool_clicked(int p_tool);
void _on_priority_changed(float val);
+ void _on_z_index_changed(float val);
void _on_grid_snap_toggled(bool p_val);
void _set_snap_step(Vector2 p_val);
void _set_snap_off(Vector2 p_val);