LandGrifter/addons/editor_helper/dock.tscn
2025-02-10 06:18:56 +01:00

108 lines
4.3 KiB
Text

[gd_scene load_steps=12 format=3 uid="uid://d1bj8t8yjv2uj"]
[ext_resource type="Texture2D" uid="uid://d21g7jrsdyc8p" path="res://addons/editor_helper/Up.svg" id="1_pbfaa"]
[ext_resource type="Texture2D" uid="uid://djvtp1nbp5ib5" path="res://addons/editor_helper/New.svg" id="1_py207"]
[ext_resource type="Script" path="res://addons/editor_helper/dock.gd" id="1_t1280"]
[ext_resource type="Texture2D" uid="uid://d3dtusyl30nq0" path="res://addons/editor_helper/Collapse.svg" id="2_d6cq4"]
[ext_resource type="Texture2D" uid="uid://bqmald1jy1a2c" path="res://addons/editor_helper/Down.svg" id="2_ek7b6"]
[ext_resource type="Texture2D" uid="uid://cg40j0yoi1sq0" path="res://addons/editor_helper/Expand.svg" id="3_73lev"]
[ext_resource type="Texture2D" uid="uid://xybiqt1dm6of" path="res://addons/editor_helper/NewLayer.svg" id="3_iorsj"]
[ext_resource type="Texture2D" uid="uid://71btnu3srsav" path="res://addons/editor_helper/TileMap.svg" id="3_ri7dm"]
[ext_resource type="Texture2D" uid="uid://dhbqj6pa3geas" path="res://addons/editor_helper/HeightMap.svg" id="4_ie2iw"]
[ext_resource type="Texture2D" uid="uid://df52p7ftdm52e" path="res://addons/editor_helper/Refresh.svg" id="8_aph12"]
[ext_resource type="Texture2D" uid="uid://bjaym0poii0lp" path="res://addons/editor_helper/BasePlate.svg" id="10_l2bcy"]
[node name="Mapping" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_t1280")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="New" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Create new map"
icon = ExtResource("1_py207")
expand_icon = true
[node name="New Layer" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Create new layer"
icon = ExtResource("3_iorsj")
expand_icon = true
[node name="Minify" type="Button" parent="VBoxContainer"]
layout_mode = 2
tooltip_text = "Removes editor-only elements from the map."
text = "Minify map"
icon = ExtResource("2_d6cq4")
expand_icon = true
[node name="Expand" type="Button" parent="VBoxContainer"]
layout_mode = 2
tooltip_text = "Re-adds editor-only elements to the map."
text = "Expand map"
icon = ExtResource("3_73lev")
expand_icon = true
[node name="Current Layer" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Current layer: N/A ¯\\_(ツ)_/¯"
horizontal_alignment = 1
[node name="Up" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Go up a layer"
icon = ExtResource("1_pbfaa")
expand_icon = true
[node name="Down" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Go down a layer"
icon = ExtResource("2_ek7b6")
expand_icon = true
[node name="Edit 2D" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Edit 2D TileMap"
icon = ExtResource("3_ri7dm")
expand_icon = true
[node name="Edit 3D" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Edit 3D HeightMap"
icon = ExtResource("4_ie2iw")
expand_icon = true
[node name="Update" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Update projected map"
icon = ExtResource("8_aph12")
expand_icon = true
[node name="Create Baseplate" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Create HeightMap baseplate"
icon = ExtResource("10_l2bcy")
expand_icon = true
[connection signal="pressed" from="VBoxContainer/New" to="." method="_on_new_pressed"]
[connection signal="pressed" from="VBoxContainer/New Layer" to="." method="_on_new_layer_pressed"]
[connection signal="pressed" from="VBoxContainer/Minify" to="." method="_on_minify_pressed"]
[connection signal="pressed" from="VBoxContainer/Expand" to="." method="_on_expand_pressed"]
[connection signal="pressed" from="VBoxContainer/Up" to="." method="_on_up_pressed"]
[connection signal="pressed" from="VBoxContainer/Down" to="." method="_on_down_pressed"]
[connection signal="pressed" from="VBoxContainer/Edit 2D" to="." method="_on_edit_2d_pressed"]
[connection signal="pressed" from="VBoxContainer/Edit 3D" to="." method="_on_edit_3d_pressed"]
[connection signal="pressed" from="VBoxContainer/Update" to="." method="_on_update_pressed"]
[connection signal="pressed" from="VBoxContainer/Create Baseplate" to="." method="_on_create_baseplate_pressed"]