changed settings design
authorEduardo <[email protected]>
Sun, 1 Oct 2023 00:44:22 +0000 (02:44 +0200)
committerEduardo <[email protected]>
Sun, 1 Oct 2023 00:44:22 +0000 (02:44 +0200)
scenes/settings/Settings.tscn

index 5662944f7ea31c348d89c666eaf88e0b272e96dc..a8d4112672afc866b19d264419f666e2d6f174ab 100644 (file)
@@ -1,6 +1,14 @@
-[gd_scene load_steps=2 format=3 uid="uid://bbvy2wrph50v"]
+[gd_scene load_steps=4 format=3 uid="uid://bbvy2wrph50v"]
 
 [ext_resource type="Script" path="res://scenes/settings/Settings.gd" id="1_fgf2c"]
+[ext_resource type="Shader" path="res://themes/default/backgrounds/home_screen_dots.gdshader" id="2_vuc0c"]
+
+[sub_resource type="ShaderMaterial" id="ShaderMaterial_dh0it"]
+shader = ExtResource("2_vuc0c")
+shader_parameter/dots_color = Vector4(0.58, 0.45, 0.42, 1)
+shader_parameter/radius = 0.09
+shader_parameter/grid_size = 6.0
+shader_parameter/speed = -0.5
 
 [node name="Settings" type="Control"]
 layout_mode = 3
@@ -12,69 +20,88 @@ grow_vertical = 2
 script = ExtResource("1_fgf2c")
 
 [node name="Background" type="ColorRect" parent="."]
+material = SubResource("ShaderMaterial_dh0it")
 layout_mode = 1
 anchors_preset = 15
 anchor_right = 1.0
 anchor_bottom = 1.0
 grow_horizontal = 2
 grow_vertical = 2
-color = Color(0.337255, 0.313726, 0.290196, 1)
+color = Color(0.64, 0.496, 0.4672, 1)
 
 [node name="Title" type="Label" parent="."]
 layout_mode = 1
 anchors_preset = 5
 anchor_left = 0.5
 anchor_right = 0.5
-offset_left = -124.0
-offset_top = 192.0
-offset_right = 124.0
-offset_bottom = 283.0
+offset_left = -317.0
+offset_top = 100.0
+offset_right = 317.0
+offset_bottom = 277.0
 grow_horizontal = 2
-theme_override_font_sizes/font_size = 64
+size_flags_horizontal = 4
+theme_override_font_sizes/font_size = 144
 text = "Settings"
-
-[node name="Label" type="Label" parent="."]
-layout_mode = 0
-offset_left = 264.0
-offset_top = 552.0
-offset_right = 465.0
-offset_bottom = 600.0
-theme_override_font_sizes/font_size = 32
-text = "Notifications"
+horizontal_alignment = 1
 
 [node name="Label2" type="Label" parent="."]
-layout_mode = 0
-offset_left = 264.0
-offset_top = 456.0
-offset_right = 369.0
-offset_bottom = 504.0
-theme_override_font_sizes/font_size = 32
+layout_mode = 1
+anchors_preset = 8
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+offset_left = -348.0
+offset_top = -440.0
+offset_right = -200.0
+offset_bottom = -361.0
+grow_horizontal = 2
+grow_vertical = 2
 text = "Theme"
 
+[node name="Label" type="Label" parent="."]
+layout_mode = 1
+anchors_preset = 8
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+offset_left = -348.0
+offset_top = -312.0
+offset_right = -53.0
+offset_bottom = -233.0
+grow_horizontal = 2
+grow_vertical = 2
+text = "Notifications"
+
 [node name="Label3" type="Label" parent="."]
-layout_mode = 0
-offset_left = 264.0
-offset_top = 648.0
-offset_right = 465.0
-offset_bottom = 696.0
-theme_override_font_sizes/font_size = 32
+layout_mode = 1
+anchors_preset = 8
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+offset_left = -348.0
+offset_top = -184.0
+offset_right = 6.0
+offset_bottom = -105.0
+grow_horizontal = 2
+grow_vertical = 2
 text = "Keep Screen On"
 
-[node name="CheckBox" type="CheckBox" parent="."]
-layout_mode = 0
-offset_left = 760.0
-offset_top = 552.0
-offset_right = 784.0
-offset_bottom = 576.0
-scale = Vector2(2, 2)
-
 [node name="OptionButton" type="OptionButton" parent="."]
-layout_mode = 0
-offset_left = 464.0
-offset_top = 448.0
-offset_right = 637.0
-offset_bottom = 479.0
-scale = Vector2(2, 2)
+layout_mode = 1
+anchors_preset = 8
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+offset_left = -92.0
+offset_top = -448.0
+offset_right = 290.0
+offset_bottom = -369.0
+grow_horizontal = 2
+grow_vertical = 2
 item_count = 3
 selected = 0
 popup/item_0/text = "Clasic"
@@ -86,11 +113,34 @@ popup/item_2/text = "check the store!"
 popup/item_2/id = 2
 popup/item_2/separator = true
 
+[node name="CheckBox" type="CheckBox" parent="."]
+layout_mode = 1
+anchors_preset = 8
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+offset_left = 244.0
+offset_top = -304.0
+offset_right = 268.0
+offset_bottom = -280.0
+grow_horizontal = 2
+grow_vertical = 2
+scale = Vector2(2, 2)
+button_pressed = true
+
 [node name="CheckBox2" type="CheckBox" parent="."]
-layout_mode = 0
-offset_left = 760.0
-offset_top = 648.0
-offset_right = 784.0
-offset_bottom = 672.0
+layout_mode = 1
+anchors_preset = 8
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+offset_left = 244.0
+offset_top = -176.0
+offset_right = 268.0
+offset_bottom = -152.0
+grow_horizontal = 2
+grow_vertical = 2
 scale = Vector2(2, 2)
 button_pressed = true