bunch of new options, removed other project data
This commit is contained in:
parent
733a8fd6c0
commit
bfee9448f5
11 changed files with 96 additions and 225 deletions
48
main.tscn
48
main.tscn
|
|
@ -18,7 +18,7 @@ font_size = 11
|
|||
[sub_resource type="LabelSettings" id="LabelSettings_1bvp3"]
|
||||
font_color = Color(0.63375676, 0.6337568, 0.63375676, 1)
|
||||
|
||||
[node name="SleepyClock" type="Control" unique_id=577067945 node_paths=PackedStringArray("bar", "label", "options_window")]
|
||||
[node name="SleepyClock" type="Control" unique_id=577067945 node_paths=PackedStringArray("bar", "label", "options_window", "background")]
|
||||
modulate = Color(1, 1, 1, 0.42745098)
|
||||
top_level = true
|
||||
layout_mode = 3
|
||||
|
|
@ -33,6 +33,7 @@ script = ExtResource("1_h2yge")
|
|||
bar = NodePath("VBoxContainer/MainContent/bar")
|
||||
label = NodePath("VBoxContainer/MainContent/Label")
|
||||
options_window = NodePath("Options Window")
|
||||
background = NodePath("Background")
|
||||
|
||||
[node name="Bar" type="Window" parent="." unique_id=714499816]
|
||||
transparent_bg = true
|
||||
|
|
@ -127,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")]
|
||||
[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")]
|
||||
oversampling_override = 1.0
|
||||
title = "SleepyClock Options"
|
||||
initial_position = 1
|
||||
|
|
@ -143,6 +144,11 @@ duration_h = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer
|
|||
duration_m = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer2/durationM")
|
||||
size_label = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer3/sizeLabel")
|
||||
size_slider = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer3/sizeSlider")
|
||||
bar_color = NodePath("MarginContainer/VBoxContainer/GridContainer/barColor")
|
||||
background_color = NodePath("MarginContainer/VBoxContainer/GridContainer/backgroundColor")
|
||||
warning_color = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer4/warningColor")
|
||||
trans_label = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer7/transLabel")
|
||||
trans_slider = NodePath("MarginContainer/VBoxContainer/GridContainer/HBoxContainer7/transSlider")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Options Window" unique_id=426909220]
|
||||
anchors_preset = 15
|
||||
|
|
@ -251,6 +257,30 @@ value = 10.0
|
|||
tick_count = 5
|
||||
ticks_on_borders = true
|
||||
|
||||
[node name="Label11" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1879012879]
|
||||
layout_mode = 2
|
||||
tooltip_text = "How transparent should the bar be"
|
||||
mouse_filter = 1
|
||||
text = "Bar Transparency 🛈"
|
||||
|
||||
[node name="HBoxContainer7" type="HBoxContainer" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1690404152]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="transLabel" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer7" unique_id=1732819966]
|
||||
custom_minimum_size = Vector2(45, 0)
|
||||
layout_mode = 2
|
||||
text = "100%"
|
||||
|
||||
[node name="transSlider" type="HSlider" parent="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer7" unique_id=2119026733]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
max_value = 1.0
|
||||
step = 0.01
|
||||
value = 1.0
|
||||
tick_count = 10
|
||||
ticks_on_borders = true
|
||||
|
||||
[node name="Label6" type="Label" parent="Options Window/MarginContainer/VBoxContainer/GridContainer" unique_id=1332307585]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Color that the bar should be under normal conditions"
|
||||
|
|
@ -286,6 +316,8 @@ size_flags_horizontal = 3
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
max_value = 23.0
|
||||
value = 1.0
|
||||
editable = false
|
||||
suffix = "h"
|
||||
select_all_on_focus = true
|
||||
|
||||
|
|
@ -293,6 +325,7 @@ 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
|
||||
|
||||
|
|
@ -305,6 +338,7 @@ 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
|
||||
|
|
@ -343,7 +377,7 @@ select_all_on_focus = true
|
|||
[node name="Label2" type="Label" parent="Options Window/MarginContainer/VBoxContainer" unique_id=201796106]
|
||||
layout_mode = 2
|
||||
text = "todo:
|
||||
- red threshold
|
||||
- warning threshold
|
||||
- display before/after time
|
||||
- text to display inside bar"
|
||||
label_settings = SubResource("LabelSettings_1bvp3")
|
||||
|
|
@ -372,9 +406,9 @@ text = "Save"
|
|||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2/durationM" to="Options Window" method="_on_duration_value_changed"]
|
||||
[connection signal="item_selected" from="Options Window/MarginContainer/VBoxContainer/GridContainer/positionDropdown" to="Options Window" method="_on_position_dropdown_item_selected"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer3/sizeSlider" to="Options Window" method="_on_size_slider_value_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4/warningH" to="Options Window" method="_on_duration_value_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4/warningM" to="Options Window" method="_on_duration_value_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer5/beforeM" to="Options Window" method="_on_duration_value_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer6/afterM" to="Options Window" method="_on_duration_value_changed"]
|
||||
[connection signal="value_changed" from="Options Window/MarginContainer/VBoxContainer/GridContainer/HBoxContainer7/transSlider" to="Options Window" method="_on_trans_slider_value_changed"]
|
||||
[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="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