ile-de-test/addons/zylann.hterrain/tools/texture_editor/texture_editor.tscn

49 lines
1.5 KiB
Text
Raw Permalink Normal View History

2023-10-30 08:24:26 +00:00
[gd_scene load_steps=3 format=2]
2023-10-05 18:02:23 +00:00
2023-10-30 08:24:26 +00:00
[ext_resource path="res://addons/zylann.hterrain/tools/texture_editor/texture_editor.gd" type="Script" id=1]
[ext_resource path="res://addons/zylann.hterrain/tools/texture_editor/texture_list.tscn" type="PackedScene" 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-30 08:24:26 +00:00
custom_minimum_size = Vector2( 100, 0 )
2023-10-05 18:02:23 +00:00
size_flags_horizontal = 3
2023-10-30 08:24:26 +00:00
script = ExtResource( 1 )
2023-10-05 18:02:23 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
2023-10-30 08:24:26 +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"
[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"]