MemR/game/sort/Sort.tscn

169 lines
5.0 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://sort/Sort.gd" type="Script" id=1]
[ext_resource path="res://sort/GifLoader.tscn" type="PackedScene" id=2]
[ext_resource path="res://sort/ScrollImageContainer.gd" type="Script" id=3]
[node name="Sort" type="VBoxContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="HBoxContainer" type="HBoxContainer" parent="."]
margin_right = 900.0
margin_bottom = 900.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ScrollContainer" type="ScrollContainer" parent="HBoxContainer"]
margin_right = 880.0
margin_bottom = 900.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="PanelContainer" parent="HBoxContainer/ScrollContainer"]
margin_right = 14.0
margin_bottom = 14.0
script = ExtResource( 3 )
zoom_slider_path = NodePath("../../ZoomSlider")
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
visible = false
margin_left = 7.0
margin_top = 7.0
margin_right = 7.0
margin_bottom = 7.0
expand = true
stretch_mode = 1
[node name="GifRect" parent="HBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 2 )]
visible = false
margin_top = 4.0
margin_right = 0.0
margin_bottom = 4.0
expand = true
stretch_mode = 1
[node name="ErrorLabel" type="Label" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
visible = false
margin_top = 4.0
margin_bottom = 18.0
[node name="ZoomSlider" type="VSlider" parent="HBoxContainer"]
margin_left = 884.0
margin_right = 900.0
margin_bottom = 900.0
max_value = 5.0
step = 0.0
value = 2.0
allow_greater = true
tick_count = 6
[node name="Categories" type="HBoxContainer" parent="."]
margin_top = 904.0
margin_right = 900.0
margin_bottom = 924.0
size_flags_horizontal = 3
[node name="Categories" type="OptionButton" parent="Categories"]
margin_right = 876.0
margin_bottom = 20.0
size_flags_horizontal = 3
[node name="Add" type="Button" parent="Categories"]
margin_left = 880.0
margin_right = 900.0
margin_bottom = 20.0
text = "+"
[node name="SubCategoies" type="HBoxContainer" parent="."]
margin_top = 928.0
margin_right = 900.0
margin_bottom = 948.0
size_flags_horizontal = 3
[node name="SubCategoies" type="OptionButton" parent="SubCategoies"]
margin_right = 876.0
margin_bottom = 20.0
size_flags_horizontal = 3
[node name="Add" type="Button" parent="SubCategoies"]
margin_left = 880.0
margin_right = 900.0
margin_bottom = 20.0
text = "+"
[node name="Apply" type="Button" parent="."]
margin_top = 952.0
margin_right = 900.0
margin_bottom = 972.0
text = "Apply"
[node name="Skip" type="Button" parent="."]
margin_top = 976.0
margin_right = 900.0
margin_bottom = 996.0
text = "Skip"
[node name="Control" type="Control" parent="."]
margin_top = 1000.0
margin_right = 900.0
margin_bottom = 1000.0
[node name="NewCategoryPopup" type="ConfirmationDialog" parent="Control"]
margin_left = 291.0
margin_top = -404.0
margin_right = 491.0
margin_bottom = -318.0
window_title = "Add New Category"
[node name="VBoxContainer" type="VBoxContainer" parent="Control/NewCategoryPopup"]
margin_left = 8.0
margin_top = 8.0
margin_right = 192.0
margin_bottom = 50.0
[node name="Label" type="Label" parent="Control/NewCategoryPopup/VBoxContainer"]
margin_right = 184.0
margin_bottom = 14.0
text = "Name"
[node name="LineEdit" type="LineEdit" parent="Control/NewCategoryPopup/VBoxContainer"]
margin_top = 18.0
margin_right = 184.0
margin_bottom = 42.0
[node name="NewSubCategoryPopup" type="ConfirmationDialog" parent="Control"]
margin_left = 291.0
margin_top = -404.0
margin_right = 491.0
margin_bottom = -318.0
window_title = "Add Sub New Category"
[node name="VBoxContainer" type="VBoxContainer" parent="Control/NewSubCategoryPopup"]
margin_left = 8.0
margin_top = 8.0
margin_right = 192.0
margin_bottom = 50.0
[node name="Label" type="Label" parent="Control/NewSubCategoryPopup/VBoxContainer"]
margin_right = 184.0
margin_bottom = 14.0
text = "Name"
[node name="LineEdit" type="LineEdit" parent="Control/NewSubCategoryPopup/VBoxContainer"]
margin_top = 18.0
margin_right = 184.0
margin_bottom = 42.0
[connection signal="value_changed" from="HBoxContainer/ZoomSlider" to="HBoxContainer/ScrollContainer/VBoxContainer" method="_on_ZoomSlider_value_changed"]
[connection signal="item_selected" from="Categories/Categories" to="." method="_on_Categories_item_selected"]
[connection signal="pressed" from="Categories/Add" to="." method="_on_Categories_Add_pressed"]
[connection signal="item_selected" from="SubCategoies/SubCategoies" to="." method="_on_SubCategoies_item_selected"]
[connection signal="pressed" from="SubCategoies/Add" to="." method="_on_SubCategoies_Add_pressed"]
[connection signal="pressed" from="Apply" to="." method="_on_Apply_pressed"]
[connection signal="pressed" from="Skip" to="." method="_on_Skip_pressed"]
[connection signal="confirmed" from="Control/NewCategoryPopup" to="." method="_on_NewCategoryPopup_confirmed"]
[connection signal="confirmed" from="Control/NewSubCategoryPopup" to="." method="_on_NewSubCategoryPopup_confirmed"]