-
Notifications
You must be signed in to change notification settings - Fork 0
/
ControlPanel.tscn
74 lines (63 loc) · 1.97 KB
/
ControlPanel.tscn
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
67
68
69
70
71
72
73
74
[gd_scene load_steps=8 format=2]
[ext_resource path="res://ControlPanel.gd" type="Script" id=1]
[ext_resource path="res://fonts/libris.tres" type="DynamicFontData" id=2]
[ext_resource path="res://OutputPanel.tscn" type="PackedScene" id=3]
[sub_resource type="DynamicFontData" id=1]
resource_local_to_scene = true
font_path = "res://fonts/LibrisADFStd-Regular.otf"
[sub_resource type="DynamicFont" id=6]
resource_local_to_scene = true
size = 32
outline_size = 1
outline_color = Color( 0, 0, 0, 0.501961 )
font_data = SubResource( 1 )
[sub_resource type="DynamicFont" id=5]
size = 18
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=4]
size = 18
font_data = ExtResource( 2 )
[node name="ControlPanel" type="Panel"]
self_modulate = Color( 1, 1, 1, 0 )
margin_top = 2.0
margin_right = 720.0
margin_bottom = 480.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
anchor_right = 1.0
margin_bottom = 62.0
custom_fonts/font = SubResource( 6 )
custom_colors/font_color = Color( 0.619608, 0.156863, 0.207843, 1 )
text = "DragonMail Random Name Generator"
align = 1
valign = 1
[node name="Button" type="Button" parent="."]
margin_left = 512.0
margin_top = 94.0
margin_right = 640.0
margin_bottom = 126.0
custom_fonts/font = SubResource( 5 )
text = "Generate"
[node name="OptionButton" type="OptionButton" parent="."]
margin_left = 32.0
margin_top = 94.0
margin_right = 448.0
margin_bottom = 126.0
custom_fonts/font = SubResource( 4 )
text = "-- select source --"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="OutputPanelL" parent="." instance=ExtResource( 3 )]
margin_top = 158.0
margin_bottom = 446.0
[node name="OutputPanelR" parent="." instance=ExtResource( 3 )]
margin_left = 360.0
margin_top = 158.0
margin_right = 720.0
margin_bottom = 446.0
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
[connection signal="item_selected" from="OptionButton" to="." method="_on_OptionButton_item_selected"]