More UI work

This commit is contained in:
2025-07-31 20:01:51 -04:00
parent 38a7ed85b0
commit 697677cf86
19 changed files with 357 additions and 84 deletions

View File

@@ -29,76 +29,6 @@ script = ExtResource("1_pdekv")
wait_time = 400000.0
autostart = true
[node name="OpenShift" type="PanelContainer" parent="."]
visible = false
layout_mode = 2
theme_override_styles/panel = ExtResource("2_b7y1i")
[node name="Margin" type="MarginContainer" parent="OpenShift"]
layout_mode = 2
theme_override_constants/margin_top = -20
theme_override_constants/margin_right = -80
[node name="OpenList" type="VBoxContainer" parent="OpenShift/Margin"]
unique_name_in_owner = true
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="OpenShift/Margin/OpenList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "Time til Next Shift"
horizontal_alignment = 1
[node name="TimerLabel" type="Label" parent="OpenShift/Margin/OpenList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "00:00:00.00"
horizontal_alignment = 1
script = ExtResource("2_5rs2c")
[node name="VisitorsLabel" type="Label" parent="OpenShift/Margin/OpenList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "000:00:00.00"
script = ExtResource("2_5rs2c")
[node name="Button" type="Button" parent="OpenShift/Margin/OpenList"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
text = "CLOSE GUILD"
[node name="WorkingShift" type="PanelContainer" parent="."]
visible = false
layout_mode = 2
theme_override_styles/panel = ExtResource("4_b7y1i")
[node name="MarginContainer" type="MarginContainer" parent="WorkingShift"]
layout_mode = 2
theme_override_constants/margin_left = -80
theme_override_constants/margin_top = -20
[node name="WorkingList" type="VBoxContainer" parent="WorkingShift/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="Label" type="Label" parent="WorkingShift/MarginContainer/WorkingList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "Time til Next Shift"
horizontal_alignment = 1
[node name="TimerLabel" type="Label" parent="WorkingShift/MarginContainer/WorkingList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "000:00:00.00"
script = ExtResource("2_5rs2c")
[node name="Button" type="Button" parent="WorkingShift/MarginContainer/WorkingList"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
text = "Show Quests"
[node name="QuestProgressList" type="ScrollContainer" parent="."]
visible = false
clip_contents = false
@@ -110,10 +40,84 @@ horizontal_scroll_mode = 0
custom_minimum_size = Vector2(300, 100)
layout_mode = 2
[node name="Notices" type="VBoxContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="OpenShift" type="PanelContainer" parent="VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_styles/panel = ExtResource("2_b7y1i")
[node name="Margin" type="MarginContainer" parent="VBoxContainer/OpenShift"]
layout_mode = 2
theme_override_constants/margin_top = -20
theme_override_constants/margin_right = -80
[node name="OpenList" type="VBoxContainer" parent="VBoxContainer/OpenShift/Margin"]
unique_name_in_owner = true
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer/OpenShift/Margin/OpenList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "Time til Next Shift"
horizontal_alignment = 1
[node name="TimerLabel" type="Label" parent="VBoxContainer/OpenShift/Margin/OpenList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "00:00:00.00"
horizontal_alignment = 1
script = ExtResource("2_5rs2c")
[node name="VisitorsLabel" type="Label" parent="VBoxContainer/OpenShift/Margin/OpenList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "000:00:00.00"
script = ExtResource("2_5rs2c")
[node name="Button" type="Button" parent="VBoxContainer/OpenShift/Margin/OpenList"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
text = "CLOSE GUILD"
[node name="WorkingShift" type="PanelContainer" parent="VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
theme_override_styles/panel = ExtResource("4_b7y1i")
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/WorkingShift"]
layout_mode = 2
theme_override_constants/margin_left = -80
theme_override_constants/margin_top = -20
[node name="WorkingList" type="VBoxContainer" parent="VBoxContainer/WorkingShift/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
[connection signal="time_changed" from="." to="OpenShift/Margin/OpenList/TimerLabel" method="_on_time_changed"]
[connection signal="pressed" from="OpenShift/Margin/OpenList/Button" to="OpenShift" method="_on_end_shift_pressed"]
[connection signal="pressed" from="WorkingShift/MarginContainer/WorkingList/Button" to="OpenShift" method="_on_end_shift_pressed"]
[node name="Label" type="Label" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "Time til Next Shift"
horizontal_alignment = 1
[node name="TimerLabel" type="Label" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "000:00:00.00"
script = ExtResource("2_5rs2c")
[node name="Button" type="Button" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
text = "Show Quests"
[node name="Notices" type="VBoxContainer" parent="VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
[connection signal="time_changed" from="." to="VBoxContainer/OpenShift/Margin/OpenList/TimerLabel" method="_on_time_changed"]
[connection signal="pressed" from="VBoxContainer/OpenShift/Margin/OpenList/Button" to="VBoxContainer/OpenShift" method="_on_end_shift_pressed"]
[connection signal="pressed" from="VBoxContainer/WorkingShift/MarginContainer/WorkingList/Button" to="VBoxContainer/OpenShift" method="_on_end_shift_pressed"]