claude godot 4 port
This commit is contained in:
@@ -1,129 +1,129 @@
|
||||
[gd_scene load_steps=14 format=2]
|
||||
[gd_scene load_steps=14 format=3]
|
||||
|
||||
[ext_resource path="res://assets/font/resource/menu_header.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://assets/texture/settings/settingtemp_on1.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/texture/settings/settingtemp_on2.png" type="Texture" id=3]
|
||||
[ext_resource path="res://assets/texture/settings/settingtemp1.png" type="Texture" id=4]
|
||||
[ext_resource path="res://assets/texture/settings/settingtemp2.png" type="Texture" id=5]
|
||||
[ext_resource path="res://scenes/settings_screen/settings_screen.gd" type="Script" id=6]
|
||||
[ext_resource path="res://assets/texture/buttons/toggle_off.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/texture/buttons/toggle_on.png" type="Texture" id=8]
|
||||
[ext_resource path="res://assets/main.tres" type="Theme" id=9]
|
||||
[ext_resource path="res://assets/texture/settings/eye_closed.png" type="Texture" id=10]
|
||||
[ext_resource path="res://assets/texture/settings/eye_open.png" type="Texture" id=11]
|
||||
[ext_resource type="FontVariation" path="res://assets/font/resource/menu_header.tres" id="1"]
|
||||
[ext_resource type="Texture2D" path="res://assets/texture/settings/settingtemp_on1.png" id="2"]
|
||||
[ext_resource type="Texture2D" path="res://assets/texture/settings/settingtemp_on2.png" id="3"]
|
||||
[ext_resource type="Texture2D" path="res://assets/texture/settings/settingtemp1.png" id="4"]
|
||||
[ext_resource type="Texture2D" path="res://assets/texture/settings/settingtemp2.png" id="5"]
|
||||
[ext_resource type="Script" path="res://scenes/settings_screen/settings_screen.gd" id="6"]
|
||||
[ext_resource type="Texture2D" path="res://assets/texture/buttons/toggle_off.png" id="7"]
|
||||
[ext_resource type="Texture2D" path="res://assets/texture/buttons/toggle_on.png" id="8"]
|
||||
[ext_resource type="Theme" path="res://assets/main.tres" id="9"]
|
||||
[ext_resource type="Texture2D" path="res://assets/texture/settings/eye_closed.png" id="10"]
|
||||
[ext_resource type="Texture2D" path="res://assets/texture/settings/eye_open.png" id="11"]
|
||||
|
||||
[sub_resource type="Gradient" id=1]
|
||||
offsets = PoolRealArray( 0, 0.256983 )
|
||||
colors = PoolColorArray( 0, 0, 0, 0.262745, 0, 0, 0, 0 )
|
||||
[sub_resource type="Gradient" id="1"]
|
||||
offsets = PackedFloat32Array(0, 0.256983)
|
||||
colors = PackedColorArray(0, 0, 0, 0.262745, 0, 0, 0, 0)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id=12]
|
||||
gradient = SubResource( 1 )
|
||||
[sub_resource type="GradientTexture2D" id="12"]
|
||||
gradient = SubResource("1")
|
||||
height = 32
|
||||
fill_to = Vector2( 0, 1 )
|
||||
fill_to = Vector2(0, 1)
|
||||
|
||||
[node name="settings_screen" type="VBoxContainer"]
|
||||
margin_right = 350.0
|
||||
margin_bottom = 647.0
|
||||
rect_pivot_offset = Vector2( -354, 186 )
|
||||
offset_right = 350.0
|
||||
offset_bottom = 647.0
|
||||
pivot_offset = Vector2(-354, 186)
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource( 9 )
|
||||
custom_constants/separation = 0
|
||||
script = ExtResource( 6 )
|
||||
theme = ExtResource("9")
|
||||
theme_override_constants/separation = 0
|
||||
script = ExtResource("6")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
margin_right = 350.0
|
||||
margin_bottom = 45.0
|
||||
rect_min_size = Vector2( 0, 45 )
|
||||
offset_right = 350.0
|
||||
offset_bottom = 45.0
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
mouse_filter = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer"]
|
||||
margin_left = 123.0
|
||||
margin_top = 10.0
|
||||
margin_right = 226.0
|
||||
margin_bottom = 35.0
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
text = "Settings"
|
||||
uppercase = true
|
||||
offset_left = 123.0
|
||||
offset_top = 10.0
|
||||
offset_right = 226.0
|
||||
offset_bottom = 35.0
|
||||
theme_override_fonts/font = ExtResource("1")
|
||||
theme_override_font_sizes/font_size = 26
|
||||
text = "SETTINGS"
|
||||
|
||||
[node name="VBoxContainer" type="MarginContainer" parent="."]
|
||||
margin_top = 45.0
|
||||
margin_right = 350.0
|
||||
margin_bottom = 647.0
|
||||
offset_top = 45.0
|
||||
offset_right = 350.0
|
||||
offset_bottom = 647.0
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="VBoxContainer"]
|
||||
margin_right = 350.0
|
||||
margin_bottom = 21.0
|
||||
rect_min_size = Vector2( 0, 21 )
|
||||
offset_right = 350.0
|
||||
offset_bottom = 21.0
|
||||
custom_minimum_size = Vector2(0, 21)
|
||||
mouse_filter = 2
|
||||
size_flags_vertical = 0
|
||||
texture = SubResource( 12 )
|
||||
expand = true
|
||||
stretch_mode = 2
|
||||
texture = SubResource("12")
|
||||
expand_mode = 1
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
||||
margin_right = 350.0
|
||||
margin_bottom = 602.0
|
||||
offset_right = 350.0
|
||||
offset_bottom = 602.0
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
scroll_horizontal_enabled = false
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/ScrollContainer"]
|
||||
margin_right = 350.0
|
||||
margin_bottom = 602.0
|
||||
offset_right = 350.0
|
||||
offset_bottom = 602.0
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_constants/margin_right = 10
|
||||
custom_constants/margin_left = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_left = 10
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer/MarginContainer"]
|
||||
margin_left = 10.0
|
||||
margin_right = 340.0
|
||||
margin_bottom = 602.0
|
||||
offset_left = 10.0
|
||||
offset_right = 340.0
|
||||
offset_bottom = 602.0
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Control" type="Control" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer"]
|
||||
margin_right = 330.0
|
||||
margin_bottom = 20.0
|
||||
rect_min_size = Vector2( 0, 20 )
|
||||
offset_right = 330.0
|
||||
offset_bottom = 20.0
|
||||
custom_minimum_size = Vector2(0, 20)
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="alarm_items" type="VBoxContainer" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer"]
|
||||
margin_top = 24.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 602.0
|
||||
offset_top = 24.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 602.0
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_right = 330.0
|
||||
margin_bottom = 48.0
|
||||
rect_min_size = Vector2( 0, 48 )
|
||||
offset_right = 330.0
|
||||
offset_bottom = 48.0
|
||||
custom_minimum_size = Vector2(0, 48)
|
||||
text = "weatherapi.com API key"
|
||||
align = 1
|
||||
valign = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 52.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 84.0
|
||||
offset_top = 52.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 84.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="settings_api_key" type="LineEdit" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/HBoxContainer3"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 294.0
|
||||
margin_bottom = 32.0
|
||||
hint_tooltip = "API key from weatherAPI.com.
|
||||
offset_right = 294.0
|
||||
offset_bottom = 32.0
|
||||
tooltip_text = "API key from weatherAPI.com.
|
||||
|
||||
This is required to make
|
||||
use of the weather features.
|
||||
@@ -135,182 +135,182 @@ secret = true
|
||||
secret_character = "·"
|
||||
|
||||
[node name="show_api_key" type="TextureButton" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/HBoxContainer3"]
|
||||
margin_left = 298.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 32.0
|
||||
rect_min_size = Vector2( 32, 0 )
|
||||
hint_tooltip = "Reveal API key"
|
||||
offset_left = 298.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 32.0
|
||||
custom_minimum_size = Vector2(32, 0)
|
||||
tooltip_text = "Reveal API key"
|
||||
mouse_default_cursor_shape = 2
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource( 10 )
|
||||
texture_pressed = ExtResource( 11 )
|
||||
expand = true
|
||||
texture_normal = ExtResource("10")
|
||||
texture_pressed = ExtResource("11")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="paste_key" type="Button" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 88.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 118.0
|
||||
offset_top = 88.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 118.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Paste API key"
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 122.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 170.0
|
||||
rect_min_size = Vector2( 0, 48 )
|
||||
offset_top = 122.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 170.0
|
||||
custom_minimum_size = Vector2(0, 48)
|
||||
text = "Location"
|
||||
align = 1
|
||||
valign = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="settings_location" type="LineEdit" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 174.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 206.0
|
||||
hint_tooltip = "Location to use for weather data"
|
||||
offset_top = 174.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 206.0
|
||||
tooltip_text = "Location to use for weather data"
|
||||
text = "Amsterdam"
|
||||
|
||||
[node name="Label3" type="Label" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 210.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 258.0
|
||||
rect_min_size = Vector2( 0, 48 )
|
||||
offset_top = 210.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 258.0
|
||||
custom_minimum_size = Vector2(0, 48)
|
||||
text = "Displayed temperatures"
|
||||
align = 1
|
||||
valign = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="temperatures" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 262.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 322.0
|
||||
offset_top = 262.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 322.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="settings_celsius" type="TextureButton" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/temperatures"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 163.0
|
||||
margin_bottom = 60.0
|
||||
rect_min_size = Vector2( 0, 60 )
|
||||
hint_tooltip = "Show temperature in celsius"
|
||||
offset_right = 163.0
|
||||
offset_bottom = 60.0
|
||||
custom_minimum_size = Vector2(0, 60)
|
||||
tooltip_text = "Show temperature in celsius"
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 3
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource( 5 )
|
||||
texture_pressed = ExtResource( 3 )
|
||||
expand = true
|
||||
texture_normal = ExtResource("5")
|
||||
texture_pressed = ExtResource("3")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="settings_fahrenheit" type="TextureButton" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/temperatures"]
|
||||
unique_name_in_owner = true
|
||||
margin_left = 167.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 60.0
|
||||
rect_min_size = Vector2( 0, 60 )
|
||||
hint_tooltip = "Show temperature in fahrenheit"
|
||||
offset_left = 167.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 60.0
|
||||
custom_minimum_size = Vector2(0, 60)
|
||||
tooltip_text = "Show temperature in fahrenheit"
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 3
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource( 4 )
|
||||
texture_pressed = ExtResource( 2 )
|
||||
expand = true
|
||||
texture_normal = ExtResource("4")
|
||||
texture_pressed = ExtResource("2")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Label4" type="Label" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 326.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 348.0
|
||||
rect_min_size = Vector2( 0, 16 )
|
||||
align = 1
|
||||
valign = 2
|
||||
offset_top = 326.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 348.0
|
||||
custom_minimum_size = Vector2(0, 16)
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 352.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 409.0
|
||||
offset_top = 352.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 409.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/HBoxContainer"]
|
||||
margin_top = 17.0
|
||||
margin_right = 192.0
|
||||
margin_bottom = 39.0
|
||||
offset_top = 17.0
|
||||
offset_right = 192.0
|
||||
offset_bottom = 39.0
|
||||
text = "Automatic dark mode"
|
||||
|
||||
[node name="settings_autodark" type="TextureButton" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_left = 198.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 57.0
|
||||
rect_min_size = Vector2( 132, 57 )
|
||||
hint_tooltip = "Darken interface and
|
||||
offset_left = 198.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 57.0
|
||||
custom_minimum_size = Vector2(132, 57)
|
||||
tooltip_text = "Darken interface and
|
||||
backgrounds in the evening"
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 10
|
||||
size_flags_vertical = 3
|
||||
toggle_mode = true
|
||||
pressed = true
|
||||
texture_normal = ExtResource( 7 )
|
||||
texture_pressed = ExtResource( 8 )
|
||||
expand = true
|
||||
button_pressed = true
|
||||
texture_normal = ExtResource("7")
|
||||
texture_pressed = ExtResource("8")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 413.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 470.0
|
||||
offset_top = 413.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 470.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/HBoxContainer2"]
|
||||
margin_top = 17.0
|
||||
margin_right = 125.0
|
||||
margin_bottom = 39.0
|
||||
offset_top = 17.0
|
||||
offset_right = 125.0
|
||||
offset_bottom = 39.0
|
||||
text = "12 hour clock"
|
||||
|
||||
[node name="settings_12_hour_clock" type="TextureButton" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/HBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
margin_left = 198.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 57.0
|
||||
rect_min_size = Vector2( 132, 57 )
|
||||
hint_tooltip = "Use a 12 hour AM/PM clock
|
||||
offset_left = 198.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 57.0
|
||||
custom_minimum_size = Vector2(132, 57)
|
||||
tooltip_text = "Use a 12 hour AM/PM clock
|
||||
instead of 24 hours"
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 10
|
||||
size_flags_vertical = 3
|
||||
toggle_mode = true
|
||||
pressed = true
|
||||
texture_normal = ExtResource( 7 )
|
||||
texture_pressed = ExtResource( 8 )
|
||||
expand = true
|
||||
button_pressed = true
|
||||
texture_normal = ExtResource("7")
|
||||
texture_pressed = ExtResource("8")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items"]
|
||||
margin_top = 474.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 531.0
|
||||
offset_top = 474.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 531.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/HBoxContainer4"]
|
||||
margin_top = 17.0
|
||||
margin_right = 173.0
|
||||
margin_bottom = 39.0
|
||||
offset_top = 17.0
|
||||
offset_right = 173.0
|
||||
offset_bottom = 39.0
|
||||
text = "Prevent sleep mode"
|
||||
|
||||
[node name="prevent_sleep_mode" type="TextureButton" parent="VBoxContainer/ScrollContainer/MarginContainer/VBoxContainer/alarm_items/HBoxContainer4"]
|
||||
unique_name_in_owner = true
|
||||
margin_left = 198.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 57.0
|
||||
rect_min_size = Vector2( 132, 57 )
|
||||
hint_tooltip = "Use a 12 hour AM/PM clock
|
||||
instead of 24 hours"
|
||||
offset_left = 198.0
|
||||
offset_right = 330.0
|
||||
offset_bottom = 57.0
|
||||
custom_minimum_size = Vector2(132, 57)
|
||||
tooltip_text = "Prevent the screen from
|
||||
entering sleep mode"
|
||||
mouse_default_cursor_shape = 2
|
||||
size_flags_horizontal = 10
|
||||
size_flags_vertical = 3
|
||||
toggle_mode = true
|
||||
pressed = true
|
||||
texture_normal = ExtResource( 7 )
|
||||
texture_pressed = ExtResource( 8 )
|
||||
expand = true
|
||||
button_pressed = true
|
||||
texture_normal = ExtResource("7")
|
||||
texture_pressed = ExtResource("8")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="api_debounce" type="Timer" parent="."]
|
||||
|
||||
Reference in New Issue
Block a user