-
Notifications
You must be signed in to change notification settings - Fork 1
/
Control.tscn
140 lines (119 loc) · 3.78 KB
/
Control.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
[gd_scene load_steps=12 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://cera.otf" type="DynamicFontData" id=2]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.886275, 0.164706, 0.164706, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0.815686, 0.0901961, 0.0901961, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id=7]
bg_color = Color( 0.886275, 0.164706, 0.164706, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id=6]
bg_color = Color( 0.305882, 0.313726, 0.352941, 1 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 0.160784, 0.156863, 0.176471, 1 )
[sub_resource type="DynamicFont" id=3]
size = 24
font_data = ExtResource( 2 )
[sub_resource type="Theme" id=4]
default_font = SubResource( 3 )
Button/colors/font_color = Color( 0.88, 0.88, 0.88, 1 )
Button/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
Button/colors/font_color_focus = Color( 0.94, 0.94, 0.94, 1 )
Button/colors/font_color_hover = Color( 0.94, 0.94, 0.94, 1 )
Button/colors/font_color_pressed = Color( 1, 1, 1, 1 )
Button/constants/hseparation = 2
Button/styles/disabled = null
Button/styles/focus = null
Button/styles/hover = SubResource( 1 )
Button/styles/normal = SubResource( 2 )
Button/styles/pressed = SubResource( 7 )
LineEdit/styles/normal = SubResource( 6 )
Panel/styles/panel = SubResource( 5 )
[sub_resource type="DynamicFont" id=9]
size = 30
font_data = ExtResource( 2 )
[sub_resource type="Theme" id=8]
Button/fonts/font = SubResource( 9 )
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = SubResource( 4 )
script = ExtResource( 1 )
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Button" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -244.5
margin_top = -126.5
margin_right = 244.5
margin_bottom = 126.5
theme = SubResource( 8 )
text = "boop"
[node name="HTTPRequest" type="HTTPRequest" parent="Button"]
[node name="GuildID_Input" type="LineEdit" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -452.0
margin_top = -200.0
margin_right = -222.0
margin_bottom = -175.0
[node name="GuildID_Label" type="RichTextLabel" parent="GuildID_Input"]
margin_left = 29.0
margin_top = -28.0
margin_right = 185.0
text = "insert guild id"
[node name="Token_Input" type="LineEdit" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -158.0
margin_top = 220.0
margin_right = 164.0
margin_bottom = 244.0
secret = true
[node name="Token_Label" type="RichTextLabel" parent="Token_Input"]
margin_left = 94.0
margin_top = -29.0
margin_right = 231.0
margin_bottom = -1.0
rect_pivot_offset = Vector2( -850, -381 )
text = "token input"
[node name="UserID_Input" type="LineEdit" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = 188.0
margin_top = -200.0
margin_right = 436.0
margin_bottom = -175.0
[node name="UserID_Label" type="RichTextLabel" parent="UserID_Input"]
margin_left = 46.0
margin_top = -26.0
margin_right = 195.0
text = "insert user id"
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
[connection signal="request_completed" from="Button/HTTPRequest" to="." method="_on_HTTPRequest_request_completed"]