Improved UI
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://bqpbrju7mc7d5"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://bqpbrju7mc7d5"]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/settings/Settings.gd" id="1_gx3lf"]
|
||||
[ext_resource type="Script" path="res://ui/settings/Glow.gd" id="1_vkhbt"]
|
||||
@ -12,6 +12,7 @@
|
||||
[ext_resource type="Script" path="res://ui/settings/SSIL.gd" id="7_wt6tg"]
|
||||
[ext_resource type="Script" path="res://ui/settings/Contrast.gd" id="8_q4hif"]
|
||||
[ext_resource type="Script" path="res://ui/settings/Saturation.gd" id="9_wbvcu"]
|
||||
[ext_resource type="Script" path="res://ui/settings/VolumetricFog.gd" id="10_enf67"]
|
||||
|
||||
[node name="Settings" type="Control"]
|
||||
layout_mode = 3
|
||||
@ -47,17 +48,26 @@ size_flags_horizontal = 3
|
||||
text = "Preset:"
|
||||
script = ExtResource("2_72a3s")
|
||||
|
||||
[node name="OptionButton" type="OptionButton" parent="TabContainer/Video/VBoxContainer/Preset"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer/Preset"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
item_count = 3
|
||||
selected = 2
|
||||
popup/item_0/text = "Low"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Medium"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "High"
|
||||
popup/item_2/id = 2
|
||||
|
||||
[node name="Low" type="Button" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Low"
|
||||
|
||||
[node name="Medium" type="Button" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Medium"
|
||||
|
||||
[node name="High" type="Button" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "High"
|
||||
|
||||
[node name="Preset" type="Node" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"]
|
||||
script = ExtResource("3_6lki0")
|
||||
|
||||
[node name="Render Scale" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||
@ -181,7 +191,7 @@ script = ExtResource("2_72a3s")
|
||||
[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Volumetric Fog" groups=["video_preset_setting"]]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("7_wt6tg")
|
||||
script = ExtResource("10_enf67")
|
||||
|
||||
[node name="Brightness" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
@ -244,7 +254,9 @@ layout_mode = 2
|
||||
[node name="Volume" type="HSlider" parent="TabContainer/Audio"]
|
||||
layout_mode = 2
|
||||
|
||||
[connection signal="item_selected" from="TabContainer/Video/VBoxContainer/Preset/OptionButton" to="TabContainer/Video/VBoxContainer/Preset/OptionButton" method="on_item_selected"]
|
||||
[connection signal="pressed" from="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Low" to="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_low"]
|
||||
[connection signal="pressed" from="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Medium" to="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_medium"]
|
||||
[connection signal="pressed" from="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/High" to="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_high"]
|
||||
[connection signal="item_selected" from="TabContainer/Video/VBoxContainer/Render Scale/OptionButton" to="TabContainer/Video/VBoxContainer/Render Scale/OptionButton" method="on_item_selected"]
|
||||
[connection signal="item_selected" from="TabContainer/Video/VBoxContainer/Scale Mode/OptionButton" to="TabContainer/Video/VBoxContainer/Scale Mode/OptionButton" method="on_item_selected"]
|
||||
[connection signal="toggled" from="TabContainer/Video/VBoxContainer/Glow/CheckButton" to="TabContainer/Video/VBoxContainer/Glow/CheckButton" method="on_toggled"]
|
||||
|
Reference in New Issue
Block a user