mirror of
https://github.com/Relintai/wfc_module_samples.git
synced 2024-11-13 12:47:17 +01:00
69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://TextureRect.gd" type="Script" id=1]
|
|
|
|
[node name="Control" type="PanelContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
|
margin_left = 7.0
|
|
margin_top = 7.0
|
|
margin_right = 1017.0
|
|
margin_bottom = 593.0
|
|
|
|
[node name="VBoxContainer" type="GridContainer" parent="VBoxContainer2"]
|
|
margin_right = 1010.0
|
|
margin_bottom = 562.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer2/VBoxContainer"]
|
|
margin_right = 300.0
|
|
margin_bottom = 300.0
|
|
rect_min_size = Vector2( 300, 300 )
|
|
expand = true
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2"]
|
|
margin_top = 566.0
|
|
margin_right = 1010.0
|
|
margin_bottom = 586.0
|
|
alignment = 1
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer2/HBoxContainer"]
|
|
margin_left = 340.0
|
|
margin_right = 380.0
|
|
margin_bottom = 20.0
|
|
text = "Prev"
|
|
|
|
[node name="Button2" type="Button" parent="VBoxContainer2/HBoxContainer"]
|
|
margin_left = 384.0
|
|
margin_right = 426.0
|
|
margin_bottom = 20.0
|
|
text = "Next"
|
|
|
|
[node name="Control" type="Control" parent="VBoxContainer2/HBoxContainer"]
|
|
margin_left = 430.0
|
|
margin_right = 530.0
|
|
margin_bottom = 20.0
|
|
rect_min_size = Vector2( 100, 0 )
|
|
|
|
[node name="Button3" type="Button" parent="VBoxContainer2/HBoxContainer"]
|
|
margin_left = 534.0
|
|
margin_right = 623.0
|
|
margin_bottom = 20.0
|
|
text = "Overlapping"
|
|
|
|
[node name="Button4" type="Button" parent="VBoxContainer2/HBoxContainer"]
|
|
margin_left = 627.0
|
|
margin_right = 670.0
|
|
margin_bottom = 20.0
|
|
disabled = true
|
|
text = "Tiled"
|
|
|
|
[connection signal="pressed" from="VBoxContainer2/HBoxContainer/Button" to="VBoxContainer2/VBoxContainer/TextureRect" method="_on_prev_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer2/HBoxContainer/Button2" to="VBoxContainer2/VBoxContainer/TextureRect" method="_on_next_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer2/HBoxContainer/Button3" to="VBoxContainer2/VBoxContainer/TextureRect" method="_on_overlapping_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer2/HBoxContainer/Button4" to="VBoxContainer2/VBoxContainer/TextureRect" method="_on_tiled_pressed"]
|