[gd_scene load_steps=6 format=3 uid="uid://bbogimp25gyre"] [ext_resource type="Script" uid="uid://dta0h5g01sooo" path="res://Client/Scripts/UI/ClientMain.cs" id="1_t0hef"] [ext_resource type="Texture2D" uid="uid://chm704rgdebfb" path="res://icon.png" id="2_gv8lv"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gv8lv"] bg_color = Color(0, 0.301961, 0.301961, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nd7pt"] bg_color = Color(0.6, 0.6, 0.6, 0) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_inrp4"] bg_color = Color(0.6, 0.6, 0.6, 0) [node name="ClientMain" type="Control" node_paths=PackedStringArray("_lessonTitleLabel", "_pageTitleLabel", "_backNavButton", "_nextNavButton", "_menuNavButton")] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource("1_t0hef") _lessonTitleLabel = NodePath("VBoxContainer/Header/MarginContainer/VBoxContainer/LessonTitle") _pageTitleLabel = NodePath("VBoxContainer/Header/MarginContainer/VBoxContainer/PageTitle") _backNavButton = NodePath("VBoxContainer/Footer/MarginContainer/NavigationButtons/Panel/HBoxContainer/BackButton") _nextNavButton = NodePath("VBoxContainer/Footer/MarginContainer/NavigationButtons/Panel/HBoxContainer/NextButton") _menuNavButton = NodePath("VBoxContainer/Footer/MarginContainer/NavigationButtons/Panel/HBoxContainer/MenuButton") [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Header" type="Panel" parent="VBoxContainer"] custom_minimum_size = Vector2(0, 80) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_gv8lv") [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Header"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 20 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 20 theme_override_constants/margin_bottom = 10 [node name="TextureRect" type="TextureRect" parent="VBoxContainer/Header/MarginContainer"] custom_minimum_size = Vector2(0, 50) layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 4 texture = ExtResource("2_gv8lv") expand_mode = 3 [node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/Header/MarginContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 [node name="LessonTitle" type="Label" parent="VBoxContainer/Header/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 text = "Lesson Title" [node name="PageTitle" type="Label" parent="VBoxContainer/Header/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 text = "Page Title" [node name="MainContentMargin" type="MarginContainer" parent="VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="Panel" type="Panel" parent="VBoxContainer/MainContentMargin"] visible = false layout_mode = 2 [node name="Footer" type="Panel" parent="VBoxContainer"] custom_minimum_size = Vector2(0, 60) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_nd7pt") [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Footer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 15 theme_override_constants/margin_top = 5 theme_override_constants/margin_right = 15 theme_override_constants/margin_bottom = 5 [node name="NavigationButtons" type="Control" parent="VBoxContainer/Footer/MarginContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 [node name="Panel" type="Panel" parent="VBoxContainer/Footer/MarginContainer/NavigationButtons"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_inrp4") [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Footer/MarginContainer/NavigationButtons/Panel"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -49.0 offset_top = -15.5 offset_right = 49.0 offset_bottom = 15.5 grow_horizontal = 2 grow_vertical = 2 [node name="BackButton" type="Button" parent="VBoxContainer/Footer/MarginContainer/NavigationButtons/Panel/HBoxContainer"] custom_minimum_size = Vector2(30, 20) layout_mode = 2 size_flags_horizontal = 2 text = "<" [node name="MenuButton" type="Button" parent="VBoxContainer/Footer/MarginContainer/NavigationButtons/Panel/HBoxContainer"] custom_minimum_size = Vector2(30, 20) layout_mode = 2 size_flags_horizontal = 6 text = "≡" [node name="NextButton" type="Button" parent="VBoxContainer/Footer/MarginContainer/NavigationButtons/Panel/HBoxContainer"] custom_minimum_size = Vector2(30, 20) layout_mode = 2 size_flags_horizontal = 10 text = ">"