-
Notifications
You must be signed in to change notification settings - Fork 0
/
quit_ui.tscn
72 lines (65 loc) · 1.87 KB
/
quit_ui.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
[gd_scene load_steps=4 format=3 uid="uid://5pxrlf7ebbl3"]
[ext_resource type="Script" path="res://quitui.gd" id="1_npgfg"]
[ext_resource type="LabelSettings" uid="uid://c5r2il4oxf0xe" path="res://UI settings/UI Label Settings.tres" id="3_fwfta"]
[ext_resource type="Theme" uid="uid://7miaudw2s7n0" path="res://UI settings/button_theme.tres" id="3_s6jcn"]
[node name="QuitUI" type="CanvasLayer"]
script = ExtResource("1_npgfg")
[node name="ColorRect" type="ColorRect" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -259.0
offset_top = -91.0
offset_right = 260.0
offset_bottom = 97.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.0196078, 0.0196078, 0.0196078, 0.784314)
[node name="Message" type="Label" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -246.0
offset_top = -79.0
offset_right = 246.0
offset_bottom = 15.0
grow_horizontal = 2
grow_vertical = 2
text = "Tilbake til hovedmeny? progresjonen vil bli tapt"
label_settings = ExtResource("3_fwfta")
horizontal_alignment = 1
autowrap_mode = 2
[node name="Cancel" type="Button" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -184.0
offset_top = 36.0
offset_right = -46.0
offset_bottom = 85.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_s6jcn")
text = "Tilbake"
[node name="Quit" type="Button" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 41.0
offset_top = 36.0
offset_right = 189.0
offset_bottom = 85.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_s6jcn")
text = "Avslutt"
[connection signal="pressed" from="Cancel" to="." method="_on_cancel_pressed"]
[connection signal="pressed" from="Quit" to="." method="_on_quit_pressed"]