aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/GameSpeedPanel.tscn
blob: bfb869cb48289bfda05e74fb3c003600d74b8183 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[gd_scene load_steps=2 format=3 uid="uid://dd8k3p7r3huwc"]

[ext_resource type="Script" path="res://src/GameSession/GameSpeedPanel.gd" id="1_pfs8t"]

[node name="GameSpeedPanel" type="PanelContainer" node_paths=PackedStringArray("_longform_date_button", "_play_pause_display_button", "_decrease_speed_button", "_increase_speed_button")]
script = ExtResource("1_pfs8t")
_longform_date_button = NodePath("HBoxContainer/LongformDateButton")
_play_pause_display_button = NodePath("HBoxContainer/PlayPauseDisplayButton")
_decrease_speed_button = NodePath("HBoxContainer/DecreaseSpeedButton")
_increase_speed_button = NodePath("HBoxContainer/IncreaseSpeedButton")

[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2

[node name="LongformDateButton" type="Button" parent="HBoxContainer"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
text = "LONGFORM DATE"

[node name="PlayPauseDisplayButton" type="Button" parent="HBoxContainer"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
text = "⏸"

[node name="DecreaseSpeedButton" type="Button" parent="HBoxContainer"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
text = "➖"

[node name="IncreaseSpeedButton" type="Button" parent="HBoxContainer"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
text = "➕"

[connection signal="pressed" from="HBoxContainer/LongformDateButton" to="." method="_on_longform_date_label_pressed"]
[connection signal="pressed" from="HBoxContainer/PlayPauseDisplayButton" to="." method="_on_play_pause_display_button_pressed"]
[connection signal="pressed" from="HBoxContainer/DecreaseSpeedButton" to="." method="_on_decrease_speed_button_pressed"]
[connection signal="pressed" from="HBoxContainer/IncreaseSpeedButton" to="." method="_on_increase_speed_button_pressed"]