SleepyClock/main.tscn

143 lines
4.4 KiB
Text
Raw Normal View History

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"]
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
[node name="Control" type="Control" unique_id=577067945 node_paths=PackedStringArray("bar", "label")]
2026-05-27 01:42:45 +10:00
modulate = Color(1, 1, 1, 0.42745098)
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")
bar_position = 1
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
min_value = 11.5
max_value = 13.5
step = 0.0
2026-05-29 02:00:57 +10:00
value = 11.81
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-21 00:22:40 +10:00
[node name="StatusIndicator" type="StatusIndicator" parent="." unique_id=1039426600]
2025-05-31 13:03:59 +10:00
icon = ExtResource("3_h2yge")
menu = NodePath("PopupMenu")
2026-05-21 00:22:40 +10:00
[node name="PopupMenu" type="PopupMenu" parent="StatusIndicator" unique_id=1255435033]
2025-06-22 12:26:49 +10:00
item_count = 6
2025-05-31 13:03:59 +10:00
item_0/text = "Exit"
item_0/id = 0
2025-06-01 09:39:46 +10:00
item_1/id = 1
item_1/separator = true
2025-06-22 12:26:49 +10:00
item_2/text = "Smaller"
2025-06-01 09:39:46 +10:00
item_2/checkable = 2
2025-06-22 12:26:49 +10:00
item_2/id = 5
item_3/text = "Small"
2025-06-01 09:39:46 +10:00
item_3/checkable = 2
2025-06-22 12:26:49 +10:00
item_3/checked = true
item_3/id = 2
item_4/text = "Medium"
2025-06-01 09:39:46 +10:00
item_4/checkable = 2
2025-06-22 12:26:49 +10:00
item_4/id = 3
item_5/text = "Large"
item_5/checkable = 2
item_5/id = 4
2025-05-31 13:03:59 +10:00
2026-05-31 14:46:40 +10:00
[node name="Window" type="Window" parent="." unique_id=1001535585]
oversampling_override = 1.0
always_on_top = true
force_native = true
[node name="VBoxContainer" type="VBoxContainer" parent="Window" unique_id=797740471]
offset_right = 40.0
offset_bottom = 40.0
[node name="Label" type="Label" parent="Window/VBoxContainer" unique_id=140895632]
layout_mode = 2
text = "meow"
2025-05-31 13:03:59 +10:00
[connection signal="gui_input" from="VBoxContainer/TitleBar" to="VBoxContainer/TitleBar" method="_on_TitleBar_gui_input"]
[connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="." method="_on_popup_menu_id_pressed"]
2025-06-01 09:39:46 +10:00
[connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="VBoxContainer/TitleBar" method="_on_popup_menu_id_pressed"]