more options yippeee!!
This commit is contained in:
parent
960c0277ae
commit
278cddcf22
5 changed files with 120 additions and 20 deletions
56
main.tscn
56
main.tscn
|
|
@ -128,7 +128,7 @@ 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")
|
||||
|
||||
[node name="Options Window" type="Window" parent="." unique_id=1651073981 node_paths=PackedStringArray("sleep_h", "sleep_m", "duration_h", "duration_m", "size_label", "size_slider", "bar_color", "background_color", "warning_color", "trans_label", "trans_slider")]
|
||||
[node name="Options Window" type="Window" parent="." unique_id=1651073981 node_paths=PackedStringArray("sleep_h", "sleep_m", "duration_h", "duration_m", "size_label", "size_slider", "bar_color", "background_color", "warning_color", "trans_label", "trans_slider", "warning_h", "warning_m", "flash_check", "before_h", "before_m", "after_h", "after_m", "style_dropdown", "position_dropdown")]
|
||||
oversampling_override = 1.0
|
||||
title = "SleepyClock Options"
|
||||
initial_position = 1
|
||||
|
|
@ -149,6 +149,15 @@ background_color = NodePath("MarginContainer/VBoxContainer/GridContainer/backgro
|
|||
warning_color = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer4/warningColor")
|
||||
trans_label = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer7/transLabel")
|
||||
trans_slider = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer7/transSlider")
|
||||
warning_h = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer4/warningH")
|
||||
warning_m = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer4/warningM")
|
||||
flash_check = NodePath("MarginContainer/VBoxContainer/GridContainer/flashCheck")
|
||||
before_h = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer5/beforeH")
|
||||
before_m = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer5/beforeM")
|
||||
after_h = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer6/afterH")
|
||||
after_m = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer6/afterM")
|
||||
style_dropdown = NodePath("MarginContainer/VBoxContainer/GridContainer/styleDropdown")
|
||||
position_dropdown = NodePath("MarginContainer/VBoxContainer/GridContainer/positionDropdown")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Options Window" unique_id=426909220]
|
||||
anchors_preset = 15
|
||||
|
|
@ -317,7 +326,6 @@ layout_mode = 2
|
|||
size_flags_horizontal = 3
|
||||
max_value = 23.0
|
||||
value = 1.0
|
||||
editable = false
|
||||
suffix = "h"
|
||||
select_all_on_focus = true
|
||||
|
||||
|
|
@ -325,7 +333,6 @@ select_all_on_focus = true
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
max_value = 59.0
|
||||
editable = false
|
||||
suffix = "m"
|
||||
select_all_on_focus = true
|
||||
|
||||
|
|
@ -338,7 +345,6 @@ text = "flash bar when time ends 🛈"
|
|||
[node name="flashCheck" type="CheckButton" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1168112585]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
disabled = true
|
||||
|
||||
[node name="Label8" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=280072151]
|
||||
layout_mode = 2
|
||||
|
|
@ -349,11 +355,17 @@ text = "Display before time starts 🛈"
|
|||
[node name="HBoxContainer5" type="HBoxContainer" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=2104802150]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="beforeH" type="SpinBox" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer5" unique_id=239006734]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
max_value = 23.0
|
||||
suffix = "h"
|
||||
select_all_on_focus = true
|
||||
|
||||
[node name="beforeM" type="SpinBox" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer5" unique_id=157077084]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
max_value = 59.0
|
||||
editable = false
|
||||
suffix = "m"
|
||||
select_all_on_focus = true
|
||||
|
||||
|
|
@ -366,14 +378,39 @@ text = "Display after time ends 🛈"
|
|||
[node name="HBoxContainer6" type="HBoxContainer" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1503325100]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="afterH" type="SpinBox" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer6" unique_id=514335276]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
max_value = 23.0
|
||||
suffix = "h"
|
||||
select_all_on_focus = true
|
||||
|
||||
[node name="afterM" type="SpinBox" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer6" unique_id=1517063919]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
max_value = 59.0
|
||||
editable = false
|
||||
suffix = "m"
|
||||
select_all_on_focus = true
|
||||
|
||||
[node name="Label12" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=900821531]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Filling or Emptying changed weather the bar grows or shrinks over time. Reversed swaps the diretion of the bars movement"
|
||||
mouse_filter = 1
|
||||
text = "Progress Style 🛈"
|
||||
|
||||
[node name="styleDropdown" type="OptionButton" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1485870511]
|
||||
layout_mode = 2
|
||||
selected = 0
|
||||
item_count = 4
|
||||
popup/item_0/text = "Filling"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Filling Reversed"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Emptying"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "Emptying Reversed"
|
||||
popup/item_3/id = 3
|
||||
|
||||
[node name="Label2" type="Label" parent="Options Window/MarginContainer/VBoxContainer" unique_id=201796106]
|
||||
layout_mode = 2
|
||||
text = "todo:
|
||||
|
|
@ -410,5 +447,12 @@ text = "Save"
|
|||
[connection signal="color_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/barColor" to="Options Window" method="_on_bar_color_color_changed"]
|
||||
[connection signal="color_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/backgroundColor" to="Options Window" method="_on_background_color_color_changed"]
|
||||
[connection signal="color_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4/warningColor" to="Options Window" method="_on_warning_color_color_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4/warningH" to="Options Window" method="_on_warning_value_changed"]
|
||||
[connection signal="toggled" from="Options Window/MarginContainer/VBoxContainer/GridContainer/flashCheck" to="Options Window" method="_on_flash_check_toggled"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer5/beforeH" to="Options Window" method="_on_before_value_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer5/beforeM" to="Options Window" method="_on_before_value_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer6/afterH" to="Options Window" method="_on_after_value_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer6/afterM" to="Options Window" method="_on_after_value_changed"]
|
||||
[connection signal="item_selected" from="Options Window/MarginContainer/VBoxContainer/GridContainer/styleDropdown" to="Options Window" method="_on_style_dropdown_item_selected"]
|
||||
[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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue