got options window working
This commit is contained in:
parent
9baedc6550
commit
904db7c6fb
23 changed files with 24 additions and 329 deletions
20
main.tscn
20
main.tscn
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue