diff --git a/Logo/logo taskbar.ico b/Logo/logo taskbar.ico new file mode 100644 index 0000000..963a046 Binary files /dev/null and b/Logo/logo taskbar.ico differ diff --git a/Logo/logo taskbar.pdn b/Logo/logo taskbar.pdn new file mode 100644 index 0000000..1aca125 Binary files /dev/null and b/Logo/logo taskbar.pdn differ diff --git a/Logo/logo taskbar.png b/Logo/logo taskbar.png new file mode 100644 index 0000000..998999a Binary files /dev/null and b/Logo/logo taskbar.png differ diff --git a/Logo/logo taskbar.png.import b/Logo/logo taskbar.png.import new file mode 100644 index 0000000..862ef12 --- /dev/null +++ b/Logo/logo taskbar.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://j8lswk62w1d3" +path="res://.godot/imported/logo taskbar.png-b0a0a9e0bbdd35aa2e0fe7f3da081c93.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Logo/logo taskbar.png" +dest_files=["res://.godot/imported/logo taskbar.png-b0a0a9e0bbdd35aa2e0fe7f3da081c93.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 diff --git a/Logo/logo.ico b/Logo/logo.ico new file mode 100644 index 0000000..6073d35 Binary files /dev/null and b/Logo/logo.ico differ diff --git a/Logo/logo.pdn b/Logo/logo.pdn new file mode 100644 index 0000000..8fbea81 Binary files /dev/null and b/Logo/logo.pdn differ diff --git a/Logo/logo.png b/Logo/logo.png new file mode 100644 index 0000000..8d8838e Binary files /dev/null and b/Logo/logo.png differ diff --git a/Logo/logo.png.import b/Logo/logo.png.import new file mode 100644 index 0000000..0f88a12 --- /dev/null +++ b/Logo/logo.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c04f20yvwuil5" +path="res://.godot/imported/logo.png-7be50586623e81d5d0021fed9f237978.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Logo/logo.png" +dest_files=["res://.godot/imported/logo.png-7be50586623e81d5d0021fed9f237978.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 diff --git a/README.md b/README.md index 4545922..e64fc5d 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,14 @@ # GadgetClockBar - [ ] refactor main clock bar code - process method + - [ ] pick time for the clock to end, and how long before that it should start (in duration - ie 2 hours) - [x] support for varied monitor size -- [ ] app / toolbar icons +- [x] app / toolbar icons - [ ] app name - Sleepyclock - [ ] toolbar menu - [ ] customisation/settings - [ ] scale on high resolution displays - [ ] remove leftover files from focus and payphone watcher +- [ ] fade/flash when time rouns out +- [ ] options save and load diff --git a/main.tscn b/main.tscn index 1ba5847..ceb3ca5 100644 --- a/main.tscn +++ b/main.tscn @@ -2,7 +2,7 @@ [ext_resource type="Script" uid="uid://dp4nvppf3b0gj" path="res://clock.gd" id="1_h2yge"] [ext_resource type="Script" uid="uid://njpp5gvmxi7f" path="res://TitleBar.gd" id="1_ig7tw"] -[ext_resource type="Texture2D" uid="uid://b502wtiwv20em" path="res://Sprites/statusIcon.png" id="3_h2yge"] +[ext_resource type="Texture2D" uid="uid://j8lswk62w1d3" path="res://Logo/logo taskbar.png" id="3_h2yge"] [sub_resource type="Gradient" id="Gradient_h2yge"] offsets = PackedFloat32Array(1) @@ -124,6 +124,19 @@ item_5/text = "Large" item_5/checkable = 2 item_5/id = 4 +[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" + [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"] [connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="VBoxContainer/TitleBar" method="_on_popup_menu_id_pressed"] diff --git a/project.godot b/project.godot index c53f55b..05f04cf 100644 --- a/project.godot +++ b/project.godot @@ -14,12 +14,13 @@ compatibility/default_parent_skeleton_in_mesh_instance_3d=true [application] -config/name="GadgetClock" +config/name="SleepyClock" run/main_scene="uid://df4wh83ypl085" config/features=PackedStringArray("4.6", "GL Compatibility") run/max_fps=60 run/low_processor_mode=true -config/icon="uid://8b1b188aav14" +config/icon="uid://j8lswk62w1d3" +config/windows_native_icon="res://Logo/logo taskbar.ico" [display]