meow
This commit is contained in:
parent
181f3eaf50
commit
35efa621e9
4 changed files with 10 additions and 3 deletions
2
clock.gd
2
clock.gd
|
|
@ -1,7 +1,7 @@
|
|||
extends Control
|
||||
|
||||
var taskbar_height : int = 50
|
||||
var bar_size : int = 10
|
||||
@export var bar_size : int = 10
|
||||
@export var bar: TextureProgressBar
|
||||
@export var label: Label
|
||||
@export var options_window: Window
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ custom_features=""
|
|||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../../Exports/Gadget Clock/MacOS/gadgetclock.zip"
|
||||
export_path="../../Exports/Gadget Clock/MacOS/sleepyclock.zip"
|
||||
patches=PackedStringArray()
|
||||
patch_delta_encoding=false
|
||||
patch_delta_compression_level_zstd=19
|
||||
|
|
@ -151,7 +151,7 @@ debug/export_console_wrapper=1
|
|||
application/liquid_glass_icon=""
|
||||
application/icon=""
|
||||
application/icon_interpolation=4
|
||||
application/bundle_identifier="dev.tabbycat.clockbar"
|
||||
application/bundle_identifier="dev.tabbycat.sleepyclock"
|
||||
application/signature=""
|
||||
application/app_category="Games"
|
||||
application/short_version=""
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ script = ExtResource("1_h2yge")
|
|||
bar = NodePath("VBoxContainer/MainContent/bar")
|
||||
label = NodePath("VBoxContainer/MainContent/Label")
|
||||
options_window = NodePath("Options Window")
|
||||
bar_position = 1
|
||||
|
||||
[node name="Bar" type="Window" parent="." unique_id=714499816]
|
||||
transparent_bg = true
|
||||
|
|
@ -132,6 +133,7 @@ oversampling_override = 1.0
|
|||
title = "SleepClock Options"
|
||||
initial_position = 1
|
||||
size = Vector2i(450, 300)
|
||||
visible = false
|
||||
unresizable = true
|
||||
always_on_top = true
|
||||
minimize_disabled = true
|
||||
|
|
@ -217,6 +219,7 @@ text = "Bar Position"
|
|||
|
||||
[node name="OptionButton" type="OptionButton" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1955200779]
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
selected = 0
|
||||
item_count = 2
|
||||
popup/item_0/text = "Bottom"
|
||||
|
|
@ -243,12 +246,14 @@ min_value = 10.0
|
|||
max_value = 50.0
|
||||
step = 10.0
|
||||
value = 10.0
|
||||
editable = false
|
||||
tick_count = 5
|
||||
ticks_on_borders = true
|
||||
|
||||
[node name="Label2" type="Label" parent="Options Window/MarginContainer/VBoxContainer" unique_id=201796106]
|
||||
layout_mode = 2
|
||||
text = "todo:
|
||||
- position and size
|
||||
- text to display inside bar"
|
||||
label_settings = SubResource("LabelSettings_1bvp3")
|
||||
|
||||
|
|
|
|||
|
|
@ -3,3 +3,5 @@ class_name SleepyclockSave
|
|||
|
||||
@export var end_time : float = 0 # number of seconds past midnight the clock bar should fill up
|
||||
@export var duration : float = 7200 # number of seconds the clock bar should progress for (end_time - duration = "start_time")
|
||||
#@export var position : int = 0
|
||||
#@export var size : int = 10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue