/
wait.tscn
138 lines (121 loc) · 3.37 KB
/
wait.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
[gd_scene load_steps=10 format=2]
[ext_resource path="res://assets/ui/panel_confirm.png" type="Texture" id=1]
[ext_resource path="res://assets/ui/panel_confirm_pressed.png" type="Texture" id=2]
[ext_resource path="res://assets/ui/waiting.png" type="Texture" id=3]
[ext_resource path="res://assets/wait.gd" type="Script" id=4]
[sub_resource type="DynamicFontData" id=1]
font_path = "res://assets/font/medium.otf"
[sub_resource type="DynamicFont" id=2]
size = 35
use_mipmaps = true
use_filter = true
font_data = SubResource( 1 )
[sub_resource type="DynamicFontData" id=3]
font_path = "res://assets/font/medium.otf"
[sub_resource type="DynamicFont" id=4]
size = 35
use_mipmaps = true
use_filter = true
font_data = SubResource( 3 )
[sub_resource type="Animation" id=5]
resource_name = "rotate"
length = 1.5
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("panel/waiting:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 360.0 ]
}
[node name="controller" type="Node2D"]
visible = false
script = ExtResource( 4 )
[node name="panel" type="Panel" parent="."]
self_modulate = Color( 1, 1, 1, 0.941176 )
margin_right = 1150.0
margin_bottom = 780.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="waiting" type="Sprite" parent="panel"]
position = Vector2( 571.087, 366.51 )
scale = Vector2( 2, 2 )
texture = ExtResource( 3 )
[node name="title" type="Label" parent="panel"]
margin_left = 352.931
margin_top = 211.0
margin_right = 785.931
margin_bottom = 252.0
custom_fonts/font = SubResource( 2 )
text = "交易提交中..."
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="hash" type="Label" parent="panel"]
visible = false
margin_left = 95.0
margin_top = 341.0
margin_right = 1070.0
margin_bottom = 455.0
custom_fonts/font = SubResource( 2 )
text = "ddddddddddddddddddddddddddddddddddddddd"
align = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="confirm" type="TextureButton" parent="panel"]
margin_left = 322.047
margin_top = 552.777
margin_right = 1212.05
margin_bottom = 629.777
rect_scale = Vector2( 0.6, 0.6 )
texture_normal = ExtResource( 1 )
texture_pressed = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="name" type="Label" parent="panel/confirm"]
margin_left = 412.998
margin_top = 20.7311
margin_right = 482.998
margin_bottom = 56.7311
custom_fonts/font = SubResource( 4 )
text = "确认"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="cancel" type="TextureButton" parent="panel"]
visible = false
margin_left = 324.047
margin_top = 552.777
margin_right = 1214.05
margin_bottom = 629.777
rect_scale = Vector2( 0.6, 0.6 )
texture_normal = ExtResource( 1 )
texture_pressed = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="name" type="Label" parent="panel/cancel"]
margin_left = 412.998
margin_top = 20.7311
margin_right = 482.998
margin_bottom = 56.7311
custom_fonts/font = SubResource( 4 )
text = "取消"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="rotater" type="AnimationPlayer" parent="."]
autoplay = "rotate"
anims/rotate = SubResource( 5 )
[connection signal="pressed" from="panel/confirm" to="." method="_on_confirm_pressed"]
[connection signal="pressed" from="panel/cancel" to="." method="_on_cancel_pressed"]