Adding more pages

This commit is contained in:
Chris Bell 2025-08-17 22:47:42 -05:00
parent 647d37c816
commit a1e5d5640b
76 changed files with 610 additions and 66 deletions

View File

@ -1,11 +1,15 @@
[gd_resource type="Resource" script_class="ApplicationSettingsResource" load_steps=4 format=3 uid="uid://dwhgu0ywrt618"] [gd_resource type="Resource" script_class="ApplicationSettingsResource" load_steps=8 format=3 uid="uid://dwhgu0ywrt618"]
[ext_resource type="Script" uid="uid://ddh7o0nfsuo4k" path="res://src/scripts/custom_resources/ApplicationSettingsResource.cs" id="1_3gmkh"] [ext_resource type="Script" uid="uid://ddh7o0nfsuo4k" path="res://src/scripts/custom_resources/ApplicationSettingsResource.cs" id="1_3gmkh"]
[ext_resource type="PackedScene" uid="uid://djj22j6g14exe" path="res://src/scenes/main/MainUI.tscn" id="1_688px"] [ext_resource type="PackedScene" uid="uid://djj22j6g14exe" path="res://src/scenes/main/MainUI.tscn" id="1_688px"]
[ext_resource type="PackedScene" uid="uid://ble4w0555f45u" path="res://src/scenes/main/content_pages/home_page.tscn" id="2_tfier"] [ext_resource type="PackedScene" uid="uid://ble4w0555f45u" path="res://src/scenes/main/content_pages/home_page.tscn" id="2_tfier"]
[ext_resource type="PackedScene" uid="uid://dkrls6nkk3fk4" path="res://src/scenes/main/content_pages/library_page.tscn" id="3_tfier"]
[ext_resource type="PackedScene" uid="uid://cymkrj587gxm5" path="res://src/scenes/main/content_pages/datasets_page.tscn" id="4_jyu5u"]
[ext_resource type="PackedScene" uid="uid://d2fmlv2jifbvd" path="res://src/scenes/main/content_pages/characters_page.tscn" id="5_biv5l"]
[ext_resource type="PackedScene" uid="uid://cqop2rx4uybvs" path="res://src/scenes/main/content_pages/character_templates_page.tscn" id="6_y30hn"]
[resource] [resource]
script = ExtResource("1_3gmkh") script = ExtResource("1_3gmkh")
MainUiScene = ExtResource("1_688px") MainUiScene = ExtResource("1_688px")
Pages = Array[PackedScene]([ExtResource("2_tfier")]) Pages = Array[PackedScene]([ExtResource("2_tfier"), ExtResource("3_tfier"), ExtResource("4_jyu5u"), ExtResource("5_biv5l"), ExtResource("6_y30hn")])
metadata/_custom_type_script = "uid://ddh7o0nfsuo4k" metadata/_custom_type_script = "uid://ddh7o0nfsuo4k"

View File

@ -39,7 +39,9 @@ project/assembly_name="SessionZero"
folder_colors={ folder_colors={
"res://resources/": "teal", "res://resources/": "teal",
"res://src/": "blue", "res://src/": "blue",
"res://src/scenes/": "blue" "res://src/scenes/": "yellow",
"res://src/scripts/": "purple",
"res://src/scripts/scenes/main/": "blue"
} }
[gui] [gui]

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"> <svg width="24" height="24" fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h14M5 12l4-4m-4 4 4 4"/> <path d="M5 12h14M5 12l4-4m-4 4 4 4" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 235 B

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"> <svg width="24" height="24" fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M18.796 4H5.204a1 1 0 0 0-.753 1.659l5.302 6.058a1 1 0 0 1 .247.659v4.874a.5.5 0 0 0 .2.4l3 2.25a.5.5 0 0 0 .8-.4v-7.124a1 1 0 0 1 .247-.659l5.302-6.059c.566-.646.106-1.658-.753-1.658Z"/> <path d="M18.796 4H5.204a1 1 0 0 0-.753 1.659l5.302 6.058a1 1 0 0 1 .247.659v4.874a.5.5 0 0 0 .2.4l3 2.25a.5.5 0 0 0 .8-.4v-7.124a1 1 0 0 1 .247-.659l5.302-6.059c.566-.646.106-1.658-.753-1.658Z" stroke="#fff" stroke-linecap="round" stroke-width="2"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 364 B

After

Width:  |  Height:  |  Size: 369 B

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"> <svg width="24" height="24" fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"/> <path d="m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z" stroke="#fff" stroke-linecap="round" stroke-width="2"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 236 B

View File

@ -32,6 +32,6 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0 svg/scale=5.0
editor/scale_with_editor_scale=false editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false editor/convert_colors_with_editor_theme=false

View File

@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=15 format=3 uid="uid://cy6doom358pb0"] [gd_resource type="Theme" load_steps=20 format=3 uid="uid://cy6doom358pb0"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gsqoc"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gsqoc"]
bg_color = Color(0.101961, 0.12549, 0.180392, 1) bg_color = Color(0.101961, 0.12549, 0.180392, 1)
@ -14,6 +14,57 @@ shadow_size = 5
shadow_offset = Vector2(3, 3) shadow_offset = Vector2(3, 3)
anti_aliasing = false anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hf3i3"]
bg_color = Color(0.356863, 0.537255, 0.701961, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xtbu8"]
bg_color = Color(0.227451, 0.309804, 0.435294, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dagba"]
content_margin_left = 15.0
bg_color = Color(0.133333, 0.156863, 0.215686, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.227451, 0.309804, 0.435294, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0wthw"]
bg_color = Color(0.176471, 0.247059, 0.360784, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.176471, 0.247059, 0.360784, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yjg5f"]
bg_color = Color(0.6, 0.6, 0.6, 0)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.176471, 0.247059, 0.360784, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4nads"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4nads"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_x2ak3"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_x2ak3"]
@ -57,6 +108,25 @@ ControlPanelButtonDescriptionLabel/font_sizes/font_size = 14
ControlPanelButtonHeaderLabel/base_type = &"Label" ControlPanelButtonHeaderLabel/base_type = &"Label"
ControlPanelButtonHeaderLabel/colors/font_color = Color(0.772549, 0.835294, 0.901961, 1) ControlPanelButtonHeaderLabel/colors/font_color = Color(0.772549, 0.835294, 0.901961, 1)
ControlPanelButtonHeaderLabel/font_sizes/font_size = 25 ControlPanelButtonHeaderLabel/font_sizes/font_size = 25
PrimaryButton/base_type = &"Button"
PrimaryButton/constants/icon_max_width = 20
PrimaryButton/styles/focus = SubResource("StyleBoxFlat_hf3i3")
PrimaryButton/styles/hover = SubResource("StyleBoxFlat_hf3i3")
PrimaryButton/styles/normal = SubResource("StyleBoxFlat_xtbu8")
PrimaryButton/styles/pressed = SubResource("StyleBoxFlat_hf3i3")
SearchBarLineEdit/base_type = &"LineEdit"
SearchBarLineEdit/colors/caret_color = Color(1, 1, 1, 1)
SearchBarLineEdit/colors/font_color = Color(1, 1, 1, 1)
SearchBarLineEdit/colors/selection_color = Color(0.145098, 0.168627, 0.231373, 1)
SearchBarLineEdit/styles/focus = SubResource("StyleBoxFlat_dagba")
SearchBarLineEdit/styles/normal = SubResource("StyleBoxFlat_dagba")
SecondaryButton/base_type = &"Button"
SecondaryButton/constants/icon_max_width = 20
SecondaryButton/styles/focus = SubResource("StyleBoxFlat_0wthw")
SecondaryButton/styles/hover = SubResource("StyleBoxFlat_0wthw")
SecondaryButton/styles/hover_pressed = SubResource("StyleBoxFlat_0wthw")
SecondaryButton/styles/normal = SubResource("StyleBoxFlat_yjg5f")
SecondaryButton/styles/pressed = SubResource("StyleBoxFlat_0wthw")
SideNavButton/base_type = &"Button" SideNavButton/base_type = &"Button"
SideNavButton/constants/icon_max_width = 15 SideNavButton/constants/icon_max_width = 15
SideNavButton/styles/disabled = SubResource("StyleBoxEmpty_4nads") SideNavButton/styles/disabled = SubResource("StyleBoxEmpty_4nads")

View File

@ -0,0 +1,11 @@
[gd_scene load_steps=2 format=3 uid="uid://btsggmp5xpsxx"]
[ext_resource type="Texture2D" uid="uid://dmoqvi84rwy8t" path="res://resources/icons/outline/arrows/arrow-left.svg" id="1_vhprb"]
[node name="BackButton" type="Button"]
custom_minimum_size = Vector2(50, 30)
size_flags_horizontal = 0
theme_type_variation = &"SecondaryButton"
icon = ExtResource("1_vhprb")
icon_alignment = 1
expand_icon = true

View File

@ -0,0 +1,16 @@
[gd_scene load_steps=2 format=3 uid="uid://b8yuwyt8vu067"]
[ext_resource type="Texture2D" uid="uid://dmoqvi84rwy8t" path="res://resources/icons/outline/arrows/arrow-left.svg" id="1_v56mw"]
[node name="BackButtonHeader" type="MarginContainer"]
theme_override_constants/margin_left = 30
[node name="BackButton" type="Button" parent="."]
custom_minimum_size = Vector2(50, 30)
layout_mode = 2
size_flags_horizontal = 0
tooltip_text = "Go Back"
theme_type_variation = &"SecondaryButton"
icon = ExtResource("1_v56mw")
icon_alignment = 1
expand_icon = true

View File

@ -0,0 +1,42 @@
[gd_scene load_steps=4 format=3 uid="uid://biwx4b277yoca"]
[ext_resource type="Script" uid="uid://boe313gp0gaji" path="res://src/scripts/scenes/controls/CustomListView.cs" id="1_1rptv"]
[ext_resource type="Texture2D" uid="uid://coy7n7xhoile2" path="res://resources/icons/outline/general/search.svg" id="1_iy5bk"]
[ext_resource type="Texture2D" uid="uid://djxdgq4xebock" path="res://resources/icons/outline/general/filter.svg" id="2_1rptv"]
[node name="CustomListView" type="VBoxContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_1rptv")
[node name="SearchBarContainer" type="HBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 10
[node name="LineEdit" type="LineEdit" parent="SearchBarContainer"]
clip_contents = true
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
size_flags_horizontal = 3
theme_type_variation = &"SearchBarLineEdit"
placeholder_text = "Search"
caret_blink = true
[node name="SearchButton" type="Button" parent="SearchBarContainer"]
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
theme_type_variation = &"PrimaryButton"
icon = ExtResource("1_iy5bk")
icon_alignment = 1
expand_icon = true
[node name="FiltersButton" type="Button" parent="SearchBarContainer"]
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
theme_type_variation = &"PrimaryButton"
icon = ExtResource("2_1rptv")
icon_alignment = 1
expand_icon = true

View File

@ -0,0 +1,46 @@
[gd_scene load_steps=4 format=3 uid="uid://dftxb172ml846"]
[ext_resource type="Texture2D" uid="uid://bsscils1ymlyw" path="res://resources/icons/outline/general/eye.svg" id="1_mpv6a"]
[ext_resource type="Texture2D" uid="uid://crlmrhi05od7k" path="res://resources/icons/outline/general/edit.svg" id="2_clm2y"]
[ext_resource type="Texture2D" uid="uid://nn2nokxnd0mx" path="res://resources/icons/outline/general/trash-bin.svg" id="3_82cmv"]
[node name="CustomListViewItem" type="Panel"]
custom_minimum_size = Vector2(0, 40)
[node name="MarginContainer" type="MarginContainer" parent="."]
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="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="ItemNameLabel" type="Label" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 1
text = "Item Name"
vertical_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 10
[node name="ViewButton" type="Button" parent="MarginContainer/HBoxContainer/HBoxContainer"]
layout_mode = 2
icon = ExtResource("1_mpv6a")
[node name="EditButton" type="Button" parent="MarginContainer/HBoxContainer/HBoxContainer"]
layout_mode = 2
icon = ExtResource("2_clm2y")
[node name="DeleteButton" type="Button" parent="MarginContainer/HBoxContainer/HBoxContainer"]
layout_mode = 2
icon = ExtResource("3_82cmv")

View File

@ -11,7 +11,7 @@
[ext_resource type="Texture2D" uid="uid://bxa23hikofgyc" path="res://resources/icons/outline/user/user-circle.svg" id="9_k8ybs"] [ext_resource type="Texture2D" uid="uid://bxa23hikofgyc" path="res://resources/icons/outline/user/user-circle.svg" id="9_k8ybs"]
[ext_resource type="Texture2D" uid="uid://cstlfuft2ekqb" path="res://resources/icons/outline/general/cog.svg" id="10_di5gi"] [ext_resource type="Texture2D" uid="uid://cstlfuft2ekqb" path="res://resources/icons/outline/general/cog.svg" id="10_di5gi"]
[node name="MainUI" type="Control" node_paths=PackedStringArray("HamburgerButton", "SideNavPanel", "MainContentContainer")] [node name="MainUI" type="Control" node_paths=PackedStringArray("HamburgerButton", "SideNavPanel", "MainContentContainer", "_homeNavButton", "_libraryNavButton", "_charactersNavButton", "_advancedNavButton", "_profileNavButton", "_settingsNavButton")]
layout_mode = 3 layout_mode = 3
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@ -24,6 +24,12 @@ script = ExtResource("1_jqcri")
HamburgerButton = NodePath("BackgroundPanel/VBoxContainer/TopNavPanel/HBoxContainer/MarginContainer/HamburgerIcon") HamburgerButton = NodePath("BackgroundPanel/VBoxContainer/TopNavPanel/HBoxContainer/MarginContainer/HamburgerIcon")
SideNavPanel = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/SideNavPanel") SideNavPanel = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/SideNavPanel")
MainContentContainer = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/ScrollContainer/MainContentMarginContainer") MainContentContainer = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/ScrollContainer/MainContentMarginContainer")
_homeNavButton = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/SideNavPanel/VBoxContainer/MarginContainer/NavButtonsVBox/HomeButton")
_libraryNavButton = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/SideNavPanel/VBoxContainer/MarginContainer/NavButtonsVBox/LibraryButton")
_charactersNavButton = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/SideNavPanel/VBoxContainer/MarginContainer/NavButtonsVBox/CharactersButton")
_advancedNavButton = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/SideNavPanel/VBoxContainer/MarginContainer/NavButtonsVBox/AdvancedButton")
_profileNavButton = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/SideNavPanel/VBoxContainer/MarginContainer/NavButtonsVBox/HFlowContainer/ProfileButton")
_settingsNavButton = NodePath("BackgroundPanel/VBoxContainer/MainGridContainer/SideNavPanel/VBoxContainer/MarginContainer/NavButtonsVBox/HFlowContainer/SettingsButton")
_navPanelExpandedSize = 100 _navPanelExpandedSize = 100
[node name="BackgroundPanel" type="Panel" parent="."] [node name="BackgroundPanel" type="Panel" parent="."]

View File

@ -0,0 +1,41 @@
[gd_scene load_steps=4 format=3 uid="uid://cqop2rx4uybvs"]
[ext_resource type="PackedScene" uid="uid://bgidhyuhh4q7m" path="res://src/scripts/scenes/controls/content_page_panel_template.tscn" id="2_q6ly0"]
[ext_resource type="PackedScene" uid="uid://b8yuwyt8vu067" path="res://src/scenes/controls/back_button_with_header.tscn" id="3_w4duh"]
[ext_resource type="PackedScene" uid="uid://biwx4b277yoca" path="res://src/scenes/controls/custom_list_view/custom_list_view.tscn" id="4_vsgey"]
[node name="CharacterTemplatesPage" type="Control"]
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
[node name="ContentPagePanel" parent="." instance=ExtResource("2_q6ly0")]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="BackButtonHeader" parent="ContentPagePanel/VBoxContainer" index="0" instance=ExtResource("3_w4duh")]
layout_mode = 2
[node name="HeaderLabel" parent="ContentPagePanel/VBoxContainer" index="1"]
text = "Character Sheet Templates"
[node name="SubHeaderLabel" parent="ContentPagePanel/VBoxContainer" index="3"]
visible = false
[node name="HSeparator2" parent="ContentPagePanel/VBoxContainer" index="4"]
visible = false
[node name="CustomListView" parent="ContentPagePanel/VBoxContainer/ContentPanel" index="0" instance=ExtResource("4_vsgey")]
layout_mode = 2
[editable path="ContentPagePanel"]
[editable path="ContentPagePanel/VBoxContainer/BackButtonHeader"]

View File

@ -0,0 +1,45 @@
[gd_scene load_steps=5 format=3 uid="uid://d2fmlv2jifbvd"]
[ext_resource type="Script" uid="uid://bbwh8awhnitgp" path="res://src/scripts/scenes/main/content_pages/CharactersContentPage.cs" id="1_qy7sr"]
[ext_resource type="PackedScene" uid="uid://bgidhyuhh4q7m" path="res://src/scripts/scenes/controls/content_page_panel_template.tscn" id="2_l6sgq"]
[ext_resource type="PackedScene" uid="uid://b8yuwyt8vu067" path="res://src/scenes/controls/back_button_with_header.tscn" id="3_4ytms"]
[ext_resource type="PackedScene" uid="uid://biwx4b277yoca" path="res://src/scenes/controls/custom_list_view/custom_list_view.tscn" id="4_hwds2"]
[node name="CharactersPage" type="Control" node_paths=PackedStringArray("_backButton", "_listView")]
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_qy7sr")
_backButton = NodePath("ContentPagePanel/VBoxContainer/BackButtonHeader/BackButton")
_listView = NodePath("ContentPagePanel/VBoxContainer/ContentPanel/CustomListView")
[node name="ContentPagePanel" parent="." instance=ExtResource("2_l6sgq")]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="BackButtonHeader" parent="ContentPagePanel/VBoxContainer" index="0" instance=ExtResource("3_4ytms")]
layout_mode = 2
[node name="HeaderLabel" parent="ContentPagePanel/VBoxContainer" index="1"]
text = "Characters"
[node name="SubHeaderLabel" parent="ContentPagePanel/VBoxContainer" index="3"]
visible = false
[node name="HSeparator2" parent="ContentPagePanel/VBoxContainer" index="4"]
visible = false
[node name="CustomListView" parent="ContentPagePanel/VBoxContainer/ContentPanel" index="0" instance=ExtResource("4_hwds2")]
layout_mode = 2
[editable path="ContentPagePanel"]
[editable path="ContentPagePanel/VBoxContainer/BackButtonHeader"]

View File

@ -0,0 +1,45 @@
[gd_scene load_steps=5 format=3 uid="uid://cymkrj587gxm5"]
[ext_resource type="Script" uid="uid://b5yenemkjcmm7" path="res://src/scripts/scenes/main/content_pages/DatasetsContentPage.cs" id="1_150se"]
[ext_resource type="PackedScene" uid="uid://bgidhyuhh4q7m" path="res://src/scripts/scenes/controls/content_page_panel_template.tscn" id="2_u3u32"]
[ext_resource type="PackedScene" uid="uid://b8yuwyt8vu067" path="res://src/scenes/controls/back_button_with_header.tscn" id="3_s2sf2"]
[ext_resource type="PackedScene" uid="uid://biwx4b277yoca" path="res://src/scenes/controls/custom_list_view/custom_list_view.tscn" id="4_150se"]
[node name="DatasetsPage" type="Control" node_paths=PackedStringArray("_backButton", "_listView")]
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_150se")
_backButton = NodePath("ContentPagePanel/VBoxContainer/BackButtonHeader/BackButton")
_listView = NodePath("ContentPagePanel/VBoxContainer/ContentPanel/CustomListView")
[node name="ContentPagePanel" parent="." instance=ExtResource("2_u3u32")]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="BackButtonHeader" parent="ContentPagePanel/VBoxContainer" index="0" instance=ExtResource("3_s2sf2")]
layout_mode = 2
[node name="HeaderLabel" parent="ContentPagePanel/VBoxContainer" index="1"]
text = "Datasets"
[node name="SubHeaderLabel" parent="ContentPagePanel/VBoxContainer" index="3"]
visible = false
[node name="HSeparator2" parent="ContentPagePanel/VBoxContainer" index="4"]
visible = false
[node name="CustomListView" parent="ContentPagePanel/VBoxContainer/ContentPanel" index="0" instance=ExtResource("4_150se")]
layout_mode = 2
[editable path="ContentPagePanel"]
[editable path="ContentPagePanel/VBoxContainer/BackButtonHeader"]

View File

@ -7,7 +7,7 @@
[ext_resource type="Texture2D" uid="uid://dn6obwwyar2er" path="res://resources/icons/outline/general/database.svg" id="4_p4fm1"] [ext_resource type="Texture2D" uid="uid://dn6obwwyar2er" path="res://resources/icons/outline/general/database.svg" id="4_p4fm1"]
[ext_resource type="Texture2D" uid="uid://dl1vmy617ucp0" path="res://resources/icons/outline/user/users-group.svg" id="5_on1wh"] [ext_resource type="Texture2D" uid="uid://dl1vmy617ucp0" path="res://resources/icons/outline/user/users-group.svg" id="5_on1wh"]
[node name="HomePage" type="Control"] [node name="HomePage" type="Control" node_paths=PackedStringArray("_libraryButton")]
layout_mode = 3 layout_mode = 3
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@ -17,6 +17,7 @@ grow_vertical = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
script = ExtResource("1_p4fm1") script = ExtResource("1_p4fm1")
_libraryButton = NodePath("ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/LibraryControlPanelButton")
[node name="ContentPagePanel" parent="." instance=ExtResource("1_o7g64")] [node name="ContentPagePanel" parent="." instance=ExtResource("1_o7g64")]
layout_mode = 1 layout_mode = 1

View File

@ -0,0 +1,76 @@
[gd_scene load_steps=7 format=3 uid="uid://dkrls6nkk3fk4"]
[ext_resource type="Script" uid="uid://cupu3hhjv03me" path="res://src/scripts/scenes/main/content_pages/LibraryContentPage.cs" id="2_ac4mv"]
[ext_resource type="PackedScene" uid="uid://bgidhyuhh4q7m" path="res://src/scripts/scenes/controls/content_page_panel_template.tscn" id="2_bkm2p"]
[ext_resource type="PackedScene" uid="uid://b8yuwyt8vu067" path="res://src/scenes/controls/back_button_with_header.tscn" id="3_fi1w6"]
[ext_resource type="PackedScene" uid="uid://uw5lhfr2gtir" path="res://src/scenes/controls/library_grid_container_template.tscn" id="3_yjx2p"]
[ext_resource type="PackedScene" uid="uid://dik0j12wsrebk" path="res://src/scenes/controls/control_panel_button.tscn" id="4_1qkxs"]
[ext_resource type="Texture2D" uid="uid://dn6obwwyar2er" path="res://resources/icons/outline/general/database.svg" id="5_0axvq"]
[node name="LibraryPage" type="Control" node_paths=PackedStringArray("_backButton", "_datasetsButton")]
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("2_ac4mv")
_backButton = NodePath("ContentPagePanel/VBoxContainer/BackButtonHeader/BackButton")
_datasetsButton = NodePath("ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/DatasetsControlPanelButton")
[node name="ContentPagePanel" parent="." instance=ExtResource("2_bkm2p")]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="BackButtonHeader" parent="ContentPagePanel/VBoxContainer" index="0" instance=ExtResource("3_fi1w6")]
layout_mode = 2
[node name="HeaderLabel" parent="ContentPagePanel/VBoxContainer" index="1"]
text = "Library"
[node name="SubHeaderLabel" parent="ContentPagePanel/VBoxContainer" index="3"]
visible = false
[node name="HSeparator2" parent="ContentPagePanel/VBoxContainer" index="4"]
visible = false
[node name="LibraryGridContainer" parent="ContentPagePanel/VBoxContainer/ContentPanel" index="0" instance=ExtResource("3_yjx2p")]
layout_mode = 2
[node name="CharacterTemplatesControlPanelButton2" parent="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer" instance=ExtResource("4_1qkxs")]
layout_mode = 2
tooltip_text = "Templates"
[node name="HeaderLabel" parent="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/CharacterTemplatesControlPanelButton2/MarginContainer/VBoxContainer" index="1"]
custom_minimum_size = Vector2(226.315, 0)
text = "Character Sheet Templates"
horizontal_alignment = 1
autowrap_mode = 2
[node name="DescriptionLabel" parent="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/CharacterTemplatesControlPanelButton2/MarginContainer/VBoxContainer" index="2"]
text = "Create and manage Character Sheet Templates"
[node name="DatasetsControlPanelButton" parent="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer" instance=ExtResource("4_1qkxs")]
layout_mode = 2
tooltip_text = "Datasets"
[node name="Icon" parent="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/DatasetsControlPanelButton/MarginContainer/VBoxContainer" index="0"]
texture = ExtResource("5_0axvq")
[node name="HeaderLabel" parent="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/DatasetsControlPanelButton/MarginContainer/VBoxContainer" index="1"]
text = "Datasets"
[node name="DescriptionLabel" parent="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/DatasetsControlPanelButton/MarginContainer/VBoxContainer" index="2"]
text = "Create and manage Datasets"
[editable path="ContentPagePanel"]
[editable path="ContentPagePanel/VBoxContainer/BackButtonHeader"]
[editable path="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer"]
[editable path="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/CharacterTemplatesControlPanelButton2"]
[editable path="ContentPagePanel/VBoxContainer/ContentPanel/LibraryGridContainer/DatasetsControlPanelButton"]

View File

@ -64,7 +64,16 @@ public partial class AppManager : Node
} }
MainCanvas.AddChild(MainUI); MainCanvas.AddChild(MainUI);
}
MainUI.LoadPageContent(Pages["Home"]); public void LoadPage(string pageName)
{
if (!Pages.TryGetValue(pageName, out ContentPageBase value))
{
GD.PrintRich($"[color=yellow]Couldn't find page '{pageName}'[/color]");
return;
}
MainUI.LoadPageContent(value);
} }
} }

View File

@ -1,5 +1,7 @@
using Godot; using Godot;
namespace SessionZeroApp;
public partial class ContentPageBase : Control public partial class ContentPageBase : Control
{ {
[Export] public virtual string PageName { get; protected set; } [Export] public virtual string PageName { get; protected set; }

View File

@ -0,0 +1,6 @@
using Godot;
using System;
public partial class CustomListView : VBoxContainer
{
}

View File

@ -0,0 +1 @@
uid://boe313gp0gaji

View File

@ -5,12 +5,19 @@ namespace SessionZeroApp;
public partial class MainUILogic : Control public partial class MainUILogic : Control
{ {
[ExportGroup("Node Exports")] [ExportCategory("Node Exports")]
[Export] public TextureButton HamburgerButton; [Export] public TextureButton HamburgerButton;
[Export] public Panel SideNavPanel; [Export] public Panel SideNavPanel;
[Export] public MarginContainer MainContentContainer; [Export] public MarginContainer MainContentContainer;
[ExportGroup("NavPanelButtons")]
[Export] private Button _homeNavButton;
[Export] private Button _libraryNavButton;
[Export] private Button _charactersNavButton;
[Export] private Button _advancedNavButton;
[Export] private Button _profileNavButton;
[Export] private Button _settingsNavButton;
[ExportGroup("Behaviour")] [ExportCategory("Behaviour")]
[Export] private int _navPanelExpandedSize = 60; [Export] private int _navPanelExpandedSize = 60;
private bool _sideNavToggled = true; private bool _sideNavToggled = true;
@ -28,7 +35,16 @@ public partial class MainUILogic : Control
private void SetupButtonConnections() private void SetupButtonConnections()
{ {
HamburgerButton.Pressed += () => {ToggleSideNav();}; HamburgerButton.Pressed += () => {ToggleSideNav();};
}
// Nav panel buttons
_homeNavButton.Pressed += () => { AppManager.Instance.LoadPage("Home"); };
_libraryNavButton.Pressed += () => { AppManager.Instance.LoadPage("Library"); };
_charactersNavButton.Pressed += () => { AppManager.Instance.LoadPage("Characters"); };
_advancedNavButton.Pressed += () => { AppManager.Instance.LoadPage("Advanced"); };
_profileNavButton.Pressed += () => { AppManager.Instance.LoadPage("Profile"); };
_settingsNavButton.Pressed += () => { AppManager.Instance.LoadPage("Settings"); };
}
private void ToggleSideNav() private void ToggleSideNav()
@ -52,10 +68,10 @@ public partial class MainUILogic : Control
public void LoadPageContent(Control pageContent) public void LoadPageContent(Control pageContent)
{ {
foreach (var child in MainContentContainer.GetChildren()) if (MainContentContainer.GetChildCount() > 0)
{ {
RemoveChild(child); MainContentContainer.RemoveChild(MainContentContainer.GetChild(0));
} }
MainContentContainer.AddChild(pageContent); MainContentContainer.AddChild(pageContent);
} }

View File

@ -0,0 +1,23 @@
using Godot;
using System;
using System.Dynamic;
namespace SessionZeroApp;
public partial class CharacterTemplatesContentPage : ContentPageBase
{
public override string PageName { get; protected set; } = "CharacterTemplates";
[Export] private Button _backButton;
[Export] private CustomListView _listView;
public override void _Ready()
{
SetupConnections();
}
private void SetupConnections()
{
_backButton.Pressed += () => { AppManager.Instance.LoadPage("Library"); };
}
}

View File

@ -0,0 +1 @@
uid://383g2eoqqfp0

View File

@ -0,0 +1,23 @@
using Godot;
using System;
using System.Dynamic;
namespace SessionZeroApp;
public partial class CharactersContentPage : ContentPageBase
{
public override string PageName { get; protected set; } = "Characters";
[Export] private Button _backButton;
[Export] private CustomListView _listView;
public override void _Ready()
{
SetupConnections();
}
private void SetupConnections()
{
_backButton.Pressed += () => { AppManager.Instance.LoadPage("Home"); };
}
}

View File

@ -0,0 +1 @@
uid://bbwh8awhnitgp

View File

@ -0,0 +1,23 @@
using Godot;
using System;
using System.Dynamic;
namespace SessionZeroApp;
public partial class DatasetsContentPage : ContentPageBase
{
public override string PageName { get; protected set; } = "Datasets";
[Export] private Button _backButton;
[Export] private CustomListView _listView;
public override void _Ready()
{
SetupConnections();
}
private void SetupConnections()
{
_backButton.Pressed += () => { AppManager.Instance.LoadPage("Library"); };
}
}

View File

@ -0,0 +1 @@
uid://b5yenemkjcmm7

View File

@ -1,12 +1,20 @@
using Godot; using Godot;
using SessionZeroApp;
public partial class HomeContentPage : ContentPageBase public partial class HomeContentPage : ContentPageBase
{ {
public override string PageName { get; protected set; } = "Home"; public override string PageName { get; protected set; } = "Home";
[Export] private ControlPanelButton _libraryButton;
public override void _Ready() public override void _Ready()
{ {
SetupConnections();
}
private void SetupConnections()
{
_libraryButton.Pressed += () => { AppManager.Instance.LoadPage("Library"); };
} }
} }

View File

@ -0,0 +1,24 @@
using Godot;
namespace SessionZeroApp;
public partial class LibraryContentPage : ContentPageBase
{
public override string PageName { get; protected set; } = "Library";
[Export] private Button _backButton;
[Export] private ControlPanelButton _datasetsButton;
public override void _Ready()
{
SetupConnections();
}
private void SetupConnections()
{
_backButton.Pressed += () => { AppManager.Instance.LoadPage("Home"); };
_datasetsButton.Pressed += () => { AppManager.Instance.LoadPage("Datasets"); };
}
}

View File

@ -0,0 +1 @@
uid://cupu3hhjv03me