got options window working

This commit is contained in:
Tabby 2026-05-31 15:03:22 +10:00
parent 9baedc6550
commit 904db7c6fb
23 changed files with 24 additions and 329 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 B

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://brljmipci58rq"
path="res://.godot/imported/offTask.png-4088ef42c4e956c24345f79ce068106b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/offTask.png"
dest_files=["res://.godot/imported/offTask.png-4088ef42c4e956c24345f79ce068106b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 B

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://duvep02qg1u5d"
path="res://.godot/imported/offTaskHover.png-204a2399884ee63b4217e3d29749aa85.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/offTaskHover.png"
dest_files=["res://.godot/imported/offTaskHover.png-204a2399884ee63b4217e3d29749aa85.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 B

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c2hn0uem08y1x"
path="res://.godot/imported/offTaskPressed.png-62dd4b8b127a98f8dd4490862ecc477b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/offTaskPressed.png"
dest_files=["res://.godot/imported/offTaskPressed.png-62dd4b8b127a98f8dd4490862ecc477b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 403 B

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://buemgq8amjorw"
path="res://.godot/imported/paused.png-ea3edd41c02e88690e5027d82af3c668.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/paused.png"
dest_files=["res://.godot/imported/paused.png-ea3edd41c02e88690e5027d82af3c668.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 402 B

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cdmqqnh3ofp8u"
path="res://.godot/imported/pausedHover.png-58a8e779a35e62cd8e888592ae048e05.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/pausedHover.png"
dest_files=["res://.godot/imported/pausedHover.png-58a8e779a35e62cd8e888592ae048e05.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b7kxpcujq3cqn"
path="res://.godot/imported/pausedPressed.png-e86f1d6be1518ed430556c08151d3173.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/pausedPressed.png"
dest_files=["res://.godot/imported/pausedPressed.png-e86f1d6be1518ed430556c08151d3173.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b502wtiwv20em"
path="res://.godot/imported/statusIcon.png-56aff46cca01790c3229dbdd9ca30440.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/statusIcon.png"
dest_files=["res://.godot/imported/statusIcon.png-56aff46cca01790c3229dbdd9ca30440.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -13,7 +13,7 @@ enum Position {
Left,
}
# Called when the node enters the scene tree fscor the first time.
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
setup_window()

View file

@ -16,6 +16,7 @@ font_size = 11
[node name="Control" type="Control" unique_id=577067945 node_paths=PackedStringArray("bar", "label")]
modulate = Color(1, 1, 1, 0.42745098)
top_level = true
layout_mode = 3
anchors_preset = 12
anchor_top = 1.0
@ -124,18 +125,21 @@ item_5/text = "Large"
item_5/checkable = 2
item_5/id = 4
[node name="Window" type="Window" parent="." unique_id=1001535585]
[node name="Options Window" type="Window" parent="." unique_id=1651073981]
oversampling_override = 1.0
title = "SleepClock Options"
initial_position = 1
size = Vector2i(450, 300)
always_on_top = true
force_native = true
[node name="VBoxContainer" type="VBoxContainer" parent="Window" unique_id=797740471]
[node name="Label" type="Label" parent="Options Window" unique_id=201796106]
offset_right = 40.0
offset_bottom = 40.0
[node name="Label" type="Label" parent="Window/VBoxContainer" unique_id=140895632]
layout_mode = 2
text = "meow"
offset_bottom = 23.0
text = "Things that will go here:
- bar end time
- bar duration
- text to display inside bar
"
[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"]

10
options.tscn Normal file
View file

@ -0,0 +1,10 @@
[gd_scene format=3 uid="uid://bicj4fnu3a5uu"]
[node name="Window" type="Window" unique_id=1651073981]
oversampling_override = 1.0
initial_position = 1
[node name="Label" type="Label" parent="." unique_id=201796106]
offset_right = 40.0
offset_bottom = 23.0
text = "meow"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://8b1b188aav14"
path="res://.godot/imported/payphone.png-3f09abd3d9de30b265cbbbde3a27d50a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://payphone.png"
dest_files=["res://.godot/imported/payphone.png-3f09abd3d9de30b265cbbbde3a27d50a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -31,6 +31,7 @@ window/size/borderless=true
window/size/always_on_top=true
window/size/transparent=true
window/size/no_focus=true
window/subwindows/embed_subwindows=false
window/stretch/aspect="ignore"
window/per_pixel_transparency/allowed=true