initial commit, hope i didnt push any keys :P

This commit is contained in:
anne
2023-02-07 17:46:01 +01:00
commit 1416a35df1
362 changed files with 7234 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
extends GridContainer
signal selected(idx)
func _ready():
var x := 0
for item in get_children():
item.connect("toggled",self,"_on_button_toggled", [x])
x += 1
func select(index:int):
var x := 0
for item in get_children():
item.set_pressed_no_signal( x == index )
if item.pressed:
emit_signal("selected", x)
x += 1
func _on_button_toggled(state:bool, idx:int):
select(idx)
+53
View File
@@ -0,0 +1,53 @@
extends VBoxContainer
var alarm_res:Alarm
onready var alarm_node = $"/root/main/alarm"
signal edit()
func _ready():
Config.connect("changed", self ,"_update")
self.modulate.a = 0
var tween = get_tree().create_tween()
tween.set_trans(Tween.TRANS_CUBIC)
tween.tween_property(self, "modulate:a", 1.0, 0.5)
tween.play()
print(alarm_res)
_update()
func _update():
$"%hour".text = alarm_res.moment.padded_hour()
$"%minute".text = alarm_res.moment.padded_minute()
$"%active".pressed = alarm_res.active
func _on_active_toggled(button_pressed):
if self.modulate.a != 1:
$"%active".set_pressed_no_signal(!button_pressed)
return
alarm_res.active = button_pressed
func minute_timer_update(timedict):
if alarm_res.active and timedict['hour'] == alarm_res.moment.hour and timedict['minute'] == alarm_res.moment.minute:
alarm_node.popup(alarm_res)
func _on_delete_button_pressed():
if self.modulate.a != 1:
return
var tween = get_tree().create_tween()
tween.set_trans(Tween.TRANS_CUBIC)
tween.tween_property(self, "modulate:a", 0.0, 0.5)
tween.play()
yield(tween, "finished")
self.queue_free()
if alarm_res:
Config.flags.remove_alarm(alarm_res)
func _on_edit_button_pressed():
if self.modulate.a != 1:
return
emit_signal("edit")
+126
View File
@@ -0,0 +1,126 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://assets/texture/buttons/toggle_on.png" type="Texture" id=1]
[ext_resource path="res://assets/texture/buttons/toggle_off.png" type="Texture" id=2]
[ext_resource path="res://assets/main.tres" type="Theme" id=3]
[ext_resource path="res://assets/font/resource/alarm_item_time.tres" type="DynamicFont" id=4]
[ext_resource path="res://scenes/alarms_screen/alarms_item.gd" type="Script" id=5]
[ext_resource path="res://assets/texture/alarms/mark.png" type="Texture" id=6]
[node name="alarms_item" type="VBoxContainer" groups=["alarm_items", "minute_timer_updates"]]
anchor_right = 1.0
anchor_bottom = 0.09
rect_min_size = Vector2( 0, 55 )
mouse_filter = 2
size_flags_horizontal = 3
theme = ExtResource( 3 )
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": true
}
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 350.0
margin_bottom = 2.0
rect_min_size = Vector2( 0, 2 )
mouse_filter = 2
size_flags_horizontal = 3
color = Color( 1, 1, 1, 0.109804 )
[node name="HBoxContainer" type="HBoxContainer" parent="."]
margin_top = 6.0
margin_right = 350.0
margin_bottom = 52.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="delete_button" type="TextureButton" parent="HBoxContainer"]
margin_right = 46.0
margin_bottom = 46.0
rect_min_size = Vector2( 46, 0 )
hint_tooltip = "Delete alarm"
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 6 )
expand = true
stretch_mode = 5
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer"]
margin_left = 50.0
margin_right = 106.0
margin_bottom = 46.0
mouse_filter = 2
custom_constants/margin_left = 10
[node name="edit_button" type="Button" parent="HBoxContainer/MarginContainer"]
margin_left = 10.0
margin_right = 56.0
margin_bottom = 46.0
hint_tooltip = "Edit alarm"
mouse_default_cursor_shape = 2
flat = true
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/MarginContainer"]
margin_left = 10.0
margin_right = 56.0
margin_bottom = 46.0
mouse_filter = 2
custom_constants/separation = 1
[node name="hour" type="Label" parent="HBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
margin_top = 12.0
margin_right = 20.0
margin_bottom = 33.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 4 )
text = "12"
[node name="colon" type="Label" parent="HBoxContainer/MarginContainer/HBoxContainer"]
margin_left = 21.0
margin_top = 12.0
margin_right = 25.0
margin_bottom = 33.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 4 )
text = ":"
[node name="minute" type="Label" parent="HBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
margin_left = 26.0
margin_top = 12.0
margin_right = 46.0
margin_bottom = 33.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 4 )
text = "30"
[node name="active" type="TextureButton" parent="HBoxContainer"]
unique_name_in_owner = true
margin_left = 250.0
margin_right = 350.0
margin_bottom = 46.0
rect_min_size = Vector2( 100, 0 )
hint_tooltip = "Enable/disable alarm"
mouse_default_cursor_shape = 2
size_flags_horizontal = 10
size_flags_vertical = 3
toggle_mode = true
pressed = true
texture_normal = ExtResource( 2 )
texture_pressed = ExtResource( 1 )
expand = true
stretch_mode = 4
[node name="ColorRect2" type="ColorRect" parent="."]
margin_top = 56.0
margin_right = 350.0
margin_bottom = 58.0
rect_min_size = Vector2( 0, 2 )
mouse_filter = 2
size_flags_horizontal = 3
color = Color( 0.25098, 0.25098, 0.25098, 0.168627 )
[connection signal="pressed" from="HBoxContainer/delete_button" to="." method="_on_delete_button_pressed"]
[connection signal="pressed" from="HBoxContainer/MarginContainer/edit_button" to="." method="_on_edit_button_pressed"]
[connection signal="toggled" from="HBoxContainer/active" to="." method="_on_active_toggled"]
+105
View File
@@ -0,0 +1,105 @@
extends TabContainer
const prefab := preload("res://scenes/alarms_screen/alarms_item.tscn")
onready var alarm_items = $"%alarm_items"
func _ready():
# current_tab = 1
_replace_alarm_items()
func _replace_alarm_items():
for item in alarm_items.get_children():
alarm_items.remove_child(item)
item.queue_free()
for alarm in Config.flags.alarms:
spawn_item(alarm)
func spawn_item(alarm):
var new = prefab.instance()
new.alarm_res = alarm
new.connect("edit", self, "_on_item_edit_pressed", [new])
alarm_items.add_child(new)
func _on_add_button_pressed():
var new = Alarm.new()
new.moment = Constants.current_moment()
edit_alarm(new)
# if Config.flags.add_alarm(new):
# spawn_item(new)
func _on_item_edit_pressed(item):
print("yip yip")
edit_alarm(item.alarm_res)
var editing_alarm:Alarm setget edit_alarm
func edit_alarm(new:Alarm, show_UI:=true):
print("edit alarm: ",new)
editing_alarm = new
if editing_alarm:
if show_UI:
current_tab = 1
$"%alarm_moment_hour".value = new.moment.hour
$"%alarm_moment_minute".value = new.moment.minute
$"%alarm_snoozable".set_pressed_no_signal(new.snooze)
$"%alarm_play_music".set_pressed_no_signal(new.play_music)
$"%alarm_weather_override".set_pressed_no_signal(new.override_weather_music)
$"%alarm_music_override_selection".select(new.weather_music)
$"%alarm_speak_time".set_pressed_no_signal(new.speak_time)
$"%customs".visible = new.play_music
$"%override_panel".visible = new.override_weather_music
func _on_alarm_play_music_toggled(button_pressed):
$"%customs".visible =button_pressed
if editing_alarm:
editing_alarm.play_music = button_pressed
func _on_alarm_snoozable_toggled(button_pressed):
if editing_alarm:
editing_alarm.snooze = button_pressed
func _on_alarm_weather_override_toggled(button_pressed):
$"%override_panel".visible = button_pressed
if editing_alarm:
editing_alarm.override_weather_music = button_pressed
func _on_alarm_moment_hour_value_changed(value):
if editing_alarm:
editing_alarm.moment.hour = value
func _on_alarm_moment_minute_value_changed(value):
if editing_alarm:
editing_alarm.moment.minute = value
func _on_save_button_pressed():
if Config.flags.add_alarm(editing_alarm):
spawn_item(editing_alarm)
Config.emit_signal("changed")
editing_alarm = null
current_tab = 0
func _on_cancel_button_pressed():
editing_alarm = null
current_tab= 0
func _on_alarm_speak_time_toggled(button_pressed):
if editing_alarm:
editing_alarm.speak_time = button_pressed
func _on_alarm_music_override_selection_selected(idx):
print("SETTING override music to ",idx," (", Constants.WEATHER.keys()[idx],')')
if editing_alarm:
editing_alarm.weather_music = idx
+543
View File
@@ -0,0 +1,543 @@
[gd_scene load_steps=22 format=2]
[ext_resource path="res://assets/texture/alarms/back.png" type="Texture" id=1]
[ext_resource path="res://assets/font/resource/menu_header.tres" type="DynamicFont" id=2]
[ext_resource path="res://assets/texture/alarms/add.png" type="Texture" id=3]
[ext_resource path="res://assets/texture/alarms/edit.png" type="Texture" id=4]
[ext_resource path="res://scenes/alarms_screen/alarms_screen.gd" type="Script" id=5]
[ext_resource path="res://assets/texture/alarms/set.png" type="Texture" id=6]
[ext_resource path="res://assets/texture/buttons/toggle_on.png" type="Texture" id=7]
[ext_resource path="res://assets/texture/buttons/toggle_off.png" type="Texture" id=8]
[ext_resource path="res://assets/texture/weather_icons/weather4.png" type="Texture" id=9]
[ext_resource path="res://assets/texture/weather_icons/weather8.png" type="Texture" id=10]
[ext_resource path="res://assets/texture/weather_icons/weather7.png" type="Texture" id=11]
[ext_resource path="res://assets/texture/weather_icons/weather1.png" type="Texture" id=12]
[ext_resource path="res://assets/texture/weather_icons/weather5.png" type="Texture" id=13]
[ext_resource path="res://assets/texture/weather_icons/weather3.png" type="Texture" id=14]
[ext_resource path="res://assets/texture/weather_icons/weather6.png" type="Texture" id=15]
[ext_resource path="res://assets/texture/weather_icons/weather2.png" type="Texture" id=16]
[ext_resource path="res://assets/main.tres" type="Theme" id=17]
[ext_resource path="res://scenes/alarms_screen/ButtonGroup.gd" type="Script" id=18]
[sub_resource type="StyleBoxEmpty" id=4]
[sub_resource type="Gradient" id=3]
offsets = PoolRealArray( 0, 0.256983 )
colors = PoolColorArray( 0, 0, 0, 0.262745, 0, 0, 0, 0 )
[sub_resource type="GradientTexture2D" id=2]
gradient = SubResource( 3 )
height = 32
fill_to = Vector2( 0, 1 )
[node name="alarms_screen" type="TabContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme = ExtResource( 17 )
custom_styles/panel = SubResource( 4 )
tabs_visible = false
script = ExtResource( 5 )
[node name="main" type="VBoxContainer" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="main"]
margin_right = 350.0
margin_bottom = 45.0
rect_min_size = Vector2( 0, 45 )
mouse_filter = 2
alignment = 1
[node name="Label" type="Label" parent="main/HBoxContainer"]
margin_left = 137.0
margin_top = 10.0
margin_right = 213.0
margin_bottom = 35.0
custom_fonts/font = ExtResource( 2 )
text = "ALARM"
[node name="VBoxContainer" type="MarginContainer" parent="main"]
margin_top = 49.0
margin_right = 350.0
margin_bottom = 532.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="TextureRect2" type="TextureRect" parent="main/VBoxContainer"]
margin_right = 350.0
margin_bottom = 21.0
rect_min_size = Vector2( 0, 21 )
mouse_filter = 2
size_flags_vertical = 0
texture = SubResource( 2 )
expand = true
stretch_mode = 2
[node name="ScrollContainer" type="ScrollContainer" parent="main/VBoxContainer"]
margin_right = 350.0
margin_bottom = 483.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false
[node name="VBoxContainer" type="VBoxContainer" parent="main/VBoxContainer/ScrollContainer"]
margin_right = 350.0
margin_bottom = 483.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Control" type="Control" parent="main/VBoxContainer/ScrollContainer/VBoxContainer"]
margin_right = 350.0
margin_bottom = 20.0
rect_min_size = Vector2( 0, 20 )
mouse_filter = 2
[node name="alarm_items" type="VBoxContainer" parent="main/VBoxContainer/ScrollContainer/VBoxContainer"]
unique_name_in_owner = true
margin_top = 24.0
margin_right = 350.0
margin_bottom = 483.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 0
[node name="HBoxContainer2" type="HBoxContainer" parent="main"]
margin_top = 536.0
margin_right = 350.0
margin_bottom = 600.0
rect_min_size = Vector2( 0, 64 )
mouse_filter = 2
[node name="edit_button" type="TextureButton" parent="main/HBoxContainer2"]
visible = false
margin_right = 173.0
margin_bottom = 64.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
texture_normal = ExtResource( 4 )
expand = true
stretch_mode = 5
[node name="add_button" type="TextureButton" parent="main/HBoxContainer2"]
margin_left = 177.0
margin_right = 350.0
margin_bottom = 64.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
texture_normal = ExtResource( 3 )
expand = true
stretch_mode = 5
[node name="edit" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="HBoxContainer" type="MarginContainer" parent="edit"]
margin_right = 350.0
margin_bottom = 45.0
rect_min_size = Vector2( 0, 45 )
mouse_filter = 2
[node name="Control" type="Control" parent="edit/HBoxContainer"]
margin_right = 350.0
margin_bottom = 45.0
[node name="cancel_button" type="TextureButton" parent="edit/HBoxContainer/Control"]
margin_left = -8.0
margin_top = -11.0
margin_right = 121.0
margin_bottom = 60.0
rect_min_size = Vector2( 82, 0 )
mouse_default_cursor_shape = 2
size_flags_horizontal = 2
size_flags_vertical = 3
texture_normal = ExtResource( 1 )
expand = true
stretch_mode = 5
[node name="Label" type="Label" parent="edit/HBoxContainer"]
margin_top = 10.0
margin_right = 350.0
margin_bottom = 35.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 2 )
text = "EDIT ALARM"
align = 1
[node name="VBoxContainer" type="MarginContainer" parent="edit"]
margin_top = 49.0
margin_right = 350.0
margin_bottom = 586.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="TextureRect2" type="TextureRect" parent="edit/VBoxContainer"]
margin_right = 350.0
margin_bottom = 21.0
rect_min_size = Vector2( 0, 21 )
mouse_filter = 2
size_flags_vertical = 0
texture = SubResource( 2 )
expand = true
stretch_mode = 2
[node name="ScrollContainer" type="ScrollContainer" parent="edit/VBoxContainer"]
margin_right = 350.0
margin_bottom = 537.0
scroll_horizontal_enabled = false
[node name="VBoxContainer" type="VBoxContainer" parent="edit/VBoxContainer/ScrollContainer"]
margin_right = 350.0
margin_bottom = 537.0
rect_pivot_offset = Vector2( -731, 244 )
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Control2" type="Control" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer"]
margin_right = 350.0
margin_bottom = 113.0
rect_min_size = Vector2( 0, 20 )
mouse_filter = 2
size_flags_vertical = 3
[node name="VBoxContainer" type="GridContainer" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer"]
margin_left = 46.0
margin_top = 117.0
margin_right = 304.0
margin_bottom = 175.0
size_flags_horizontal = 6
columns = 2
[node name="Label" type="Label" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/VBoxContainer"]
margin_right = 127.0
margin_bottom = 22.0
text = "Hour "
align = 1
[node name="Label2" type="Label" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/VBoxContainer"]
margin_left = 131.0
margin_right = 258.0
margin_bottom = 22.0
text = "Minute "
align = 1
[node name="alarm_moment_hour" type="SpinBox" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/VBoxContainer"]
unique_name_in_owner = true
margin_top = 26.0
margin_right = 127.0
margin_bottom = 58.0
max_value = 23.0
[node name="alarm_moment_minute" type="SpinBox" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/VBoxContainer"]
unique_name_in_owner = true
margin_left = 131.0
margin_top = 26.0
margin_right = 258.0
margin_bottom = 58.0
max_value = 59.0
[node name="HBoxContainer2" type="HBoxContainer" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer"]
margin_top = 179.0
margin_right = 350.0
margin_bottom = 236.0
[node name="Label" type="Label" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer2"]
margin_top = 17.0
margin_right = 102.0
margin_bottom = 39.0
text = " Snoozable"
[node name="alarm_snoozable" type="TextureButton" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer2"]
unique_name_in_owner = true
margin_left = 218.0
margin_right = 350.0
margin_bottom = 57.0
rect_min_size = Vector2( 132, 57 )
hint_tooltip = "Allow the alarm
to be snoozed
for 5 minutes"
mouse_default_cursor_shape = 2
size_flags_horizontal = 10
size_flags_vertical = 3
toggle_mode = true
pressed = true
texture_normal = ExtResource( 8 )
texture_pressed = ExtResource( 7 )
expand = true
stretch_mode = 4
[node name="HBoxContainer4" type="HBoxContainer" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer"]
margin_top = 240.0
margin_right = 350.0
margin_bottom = 297.0
[node name="Label" type="Label" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer4"]
margin_top = 17.0
margin_right = 114.0
margin_bottom = 39.0
text = " Speak time"
[node name="alarm_speak_time" type="TextureButton" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer4"]
unique_name_in_owner = true
margin_left = 218.0
margin_right = 350.0
margin_bottom = 57.0
rect_min_size = Vector2( 132, 57 )
hint_tooltip = "Will speak the time,
day, and weather out loud"
mouse_default_cursor_shape = 2
size_flags_horizontal = 10
size_flags_vertical = 3
toggle_mode = true
pressed = true
texture_normal = ExtResource( 8 )
texture_pressed = ExtResource( 7 )
expand = true
stretch_mode = 4
[node name="HBoxContainer3" type="HBoxContainer" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer"]
margin_top = 301.0
margin_right = 350.0
margin_bottom = 358.0
[node name="Label" type="Label" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer3"]
margin_top = 17.0
margin_right = 111.0
margin_bottom = 39.0
text = " Play music"
[node name="alarm_play_music" type="TextureButton" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer3"]
unique_name_in_owner = true
margin_left = 218.0
margin_right = 350.0
margin_bottom = 57.0
rect_min_size = Vector2( 132, 57 )
hint_tooltip = "Plays an alarm tune
depending on the weather
when the alarm goes off"
mouse_default_cursor_shape = 2
size_flags_horizontal = 10
size_flags_vertical = 3
toggle_mode = true
pressed = true
texture_normal = ExtResource( 8 )
texture_pressed = ExtResource( 7 )
expand = true
stretch_mode = 4
[node name="customs" type="VBoxContainer" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer"]
unique_name_in_owner = true
margin_top = 362.0
margin_right = 350.0
margin_bottom = 419.0
[node name="HBoxContainer" type="HBoxContainer" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs"]
margin_right = 350.0
margin_bottom = 57.0
[node name="Label" type="Label" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/HBoxContainer"]
margin_top = 17.0
margin_right = 139.0
margin_bottom = 39.0
text = " Custom music"
[node name="alarm_weather_override" type="TextureButton" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/HBoxContainer"]
unique_name_in_owner = true
margin_left = 218.0
margin_right = 350.0
margin_bottom = 57.0
rect_min_size = Vector2( 132, 57 )
hint_tooltip = "Select a specific tune to be played
instead of automatically picking one
according to the weather"
mouse_default_cursor_shape = 2
size_flags_horizontal = 10
size_flags_vertical = 3
toggle_mode = true
texture_normal = ExtResource( 8 )
texture_pressed = ExtResource( 7 )
expand = true
stretch_mode = 4
[node name="override_panel" type="PanelContainer" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs"]
unique_name_in_owner = true
visible = false
margin_top = 61.0
margin_right = 350.0
margin_bottom = 221.0
[node name="alarm_music_override_selection" type="GridContainer" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel"]
unique_name_in_owner = true
margin_left = 15.0
margin_top = 5.0
margin_right = 335.0
margin_bottom = 155.0
rect_min_size = Vector2( 0, 150 )
size_flags_horizontal = 3
columns = 4
script = ExtResource( 18 )
[node name="weather_cloudy" type="Button" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection"]
margin_right = 77.0
margin_bottom = 73.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = "SelectedItem"
toggle_mode = true
icon = ExtResource( 14 )
icon_align = 1
expand_icon = true
[node name="weather_foggy" type="Button" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection"]
margin_left = 81.0
margin_right = 158.0
margin_bottom = 73.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = "SelectedItem"
toggle_mode = true
icon = ExtResource( 11 )
icon_align = 1
expand_icon = true
[node name="weather_partlycloudy" type="Button" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection"]
margin_left = 162.0
margin_right = 239.0
margin_bottom = 73.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = "SelectedItem"
toggle_mode = true
icon = ExtResource( 16 )
icon_align = 1
expand_icon = true
[node name="weather_rainy" type="Button" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection"]
margin_left = 243.0
margin_right = 320.0
margin_bottom = 73.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = "SelectedItem"
toggle_mode = true
icon = ExtResource( 9 )
icon_align = 1
expand_icon = true
[node name="weather_snowy" type="Button" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection"]
margin_top = 77.0
margin_right = 77.0
margin_bottom = 150.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = "SelectedItem"
toggle_mode = true
icon = ExtResource( 15 )
icon_align = 1
expand_icon = true
[node name="weather_stormy" type="Button" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection"]
margin_left = 81.0
margin_top = 77.0
margin_right = 158.0
margin_bottom = 150.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = "SelectedItem"
toggle_mode = true
icon = ExtResource( 13 )
icon_align = 1
expand_icon = true
[node name="weather_sunny" type="Button" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection"]
margin_left = 162.0
margin_top = 77.0
margin_right = 239.0
margin_bottom = 150.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = "SelectedItem"
toggle_mode = true
pressed = true
icon = ExtResource( 12 )
icon_align = 1
expand_icon = true
[node name="weather_unknown" type="Button" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection"]
margin_left = 243.0
margin_top = 77.0
margin_right = 320.0
margin_bottom = 150.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = "SelectedItem"
toggle_mode = true
icon = ExtResource( 10 )
icon_align = 1
expand_icon = true
[node name="Control" type="Control" parent="edit/VBoxContainer/ScrollContainer/VBoxContainer"]
margin_top = 423.0
margin_right = 350.0
margin_bottom = 537.0
size_flags_vertical = 3
[node name="HBoxContainer2" type="HBoxContainer" parent="edit"]
margin_top = 590.0
margin_right = 350.0
margin_bottom = 636.0
rect_min_size = Vector2( 0, 46 )
mouse_filter = 2
[node name="save_button" type="TextureButton" parent="edit/HBoxContainer2"]
margin_right = 350.0
margin_bottom = 46.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
texture_normal = ExtResource( 6 )
expand = true
stretch_mode = 5
[node name="Control" type="Control" parent="edit"]
margin_top = 640.0
margin_right = 350.0
margin_bottom = 650.0
rect_min_size = Vector2( 0, 10 )
[connection signal="pressed" from="main/HBoxContainer2/add_button" to="." method="_on_add_button_pressed"]
[connection signal="pressed" from="edit/HBoxContainer/Control/cancel_button" to="." method="_on_cancel_button_pressed"]
[connection signal="value_changed" from="edit/VBoxContainer/ScrollContainer/VBoxContainer/VBoxContainer/alarm_moment_hour" to="." method="_on_alarm_moment_hour_value_changed"]
[connection signal="value_changed" from="edit/VBoxContainer/ScrollContainer/VBoxContainer/VBoxContainer/alarm_moment_minute" to="." method="_on_alarm_moment_minute_value_changed"]
[connection signal="toggled" from="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer2/alarm_snoozable" to="." method="_on_alarm_snoozable_toggled"]
[connection signal="toggled" from="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer4/alarm_speak_time" to="." method="_on_alarm_speak_time_toggled"]
[connection signal="toggled" from="edit/VBoxContainer/ScrollContainer/VBoxContainer/HBoxContainer3/alarm_play_music" to="." method="_on_alarm_play_music_toggled"]
[connection signal="toggled" from="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/HBoxContainer/alarm_weather_override" to="." method="_on_alarm_weather_override_toggled"]
[connection signal="selected" from="edit/VBoxContainer/ScrollContainer/VBoxContainer/customs/override_panel/alarm_music_override_selection" to="." method="_on_alarm_music_override_selection_selected"]
[connection signal="pressed" from="edit/HBoxContainer2/save_button" to="." method="_on_save_button_pressed"]