2026-05-21 00:22:40 +10:00
|
|
|
[gd_scene format=3 uid="uid://df4wh83ypl085"]
|
2025-05-31 13:03:59 +10:00
|
|
|
|
2026-05-27 01:42:45 +10:00
|
|
|
[ext_resource type="Script" uid="uid://dp4nvppf3b0gj" path="res://clock.gd" id="1_h2yge"]
|
2025-05-31 13:03:59 +10:00
|
|
|
[ext_resource type="Script" uid="uid://njpp5gvmxi7f" path="res://TitleBar.gd" id="1_ig7tw"]
|
2026-05-31 14:46:40 +10:00
|
|
|
[ext_resource type="Texture2D" uid="uid://j8lswk62w1d3" path="res://Logo/logo taskbar.png" id="3_h2yge"]
|
2026-05-31 21:28:25 +10:00
|
|
|
[ext_resource type="Script" uid="uid://dg7m1s0i4ud5m" path="res://options_window.gd" id="4_1bvp3"]
|
2025-05-31 13:03:59 +10:00
|
|
|
|
2026-05-27 01:42:45 +10:00
|
|
|
[sub_resource type="Gradient" id="Gradient_h2yge"]
|
|
|
|
|
offsets = PackedFloat32Array(1)
|
|
|
|
|
colors = PackedColorArray(1, 1, 1, 1)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_1bvp3"]
|
|
|
|
|
gradient = SubResource("Gradient_h2yge")
|
|
|
|
|
|
2026-05-29 02:00:57 +10:00
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_h2yge"]
|
|
|
|
|
font_size = 11
|
|
|
|
|
|
2026-05-31 20:56:40 +10:00
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_1bvp3"]
|
|
|
|
|
font_color = Color(0.63375676, 0.6337568, 0.63375676, 1)
|
|
|
|
|
|
2026-05-31 21:28:25 +10:00
|
|
|
[node name="SleepyClock" type="Control" unique_id=577067945 node_paths=PackedStringArray("bar", "label", "options_window")]
|
2026-05-27 01:42:45 +10:00
|
|
|
modulate = Color(1, 1, 1, 0.42745098)
|
2026-05-31 15:03:22 +10:00
|
|
|
top_level = true
|
2025-05-31 13:03:59 +10:00
|
|
|
layout_mode = 3
|
2026-05-27 01:42:45 +10:00
|
|
|
anchors_preset = 12
|
|
|
|
|
anchor_top = 1.0
|
2025-05-31 13:03:59 +10:00
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
2026-05-27 01:42:45 +10:00
|
|
|
offset_top = -10.0
|
2025-05-31 13:03:59 +10:00
|
|
|
grow_horizontal = 2
|
2026-05-27 01:42:45 +10:00
|
|
|
grow_vertical = 0
|
2026-05-21 00:22:40 +10:00
|
|
|
script = ExtResource("1_h2yge")
|
2026-05-27 01:42:45 +10:00
|
|
|
bar = NodePath("VBoxContainer/MainContent/bar")
|
2026-05-29 02:00:57 +10:00
|
|
|
label = NodePath("VBoxContainer/MainContent/Label")
|
2026-05-31 21:28:25 +10:00
|
|
|
options_window = NodePath("Options Window")
|
2026-06-01 00:33:34 +10:00
|
|
|
bar_position = 1
|
2026-05-31 20:56:40 +10:00
|
|
|
|
|
|
|
|
[node name="Bar" type="Window" parent="." unique_id=714499816]
|
|
|
|
|
transparent_bg = true
|
|
|
|
|
oversampling_override = 1.0
|
|
|
|
|
visible = false
|
|
|
|
|
borderless = true
|
|
|
|
|
always_on_top = true
|
|
|
|
|
transparent = true
|
|
|
|
|
unfocusable = true
|
|
|
|
|
|
|
|
|
|
[node name="StatusIndicator" type="StatusIndicator" parent="." unique_id=1039426600]
|
|
|
|
|
icon = ExtResource("3_h2yge")
|
|
|
|
|
menu = NodePath("PopupMenu")
|
|
|
|
|
|
|
|
|
|
[node name="PopupMenu" type="PopupMenu" parent="StatusIndicator" unique_id=1255435033]
|
2026-05-31 21:28:25 +10:00
|
|
|
item_count = 3
|
|
|
|
|
item_0/text = "Sleepyclock"
|
|
|
|
|
item_0/icon = ExtResource("3_h2yge")
|
|
|
|
|
item_0/id = 2
|
|
|
|
|
item_0/disabled = true
|
|
|
|
|
item_1/text = "Options"
|
2026-05-31 20:56:40 +10:00
|
|
|
item_1/id = 1
|
2026-05-31 21:28:25 +10:00
|
|
|
item_2/text = "Exit"
|
|
|
|
|
item_2/id = 0
|
2026-05-21 00:22:40 +10:00
|
|
|
|
|
|
|
|
[node name="Background" type="ColorRect" parent="." unique_id=641703216]
|
2025-05-31 13:03:59 +10:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
2026-05-21 00:22:40 +10:00
|
|
|
color = Color(0.31691015, 0.00042817116, 0.42128003, 1)
|
2025-05-31 13:03:59 +10:00
|
|
|
|
2026-05-21 00:22:40 +10:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=670454016]
|
2025-05-31 13:03:59 +10:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
2026-05-21 00:22:40 +10:00
|
|
|
[node name="TitleBar" type="PanelContainer" parent="VBoxContainer" unique_id=1245189107 node_paths=PackedStringArray("options_menu")]
|
2026-05-27 01:42:45 +10:00
|
|
|
visible = false
|
2025-05-31 13:03:59 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
script = ExtResource("1_ig7tw")
|
2025-06-01 09:39:46 +10:00
|
|
|
options_menu = NodePath("../../StatusIndicator/PopupMenu")
|
2025-05-31 13:03:59 +10:00
|
|
|
|
2026-05-21 00:22:40 +10:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TitleBar" unique_id=1199806333]
|
2025-05-31 13:03:59 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
alignment = 1
|
|
|
|
|
|
2026-05-21 00:22:40 +10:00
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/TitleBar/HBoxContainer" unique_id=804273888]
|
2025-05-31 13:03:59 +10:00
|
|
|
layout_mode = 2
|
2026-05-21 00:22:40 +10:00
|
|
|
text = "Payphone Watcher"
|
2025-05-31 13:03:59 +10:00
|
|
|
|
2026-05-21 00:22:40 +10:00
|
|
|
[node name="MainContent" type="Control" parent="VBoxContainer" unique_id=1523584708]
|
2025-05-31 13:03:59 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
2026-05-21 00:22:40 +10:00
|
|
|
[node name="OnTask" type="VBoxContainer" parent="VBoxContainer/MainContent" unique_id=1800861120]
|
2025-05-31 13:03:59 +10:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
size_flags_vertical = 3
|
2026-05-21 00:22:40 +10:00
|
|
|
theme_override_constants/separation = 0
|
2025-05-31 13:03:59 +10:00
|
|
|
alignment = 1
|
|
|
|
|
|
2026-05-27 01:42:45 +10:00
|
|
|
[node name="bar" type="TextureProgressBar" parent="VBoxContainer/MainContent" unique_id=1249279407]
|
|
|
|
|
modulate = Color(0, 0.64705884, 1, 1)
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
step = 0.0
|
2026-06-01 00:13:23 +10:00
|
|
|
value = 50.0
|
2026-05-27 01:42:45 +10:00
|
|
|
nine_patch_stretch = true
|
|
|
|
|
texture_progress = SubResource("GradientTexture1D_1bvp3")
|
2025-05-31 13:03:59 +10:00
|
|
|
|
2026-05-29 02:00:57 +10:00
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/MainContent" unique_id=2054367507]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
text = "12:34 Remaining Until Sleepy time, there is alot of space for text you can work with here meow meow meow meow"
|
|
|
|
|
label_settings = SubResource("LabelSettings_h2yge")
|
|
|
|
|
|
2026-05-31 21:28:25 +10:00
|
|
|
[node name="Options Window" type="Window" parent="." unique_id=1651073981 node_paths=PackedStringArray("sleep_h", "sleep_m", "duration_h", "duration_m")]
|
2026-05-31 14:46:40 +10:00
|
|
|
oversampling_override = 1.0
|
2026-05-31 15:03:22 +10:00
|
|
|
title = "SleepClock Options"
|
|
|
|
|
initial_position = 1
|
|
|
|
|
size = Vector2i(450, 300)
|
2026-06-01 00:33:34 +10:00
|
|
|
visible = false
|
2026-05-31 20:56:40 +10:00
|
|
|
unresizable = true
|
2026-05-31 14:46:40 +10:00
|
|
|
always_on_top = true
|
2026-05-31 20:56:40 +10:00
|
|
|
minimize_disabled = true
|
|
|
|
|
maximize_disabled = true
|
2026-05-31 21:28:25 +10:00
|
|
|
script = ExtResource("4_1bvp3")
|
|
|
|
|
sleep_h = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer/sleepH")
|
|
|
|
|
sleep_m = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer/sleepM")
|
|
|
|
|
duration_h = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer2/durationH")
|
|
|
|
|
duration_m = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer2/durationM")
|
2026-05-31 14:46:40 +10:00
|
|
|
|
2026-05-31 20:56:40 +10:00
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Options Window" unique_id=426909220]
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
theme_override_constants/margin_left = 5
|
|
|
|
|
theme_override_constants/margin_top = 5
|
|
|
|
|
theme_override_constants/margin_right = 5
|
|
|
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Options Window/MarginContainer" unique_id=254348110]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="Options Window/MarginContainer/VBoxContainer" unique_id=974042207]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
columns = 2
|
|
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=2012826546]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
2026-05-31 21:28:25 +10:00
|
|
|
tooltip_text = "This is the time at which the bar should completely fill up"
|
|
|
|
|
mouse_filter = 1
|
|
|
|
|
text = "Sleep Time (24 hour time): 🛈"
|
2026-05-31 20:56:40 +10:00
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=34542284]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
2026-05-31 21:28:25 +10:00
|
|
|
[node name="sleepH" type="SpinBox" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer" unique_id=53115223]
|
2026-05-31 20:56:40 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
max_value = 23.0
|
|
|
|
|
suffix = "h"
|
2026-05-31 23:34:29 +10:00
|
|
|
select_all_on_focus = true
|
2026-05-31 20:56:40 +10:00
|
|
|
|
2026-05-31 21:28:25 +10:00
|
|
|
[node name="sleepM" type="SpinBox" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer" unique_id=1582897710]
|
2026-05-31 20:56:40 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
max_value = 59.0
|
|
|
|
|
suffix = "m"
|
2026-05-31 23:34:29 +10:00
|
|
|
select_all_on_focus = true
|
2026-05-31 20:56:40 +10:00
|
|
|
|
|
|
|
|
[node name="Label3" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1956355233]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
2026-05-31 21:28:25 +10:00
|
|
|
tooltip_text = "How long it should take for the bar to fill"
|
|
|
|
|
mouse_filter = 1
|
|
|
|
|
text = "Bar/Clock Duration: 🛈"
|
2026-05-31 20:56:40 +10:00
|
|
|
|
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=650035341]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
2026-05-31 21:28:25 +10:00
|
|
|
[node name="durationH" type="SpinBox" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2" unique_id=1511471443]
|
2026-05-31 20:56:40 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
max_value = 23.0
|
|
|
|
|
suffix = "h"
|
2026-05-31 23:34:29 +10:00
|
|
|
select_all_on_focus = true
|
2026-05-31 20:56:40 +10:00
|
|
|
|
2026-05-31 21:28:25 +10:00
|
|
|
[node name="durationM" type="SpinBox" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2" unique_id=1155242421]
|
2026-05-31 20:56:40 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
max_value = 59.0
|
|
|
|
|
suffix = "m"
|
2026-05-31 23:34:29 +10:00
|
|
|
select_all_on_focus = true
|
2026-05-31 20:56:40 +10:00
|
|
|
|
2026-06-01 00:13:23 +10:00
|
|
|
[node name="Label4" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1856476808]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Bar Position"
|
|
|
|
|
|
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1955200779]
|
|
|
|
|
layout_mode = 2
|
2026-06-01 00:33:34 +10:00
|
|
|
disabled = true
|
2026-06-01 00:13:23 +10:00
|
|
|
selected = 0
|
|
|
|
|
item_count = 2
|
|
|
|
|
popup/item_0/text = "Bottom"
|
|
|
|
|
popup/item_0/id = 0
|
|
|
|
|
popup/item_1/text = "Right"
|
|
|
|
|
popup/item_1/id = 1
|
|
|
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1597493397]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Bar Size"
|
|
|
|
|
|
|
|
|
|
[node name="HBoxContainer3" type="HBoxContainer" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1274134494]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer3" unique_id=531473775]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "10px"
|
|
|
|
|
|
|
|
|
|
[node name="HSlider" type="HSlider" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer3" unique_id=271540690]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
min_value = 10.0
|
|
|
|
|
max_value = 50.0
|
|
|
|
|
step = 10.0
|
|
|
|
|
value = 10.0
|
2026-06-01 00:33:34 +10:00
|
|
|
editable = false
|
2026-06-01 00:13:23 +10:00
|
|
|
tick_count = 5
|
|
|
|
|
ticks_on_borders = true
|
|
|
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="Options Window/MarginContainer/VBoxContainer" unique_id=201796106]
|
2026-05-31 20:56:40 +10:00
|
|
|
layout_mode = 2
|
2026-06-01 00:13:23 +10:00
|
|
|
text = "todo:
|
2026-06-01 00:33:34 +10:00
|
|
|
- position and size
|
2026-06-01 00:13:23 +10:00
|
|
|
- text to display inside bar"
|
2026-05-31 20:56:40 +10:00
|
|
|
label_settings = SubResource("LabelSettings_1bvp3")
|
|
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Options Window/MarginContainer/VBoxContainer" unique_id=2066769118]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
2026-05-31 21:28:25 +10:00
|
|
|
[node name="cancelButton" type="Button" parent="Options Window/MarginContainer/VBoxContainer/HBoxContainer" unique_id=1764524981]
|
2026-05-31 20:56:40 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
text = "Cancel"
|
|
|
|
|
|
2026-05-31 21:28:25 +10:00
|
|
|
[node name="saveButton" type="Button" parent="Options Window/MarginContainer/VBoxContainer/HBoxContainer" unique_id=1904551975]
|
2026-05-31 20:56:40 +10:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
text = "Save"
|
2026-05-31 14:46:40 +10:00
|
|
|
|
2025-05-31 13:03:59 +10:00
|
|
|
[connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="." method="_on_popup_menu_id_pressed"]
|
2026-05-31 20:56:40 +10:00
|
|
|
[connection signal="gui_input" from="VBoxContainer/TitleBar" to="VBoxContainer/TitleBar" method="_on_TitleBar_gui_input"]
|
2026-05-31 21:28:25 +10:00
|
|
|
[connection signal="close_requested" from="Options Window" to="Options Window" method="_on_close_requested"]
|
|
|
|
|
[connection signal="visibility_changed" from="Options Window" to="Options Window" method="_on_visibility_changed"]
|
|
|
|
|
[connection signal="pressed" from="Options Window/MarginContainer/VBoxContainer/HBoxContainer/cancelButton" to="Options Window" method="_on_cancel_button_pressed"]
|
|
|
|
|
[connection signal="pressed" from="Options Window/MarginContainer/VBoxContainer/HBoxContainer/saveButton" to="Options Window" method="_on_save_button_pressed"]
|