2023-10-28 14:51:33 +00:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://c06ccmyxvkx82"]
|
2023-10-05 18:02:23 +00:00
|
|
|
|
2023-10-28 14:51:33 +00:00
|
|
|
[ext_resource type="Script" path="res://addons/zylann.hterrain/tools/texture_editor/texture_editor.gd" id="1"]
|
|
|
|
[ext_resource type="PackedScene" path="res://addons/zylann.hterrain/tools/texture_editor/texture_list.tscn" id="2"]
|
2023-10-05 18:02:23 +00:00
|
|
|
|
|
|
|
[node name="TextureEditor" type="Control"]
|
|
|
|
offset_right = 352.0
|
|
|
|
offset_bottom = 104.0
|
2023-10-28 14:51:33 +00:00
|
|
|
custom_minimum_size = Vector2(100, 0)
|
2023-10-05 18:02:23 +00:00
|
|
|
size_flags_horizontal = 3
|
2023-10-28 14:51:33 +00:00
|
|
|
script = ExtResource("1")
|
2023-10-05 18:02:23 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2023-10-28 14:51:33 +00:00
|
|
|
[node name="TextureList" parent="." instance=ExtResource("2")]
|
2023-10-05 18:02:23 +00:00
|
|
|
offset_bottom = -26.0
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_top = -24.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="EditButton" type="Button" parent="HBoxContainer"]
|
|
|
|
offset_right = 48.0
|
|
|
|
offset_bottom = 24.0
|
|
|
|
text = "Edit..."
|
|
|
|
|
|
|
|
[node name="ImportButton" type="Button" parent="HBoxContainer"]
|
|
|
|
offset_left = 52.0
|
|
|
|
offset_right = 120.0
|
|
|
|
offset_bottom = 24.0
|
|
|
|
text = "Import..."
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer"]
|
|
|
|
offset_left = 124.0
|
|
|
|
offset_top = 5.0
|
|
|
|
offset_right = 179.0
|
|
|
|
offset_bottom = 19.0
|
|
|
|
text = "Textures"
|
2023-10-28 14:51:33 +00:00
|
|
|
|
2023-10-05 18:02:23 +00:00
|
|
|
[connection signal="item_activated" from="TextureList" to="." method="_on_TextureList_item_activated"]
|
|
|
|
[connection signal="item_selected" from="TextureList" to="." method="_on_TextureList_item_selected"]
|
|
|
|
[connection signal="pressed" from="HBoxContainer/EditButton" to="." method="_on_EditButton_pressed"]
|
|
|
|
[connection signal="pressed" from="HBoxContainer/ImportButton" to="." method="_on_ImportButton_pressed"]
|