mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-11-14 03:09:10 +00:00
161 lines
5 KiB
Text
161 lines
5 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://assets/interfaces/debug_window/debug_window.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/ui_window/ui_window.gd" type="Script" id=2]
|
|
[ext_resource path="res://addons/ui_window/background_default.jpg" type="Texture" id=3]
|
|
|
|
[node name="debug_window" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_right = -1232.0
|
|
margin_bottom = -719.0
|
|
rect_min_size = Vector2( 256, 256 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ui_window" type="MarginContainer" parent="."]
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
title = "Debug/Tests"
|
|
background_texture = ExtResource( 3 )
|
|
min_size = Vector2( 256, 256 )
|
|
|
|
[node name="v_box_container" type="VBoxContainer" parent="ui_window"]
|
|
margin_right = 112.0
|
|
margin_bottom = 138.0
|
|
mouse_filter = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="sky_label" type="Label" parent="ui_window/v_box_container"]
|
|
margin_right = 112.0
|
|
margin_bottom = 14.0
|
|
text = "Sky:"
|
|
|
|
[node name="sky_box" type="VBoxContainer" parent="ui_window/v_box_container"]
|
|
margin_top = 18.0
|
|
margin_right = 112.0
|
|
margin_bottom = 34.0
|
|
|
|
[node name="time_of_day" type="HBoxContainer" parent="ui_window/v_box_container/sky_box"]
|
|
margin_right = 112.0
|
|
margin_bottom = 16.0
|
|
|
|
[node name="label" type="Label" parent="ui_window/v_box_container/sky_box/time_of_day"]
|
|
margin_top = 1.0
|
|
margin_right = 74.0
|
|
margin_bottom = 15.0
|
|
size_flags_horizontal = 10
|
|
text = "Time of day"
|
|
|
|
[node name="value" type="HSlider" parent="ui_window/v_box_container/sky_box/time_of_day"]
|
|
margin_left = 78.0
|
|
margin_right = 112.0
|
|
margin_bottom = 16.0
|
|
size_flags_horizontal = 3
|
|
max_value = 24.0
|
|
step = 0.1
|
|
value = 12.0
|
|
|
|
[node name="mist_label" type="Label" parent="ui_window/v_box_container"]
|
|
margin_top = 38.0
|
|
margin_right = 112.0
|
|
margin_bottom = 52.0
|
|
text = "Mist:"
|
|
|
|
[node name="mist_box" type="VBoxContainer" parent="ui_window/v_box_container"]
|
|
margin_top = 56.0
|
|
margin_right = 112.0
|
|
margin_bottom = 72.0
|
|
|
|
[node name="mist_level" type="HBoxContainer" parent="ui_window/v_box_container/mist_box"]
|
|
margin_right = 112.0
|
|
margin_bottom = 16.0
|
|
|
|
[node name="label" type="Label" parent="ui_window/v_box_container/mist_box/mist_level"]
|
|
margin_top = 1.0
|
|
margin_right = 63.0
|
|
margin_bottom = 15.0
|
|
size_flags_horizontal = 10
|
|
text = "Mist level"
|
|
|
|
[node name="value" type="HSlider" parent="ui_window/v_box_container/mist_box/mist_level"]
|
|
margin_left = 67.0
|
|
margin_right = 112.0
|
|
margin_bottom = 16.0
|
|
size_flags_horizontal = 3
|
|
max_value = 1.0
|
|
step = 0.1
|
|
|
|
[node name="fears_label" type="Label" parent="ui_window/v_box_container"]
|
|
margin_top = 76.0
|
|
margin_right = 112.0
|
|
margin_bottom = 90.0
|
|
text = "Fears:"
|
|
|
|
[node name="fears_box" type="VBoxContainer" parent="ui_window/v_box_container"]
|
|
margin_top = 94.0
|
|
margin_right = 112.0
|
|
margin_bottom = 138.0
|
|
|
|
[node name="oubli" type="HBoxContainer" parent="ui_window/v_box_container/fears_box"]
|
|
margin_right = 112.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="label" type="Label" parent="ui_window/v_box_container/fears_box/oubli"]
|
|
margin_left = 16.0
|
|
margin_top = 3.0
|
|
margin_right = 51.0
|
|
margin_bottom = 17.0
|
|
size_flags_horizontal = 10
|
|
text = "Oubli"
|
|
|
|
[node name="minus" type="Button" parent="ui_window/v_box_container/fears_box/oubli"]
|
|
margin_left = 55.0
|
|
margin_right = 80.0
|
|
margin_bottom = 20.0
|
|
text = "-1"
|
|
|
|
[node name="plus" type="Button" parent="ui_window/v_box_container/fears_box/oubli"]
|
|
margin_left = 84.0
|
|
margin_right = 112.0
|
|
margin_bottom = 20.0
|
|
text = "+1"
|
|
|
|
[node name="douleur" type="HBoxContainer" parent="ui_window/v_box_container/fears_box"]
|
|
margin_top = 24.0
|
|
margin_right = 112.0
|
|
margin_bottom = 44.0
|
|
|
|
[node name="label" type="Label" parent="ui_window/v_box_container/fears_box/douleur"]
|
|
margin_top = 3.0
|
|
margin_right = 51.0
|
|
margin_bottom = 17.0
|
|
size_flags_horizontal = 10
|
|
text = "Douleur"
|
|
|
|
[node name="minus" type="Button" parent="ui_window/v_box_container/fears_box/douleur"]
|
|
margin_left = 55.0
|
|
margin_right = 80.0
|
|
margin_bottom = 20.0
|
|
text = "-1"
|
|
|
|
[node name="plus" type="Button" parent="ui_window/v_box_container/fears_box/douleur"]
|
|
margin_left = 84.0
|
|
margin_right = 112.0
|
|
margin_bottom = 20.0
|
|
text = "+1"
|
|
[connection signal="mouse_exited" from="." to="." method="_on_debug_window_mouse_exited"]
|
|
[connection signal="value_changed" from="ui_window/v_box_container/sky_box/time_of_day/value" to="." method="_on_time_of_day_value_changed"]
|
|
[connection signal="value_changed" from="ui_window/v_box_container/mist_box/mist_level/value" to="." method="_on_mist_level_value_changed"]
|
|
[connection signal="pressed" from="ui_window/v_box_container/fears_box/oubli/minus" to="." method="_on_oubli_minus_pressed"]
|
|
[connection signal="pressed" from="ui_window/v_box_container/fears_box/oubli/plus" to="." method="_on_oubli_plus_pressed"]
|
|
[connection signal="pressed" from="ui_window/v_box_container/fears_box/douleur/minus" to="." method="_on_douleur_minus_pressed"]
|
|
[connection signal="pressed" from="ui_window/v_box_container/fears_box/douleur/plus" to="." method="_on_douleur_plus_pressed"]
|