diff options
Diffstat (limited to 'game/addons/zylann.hterrain/tools/texture_editor/texture_editor.tscn')
-rw-r--r-- | game/addons/zylann.hterrain/tools/texture_editor/texture_editor.tscn | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/game/addons/zylann.hterrain/tools/texture_editor/texture_editor.tscn b/game/addons/zylann.hterrain/tools/texture_editor/texture_editor.tscn new file mode 100644 index 0000000..885f344 --- /dev/null +++ b/game/addons/zylann.hterrain/tools/texture_editor/texture_editor.tscn @@ -0,0 +1,48 @@ +[gd_scene load_steps=3 format=2] + +[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] + +[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"] |