125 lines
3.6 KiB
Text
125 lines
3.6 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://b8byh8tp1kc6b"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cj1twbwvogrn0" path="res://assets/images/Wallpaper.png" id="1_3cfcw"]
|
|
[ext_resource type="Script" path="res://src/ui/welcome.gd" id="1_rowat"]
|
|
[ext_resource type="Texture2D" uid="uid://b3n83ee4723bw" path="res://assets/images/IconTextInverted.png" id="2_2w5c0"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0l23a"]
|
|
bg_color = Color(0, 0, 0, 0.705882)
|
|
corner_radius_top_left = 32
|
|
corner_radius_top_right = 32
|
|
corner_radius_bottom_right = 32
|
|
corner_radius_bottom_left = 32
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sor5s"]
|
|
|
|
[node name="GUIWelcome" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_rowat")
|
|
|
|
[node name="Wallpaper" type="NinePatchRect" parent="."]
|
|
layout_mode = 0
|
|
offset_right = 960.0
|
|
offset_bottom = 540.0
|
|
texture = ExtResource("1_3cfcw")
|
|
|
|
[node name="Welcome" type="Button" parent="Wallpaper"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -432.0
|
|
offset_top = -243.0
|
|
offset_right = 432.0
|
|
offset_bottom = 243.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_0l23a")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_0l23a")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_0l23a")
|
|
theme_override_styles/disabled = SubResource("StyleBoxFlat_0l23a")
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_sor5s")
|
|
|
|
[node name="Icon" type="NinePatchRect" parent="Wallpaper/Welcome"]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -320.0
|
|
offset_top = 24.3
|
|
offset_right = 320.0
|
|
offset_bottom = 144.3
|
|
grow_horizontal = 2
|
|
texture = ExtResource("2_2w5c0")
|
|
|
|
[node name="Splash" type="RichTextLabel" parent="Wallpaper/Welcome" groups=["font", "font_normal"]]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -320.0
|
|
offset_top = 152.975
|
|
offset_right = 320.0
|
|
offset_bottom = 186.975
|
|
grow_horizontal = 2
|
|
mouse_filter = 2
|
|
bbcode_enabled = true
|
|
text = "[center]splash text[/center]"
|
|
scroll_active = false
|
|
|
|
[node name="AboutText" type="RichTextLabel" parent="Wallpaper/Welcome" groups=["font", "font_small"]]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -320.0
|
|
offset_top = -92.0
|
|
offset_right = 320.0
|
|
offset_bottom = -20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
mouse_filter = 2
|
|
bbcode_enabled = true
|
|
text = "[center][i]Copyright (c) 2024[/i] [b]JeremyStar™ & Contributors[/b]
|
|
Licensed under the [b]GNU General Public License version 3[/b].
|
|
Thank you for using Presencode <3[/center]"
|
|
scroll_active = false
|
|
|
|
[node name="OpenButton" type="Button" parent="Wallpaper/Welcome" groups=["font_one", "font_one_normal"]]
|
|
layout_mode = 1
|
|
anchors_preset = 4
|
|
anchor_top = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = 60.0
|
|
offset_top = -19.0
|
|
offset_right = 278.0
|
|
offset_bottom = 19.0
|
|
grow_vertical = 2
|
|
text = "Open presentation"
|
|
|
|
[node name="EditorButton" type="Button" parent="Wallpaper/Welcome" groups=["font_one", "font_one_normal"]]
|
|
layout_mode = 1
|
|
anchors_preset = 6
|
|
anchor_left = 1.0
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_left = -278.0
|
|
offset_top = -19.0
|
|
offset_right = -60.0
|
|
offset_bottom = 19.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 2
|
|
text = "Edit presentation"
|
|
|
|
[connection signal="pressed" from="Wallpaper/Welcome" to="." method="update_splash"]
|
|
[connection signal="pressed" from="Wallpaper/Welcome/OpenButton" to="." method="open_presentation_picker"]
|