[gd_scene load_steps=5 format=3 uid="uid://b8hlfrsgrkmy"]

[ext_resource type="Script" uid="uid://dutga8wms2uy4" path="res://sources/menus/settings/developer_settings.gd" id="1_qqqt3"]
[ext_resource type="Texture2D" uid="uid://wtx3wqs0l4si" path="res://assets/minigames/minigame_ui/graphic/button_back_up.png" id="3_vjlw0"]
[ext_resource type="Texture2D" uid="uid://cbhip35yyqneg" path="res://assets/minigames/minigame_ui/graphic/button_back_down.png" id="4_s0ywi"]
[ext_resource type="Texture2D" uid="uid://tcapan0mj64o" path="res://assets/minigames/minigame_ui/graphic/button_back_disabled.png" id="5_4q33k"]

[node name="DeveloperSettings" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_qqqt3")

[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)

[node name="InterfaceLeft" type="MarginContainer" parent="."]
custom_minimum_size = Vector2(450, 0)
layout_mode = 1
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 450.0
grow_vertical = 2
theme_override_constants/margin_left = 50
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50

[node name="Container" type="VBoxContainer" parent="InterfaceLeft"]
layout_mode = 2
theme_override_constants/separation = 20

[node name="BackButton" type="TextureButton" parent="InterfaceLeft/Container"]
layout_mode = 2
size_flags_vertical = 3
texture_normal = ExtResource("3_vjlw0")
texture_pressed = ExtResource("4_s0ywi")
texture_disabled = ExtResource("5_4q33k")
stretch_mode = 4

[node name="VBoxContainer" type="VBoxContainer" parent="."]
custom_minimum_size = Vector2(1970, 1800)
layout_mode = 1
anchors_preset = 11
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -632.0
grow_horizontal = 0
grow_vertical = 2

[node name="LogControls" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 1

[node name="Label" type="Label" parent="VBoxContainer/LogControls"]
layout_mode = 2
text = "Change log level:"

[node name="LogLevelDropdown" type="OptionButton" parent="VBoxContainer/LogControls"]
layout_mode = 2

[node name="ApiPathControls" type="VBoxContainer" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 10

[node name="PathRow" type="HBoxContainer" parent="VBoxContainer/ApiPathControls"]
layout_mode = 2
alignment = 1

[node name="Label" type="Label" parent="VBoxContainer/ApiPathControls/PathRow"]
layout_mode = 2
text = "AWS API path:"

[node name="ApiPathEdit" type="LineEdit" parent="VBoxContainer/ApiPathControls/PathRow"]
layout_mode = 2
size_flags_horizontal = 3

[node name="ApplyButton" type="Button" parent="VBoxContainer/ApiPathControls/PathRow"]
layout_mode = 2
text = "Apply"

[node name="EnvironmentButtons" type="HBoxContainer" parent="VBoxContainer/ApiPathControls"]
layout_mode = 2
theme_override_constants/separation = 30
alignment = 1

[node name="ProdButton" type="Button" parent="VBoxContainer/ApiPathControls/EnvironmentButtons"]
layout_mode = 2
text = "Use PROD"

[node name="DevButton" type="Button" parent="VBoxContainer/ApiPathControls/EnvironmentButtons"]
layout_mode = 2
text = "Use DEV"

[node name="StatusLabel" type="Label" parent="VBoxContainer/ApiPathControls"]
layout_mode = 2
horizontal_alignment = 1

[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 50

[node name="Controls" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 1

[node name="LineCountSlider" type="HSlider" parent="VBoxContainer/Controls"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
max_value = 20.0
value = 10.0

[node name="SliderLabel" type="Label" parent="VBoxContainer/Controls"]
layout_mode = 2
text = "Show: ?"

[node name="Control" type="Control" parent="VBoxContainer/Controls"]
layout_mode = 2
size_flags_horizontal = 3

[node name="Filters" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 1

[node name="ColorRect" type="ColorRect" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
color = Color(0.48962224, 0.48962224, 0.48962218, 1)

[node name="LogText" type="TextEdit" parent="VBoxContainer/ColorRect"]
layout_mode = 0
offset_left = 30.0
offset_top = 14.0
offset_right = 1930.0
offset_bottom = 1414.0
size_flags_vertical = 3
placeholder_text = "Placeholder Text
Contains all logs textss"
editable = false

[connection signal="pressed" from="InterfaceLeft/Container/BackButton" to="." method="_on_back_button_pressed"]
[connection signal="pressed" from="VBoxContainer/ApiPathControls/PathRow/ApplyButton" to="." method="_on_api_path_apply_pressed"]
[connection signal="pressed" from="VBoxContainer/ApiPathControls/EnvironmentButtons/ProdButton" to="." method="_on_prod_button_pressed"]
[connection signal="pressed" from="VBoxContainer/ApiPathControls/EnvironmentButtons/DevButton" to="." method="_on_dev_button_pressed"]
