116 lines
3.6 KiB
Text
116 lines
3.6 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://dy3yn2hesb83"]
|
|
|
|
[ext_resource type="Script" uid="uid://ber8skhqnnfa0" path="res://01 - Menus/07 - Window/window.gd" id="1_ykjtc"]
|
|
|
|
[node name="window" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 128.0
|
|
offset_bottom = 128.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_ykjtc")
|
|
|
|
[node name="window" type="Control" parent="."]
|
|
unique_name_in_owner = true
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="ui_background" type="ColorRect" parent="window"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_top = 64.0
|
|
offset_right = 1008.0
|
|
offset_bottom = 912.0
|
|
color = Color(0.047058824, 0.07058824, 0.09803922, 1)
|
|
|
|
[node name="size_right" type="Control" parent="window"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchor_left = 7.8750005
|
|
anchor_top = 3.5620003
|
|
anchor_right = 7.8750005
|
|
anchor_bottom = 3.5620003
|
|
offset_left = 661.0
|
|
offset_top = -142.48001
|
|
offset_right = 725.0
|
|
offset_bottom = 769.52
|
|
|
|
[node name="size_left" type="Control" parent="window"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchor_top = 3.5620003
|
|
anchor_bottom = 3.5620003
|
|
offset_left = -32.0
|
|
offset_top = -142.48001
|
|
offset_right = 32.0
|
|
offset_bottom = 769.52
|
|
|
|
[node name="size_bottom" type="Control" parent="window"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchor_left = 3.9370003
|
|
anchor_top = 7.0620003
|
|
anchor_right = 3.9370003
|
|
anchor_bottom = 7.0620003
|
|
offset_left = -157.48001
|
|
offset_top = 597.52
|
|
offset_right = 850.52
|
|
offset_bottom = 661.52
|
|
|
|
[node name="ui_bar" type="ColorRect" parent="window"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_right = 1008.0
|
|
offset_bottom = 64.0
|
|
color = Color(0.1254902, 0.1764706, 0.22745098, 1)
|
|
|
|
[node name="minimize" type="Button" parent="window/ui_bar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 808.0
|
|
offset_top = 8.0
|
|
offset_right = 856.0
|
|
offset_bottom = 56.0
|
|
text = "-"
|
|
|
|
[node name="close" type="Button" parent="window/ui_bar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 904.0
|
|
offset_top = 8.0
|
|
offset_right = 952.0
|
|
offset_bottom = 56.0
|
|
text = "x"
|
|
|
|
[node name="category" type="Label" parent="window/ui_bar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 32.0
|
|
offset_top = 8.0
|
|
offset_right = 288.0
|
|
offset_bottom = 55.0
|
|
horizontal_alignment = 1
|
|
|
|
[node name="item" type="Label" parent="window/ui_bar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 320.0
|
|
offset_top = 8.0
|
|
offset_right = 744.0
|
|
offset_bottom = 55.0
|
|
horizontal_alignment = 1
|
|
|
|
[connection signal="gui_input" from="window/size_right" to="." method="_on_size_gui_input"]
|
|
[connection signal="mouse_entered" from="window/size_right" to="." method="_on_size_right_mouse_entered"]
|
|
[connection signal="mouse_exited" from="window/size_right" to="." method="_on_size_right_mouse_exited"]
|
|
[connection signal="gui_input" from="window/size_left" to="." method="_on_size_gui_input"]
|
|
[connection signal="mouse_entered" from="window/size_left" to="." method="_on_size_left_mouse_entered"]
|
|
[connection signal="mouse_exited" from="window/size_left" to="." method="_on_size_left_mouse_exited"]
|
|
[connection signal="gui_input" from="window/size_bottom" to="." method="_on_size_gui_input"]
|
|
[connection signal="mouse_entered" from="window/size_bottom" to="." method="_on_size_bottom_mouse_entered"]
|
|
[connection signal="mouse_exited" from="window/size_bottom" to="." method="_on_size_bottom_mouse_exited"]
|
|
[connection signal="gui_input" from="window/ui_bar" to="." method="_on_ui_bar_gui_input"]
|
|
[connection signal="button_up" from="window/ui_bar/minimize" to="." method="_on_minimize_button_up"]
|
|
[connection signal="button_up" from="window/ui_bar/close" to="." method="_on_close_button_up"]
|