-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsong_config_window.tscn
More file actions
66 lines (56 loc) · 2.03 KB
/
song_config_window.tscn
File metadata and controls
66 lines (56 loc) · 2.03 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[gd_scene load_steps=3 format=3 uid="uid://cisw0jgkcidv1"]
[ext_resource type="Script" path="res://script/song_config.gd" id="1_exvfu"]
[ext_resource type="Theme" uid="uid://yxs4msdvs0lv" path="res://asset/ui_theme.tres" id="1_x4xtn"]
[node name="song_config_window" type="Window"]
title = "Song Configuration"
initial_position = 4
size = Vector2i(420, 280)
exclusive = true
theme = ExtResource("1_x4xtn")
script = ExtResource("1_exvfu")
[node name="margin" type="MarginContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 8
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8
[node name="vbox" type="VBoxContainer" parent="margin"]
layout_mode = 2
[node name="type" type="OptionButton" parent="margin/vbox"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 31)
layout_mode = 2
item_count = 3
selected = 0
fit_to_longest_item = false
allow_reselect = true
popup/item_0/text = "Level Song - %s"
popup/item_0/id = 0
popup/item_1/text = "Race Song - %s"
popup/item_1/id = 1
popup/item_2/text = "Boss Song - %s"
popup/item_2/id = 2
[node name="list" type="Tree" parent="margin/vbox"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
hide_root = true
scroll_horizontal_enabled = false
[node name="hbox" type="HBoxContainer" parent="margin/vbox"]
layout_mode = 2
[node name="cancel" type="Button" parent="margin/vbox/hbox"]
layout_mode = 2
size_flags_horizontal = 3
text = "Cancel"
[node name="apply" type="Button" parent="margin/vbox/hbox"]
layout_mode = 2
size_flags_horizontal = 3
text = "Apply"
[connection signal="item_selected" from="margin/vbox/type" to="." method="dropdown_changed"]
[connection signal="item_selected" from="margin/vbox/list" to="." method="song_selected"]
[connection signal="pressed" from="margin/vbox/hbox/cancel" to="." method="cancel_pressed"]
[connection signal="pressed" from="margin/vbox/hbox/apply" to="." method="apply_pressed"]