first commit
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://duelkxj5cpvgg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dssroq58kx6iw" 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"]
|
||||
|
||||
[node name="TextureEditor" type="Control"]
|
||||
offset_right = 352.0
|
||||
offset_bottom = 104.0
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("1")
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="TextureList" parent="." instance=ExtResource("2")]
|
||||
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"]
|
||||
Reference in New Issue
Block a user