-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCheckout list.tscn
119 lines (105 loc) · 2.93 KB
/
Checkout list.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Fonts/font.tres" type="DynamicFont" id=1]
[ext_resource path="res://Fonts/monofonto.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Checkout list.gd" type="Script" id=3]
[ext_resource path="res://Properties/Button theme.tres" type="Theme" id=4]
[ext_resource path="res://Sounds/40052174_money-coins-in-hand-03 short.wav" type="AudioStream" id=5]
[ext_resource path="res://Sounds/perc 24.wav" type="AudioStream" id=6]
[sub_resource type="DynamicFont" id=1]
size = 42
outline_size = 2
outline_color = Color( 0, 0, 0, 1 )
use_filter = true
font_data = ExtResource( 2 )
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1462.0
theme = ExtResource( 4 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Visuals" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Background" type="ColorRect" parent="Visuals"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Line Bot" type="ColorRect" parent="Visuals"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -4.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Line Top" type="ColorRect" parent="Visuals"]
anchor_right = 1.0
margin_bottom = 4.0
color = Color( 0, 0, 0, 1 )
[node name="Line Top2" type="ColorRect" parent="Visuals"]
anchor_top = 0.915
anchor_right = 1.0
anchor_bottom = 0.915
margin_top = -2.0
margin_bottom = 2.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Line Right" type="ColorRect" parent="Visuals"]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -4.0
color = Color( 0, 0, 0, 1 )
[node name="Line Left" type="ColorRect" parent="Visuals"]
anchor_bottom = 1.0
margin_right = 4.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Checkout button" type="Button" parent="."]
anchor_top = 0.915
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 2.0
margin_right = -4.0
margin_bottom = -3.0
focus_mode = 0
custom_fonts/font = ExtResource( 1 )
enabled_focus_mode = 0
text = "CHECKOUT"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Total label" type="RichTextLabel" parent="."]
anchor_top = 0.83
anchor_right = 1.0
anchor_bottom = 0.915
margin_left = 28.0
margin_right = -4.0
custom_fonts/normal_font = SubResource( 1 )
bbcode_enabled = true
bbcode_text = "Total: 215.36[color=green]$[/color]"
text = "Total: 215.36$"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CheckoutSuccessSoundPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
[node name="CheckoutDeclineSoundPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
volume_db = -5.0
mix_target = 2
[connection signal="pressed" from="Checkout button" to="." method="_on_Checkout_button_pressed"]