This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Search.tscn
144 lines (130 loc) · 4.5 KB
/
Search.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[gd_scene load_steps=2 format=2]
[ext_resource path="res://scripts/Search.gd" type="Script" id=1]
[node name="Search" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="Panel" type="Panel" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -500.0
margin_top = -288.0
margin_right = 500.0
margin_bottom = 288.0
[node name="Nickname" type="LineEdit" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 740.0
margin_top = 32.0
margin_right = -28.0
margin_bottom = -520.0
placeholder_text = "Nickname"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScrollContainer" type="ScrollContainer" parent="Panel"]
anchor_left = 0.023625
anchor_top = 0.0466667
anchor_right = 0.718625
anchor_bottom = 0.900833
margin_left = -11.625
margin_top = -10.88
margin_right = -11.625
margin_bottom = -10.88
__meta__ = {
"_edit_use_anchors_": true
}
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/ScrollContainer"]
margin_right = 695.0
margin_bottom = 492.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Back" type="Button" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 12.0
margin_top = 520.0
margin_right = -816.0
margin_bottom = -12.0
size_flags_horizontal = 0
size_flags_vertical = 0
text = "Back"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Type 1" type="OptionButton" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 740.0
margin_top = 68.0
margin_right = -152.0
margin_bottom = -488.0
text = "All"
items = [ "All", null, false, 0, null, "Normal", null, false, 1, null, "Fire", null, false, 2, null, "Water", null, false, 3, null, "Grass", null, false, 4, null, "Electric", null, false, 5, null, "Ice", null, false, 6, null, "Fighting", null, false, 7, null, "Poison", null, false, 8, null, "Ground", null, false, 9, null, "Flying", null, false, 10, null, "Psychic", null, false, 11, null, "Bug", null, false, 12, null, "Rock", null, false, 13, null, "Ghost", null, false, 14, null, "Dark", null, false, 15, null, "Dragon", null, false, 16, null, "Steel", null, false, 17, null, "Fairy", null, false, 18, null ]
selected = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Type 2" type="OptionButton" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 864.0
margin_top = 68.0
margin_right = -28.0
margin_bottom = -488.0
text = "All"
items = [ "All", null, false, 0, null, "Normal", null, false, 1, null, "Fire", null, false, 2, null, "Water", null, false, 3, null, "Grass", null, false, 4, null, "Electric", null, false, 5, null, "Ice", null, false, 6, null, "Fighting", null, false, 7, null, "Poison", null, false, 8, null, "Ground", null, false, 9, null, "Flying", null, false, 10, null, "Psychic", null, false, 11, null, "Bug", null, false, 12, null, "Rock", null, false, 13, null, "Ghost", null, false, 14, null, "Dark", null, false, 15, null, "Dragon", null, false, 16, null, "Steel", null, false, 17, null, "Fairy", null, false, 18, null ]
selected = 0
[node name="Gender" type="OptionButton" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 740.0
margin_top = 100.0
margin_right = -28.0
margin_bottom = -456.0
text = "All"
items = [ "All", null, false, 3, null, "Male", null, false, 0, null, "Female", null, false, 1, null, "N/A", null, false, 2, null ]
selected = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Trainer" type="OptionButton" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 740.0
margin_top = 132.0
margin_right = -28.0
margin_bottom = -424.0
text = "All Trainers"
items = [ "All Trainers", null, false, 0, null ]
selected = 0
[node name="Search" type="Button" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 740.0
margin_top = 520.0
margin_right = -28.0
margin_bottom = -12.0
text = "Search!"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NoResults" type="Label" parent="Panel"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 256.0
margin_top = 36.0
margin_right = -544.0
margin_bottom = -526.0
text = "Oops... You have no Pokémon that matches search criteria!
"
align = 1
valign = 1
autowrap = true
[connection signal="visibility_changed" from="." to="." method="_on_Search_visibility_changed"]
[connection signal="text_entered" from="Panel/Nickname" to="." method="_on_LineEdit_text_entered"]
[connection signal="pressed" from="Panel/Back" to="." method="_on_Back_pressed"]
[connection signal="pressed" from="Panel/Search" to="." method="_on_Search_pressed"]