-
-
Notifications
You must be signed in to change notification settings - Fork 183
/
Copy pathUINavigator.tscn
177 lines (153 loc) · 5.84 KB
/
UINavigator.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
[gd_scene load_steps=17 format=2]
[ext_resource path="res://ui/theme/gdscript_app_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/components/BreadCrumbs.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/theme/panel_breadcrumbs.tres" type="StyleBox" id=3]
[ext_resource path="res://ui/UINavigator.gd" type="Script" id=4]
[ext_resource path="res://ui/icons/icon_settings.png" type="Texture" id=5]
[ext_resource path="res://ui/icons/icon_report.png" type="Texture" id=6]
[ext_resource path="res://ui/screens/course_outliner/CourseOutliner.tscn" type="PackedScene" id=7]
[ext_resource path="res://ui/icons/navigation_back.png" type="Texture" id=8]
[ext_resource path="res://ui/icons/navigation_outliner.png" type="Texture" id=9]
[ext_resource path="res://ui/icons/icon_godot_head.svg" type="Texture" id=10]
[ext_resource path="res://ui/components/FullScreenButton.tscn" type="PackedScene" id=11]
[ext_resource path="res://ui/components/popups/LessonDonePopup.tscn" type="PackedScene" id=12]
[ext_resource path="res://ui/components/QuitButton.tscn" type="PackedScene" id=13]
[ext_resource path="res://ui/components/SalePopup.tscn" type="PackedScene" id=14]
[ext_resource path="res://ui/components/GDQuestCreditsLabel.tscn" type="PackedScene" id=15]
[sub_resource type="StyleBoxEmpty" id=1]
[node name="UINavigator" type="PanelContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource( 1 )
script = ExtResource( 4 )
[node name="Layout" type="VBoxContainer" parent="."]
margin_right = 1920.0
margin_bottom = 1080.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 0
[node name="Header" type="PanelContainer" parent="Layout"]
margin_right = 1920.0
margin_bottom = 48.0
rect_min_size = Vector2( 0, 40 )
size_flags_horizontal = 3
custom_styles/panel = ExtResource( 3 )
[node name="MarginContainer" type="MarginContainer" parent="Layout/Header"]
margin_right = 1920.0
margin_bottom = 48.0
custom_constants/margin_right = 12
custom_constants/margin_top = 0
custom_constants/margin_left = 12
custom_constants/margin_bottom = 0
[node name="HeaderContent" type="HBoxContainer" parent="Layout/Header/MarginContainer"]
margin_left = 12.0
margin_right = 1908.0
margin_bottom = 48.0
[node name="HomeButton" type="Button" parent="Layout/Header/MarginContainer/HeaderContent"]
visible = false
margin_left = 48.0
margin_right = 92.0
margin_bottom = 48.0
hint_tooltip = "Go back to the main menu"
mouse_default_cursor_shape = 2
icon = ExtResource( 10 )
flat = true
[node name="OutlinerButton" type="Button" parent="Layout/Header/MarginContainer/HeaderContent"]
margin_right = 32.0
margin_bottom = 48.0
hint_tooltip = "Open the course index"
mouse_default_cursor_shape = 2
icon = ExtResource( 9 )
flat = true
[node name="BackButton" type="Button" parent="Layout/Header/MarginContainer/HeaderContent"]
margin_left = 48.0
margin_right = 80.0
margin_bottom = 48.0
hint_tooltip = "Go back in your navigation history"
mouse_default_cursor_shape = 2
icon = ExtResource( 8 )
flat = true
[node name="BreadCrumbs" parent="Layout/Header/MarginContainer/HeaderContent" instance=ExtResource( 2 )]
margin_left = 96.0
margin_right = 96.0
[node name="Spacer" type="Control" parent="Layout/Header/MarginContainer/HeaderContent"]
margin_left = 112.0
margin_right = 1273.0
margin_bottom = 48.0
rect_pivot_offset = Vector2( -514, 99 )
size_flags_horizontal = 3
[node name="SaleButton" type="Button" parent="Layout/Header/MarginContainer/HeaderContent"]
margin_left = 1289.0
margin_right = 1656.0
margin_bottom = 48.0
hint_tooltip = "Go back in your navigation history"
mouse_default_cursor_shape = 2
custom_colors/font_color = Color( 1, 0.960784, 0.25098, 1 )
custom_colors/font_color_hover = Color( 0.960784, 0.980392, 0.980392, 1 )
custom_colors/font_color_pressed = Color( 1, 0.960784, 0.25098, 1 )
custom_styles/focus = SubResource( 1 )
text = "CHRISTMAS SALE - 50% OFF"
flat = true
[node name="ReportButton" type="Button" parent="Layout/Header/MarginContainer/HeaderContent"]
margin_left = 1672.0
margin_right = 1720.0
margin_bottom = 48.0
hint_tooltip = "Report an issue"
mouse_default_cursor_shape = 2
icon = ExtResource( 6 )
flat = true
[node name="SettingsButton" type="Button" parent="Layout/Header/MarginContainer/HeaderContent"]
margin_left = 1736.0
margin_right = 1784.0
margin_bottom = 48.0
hint_tooltip = "Configure the app"
mouse_default_cursor_shape = 2
icon = ExtResource( 5 )
flat = true
[node name="FullScreenButton" parent="Layout/Header/MarginContainer/HeaderContent" instance=ExtResource( 11 )]
margin_left = 1800.0
margin_right = 1840.0
margin_bottom = 47.0
[node name="QuitButton" parent="Layout/Header/MarginContainer/HeaderContent" instance=ExtResource( 13 )]
margin_left = 1856.0
margin_right = 1896.0
margin_bottom = 47.0
[node name="Content" type="Panel" parent="Layout"]
margin_top = 48.0
margin_right = 1920.0
margin_bottom = 1080.0
rect_clip_content = true
mouse_filter = 2
size_flags_vertical = 3
[node name="ScreenContainer" type="PanelContainer" parent="Layout/Content"]
show_behind_parent = true
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="CourseOutliner" parent="Layout/Content" instance=ExtResource( 7 )]
visible = false
[node name="LessonDonePopup" parent="." instance=ExtResource( 12 )]
visible = false
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 1920.0
margin_bottom = 1080.0
[node name="Tween" type="Tween" parent="."]
[node name="SalePopup" parent="." instance=ExtResource( 14 )]
title = "CHRISTMAS SALE"
only_until_string = "the end of the year"
end_datetime_iso = "2023-01-01T00:00"
sale_url = "https://gdquest.mavenseed.com/courses/"
[node name="GDQuestCreditsLabel" parent="." instance=ExtResource( 15 )]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 1920.0
margin_top = 1080.0
margin_right = 1920.0
margin_bottom = 1080.0