This commit is contained in:
dingo
2026-04-12 14:44:37 -04:00
parent d5fa790ccc
commit c3a39fd7a1
35 changed files with 1169 additions and 314 deletions
@@ -1,47 +1,46 @@
[gd_scene load_steps=3 format=3]
[gd_scene load_steps=3 format=3 uid="uid://rgeaiwwgwhli"]
[ext_resource type="Script" path="res://scenes/collection/views/decks_view.gd" id="1_dv"]
[ext_resource type="Script" uid="uid://vbuabpoyb47" path="res://scenes/collection/views/decks_view.gd" id="1_dv"]
[ext_resource type="PackedScene" path="res://scenes/collection/components/DeckEditorPanel.tscn" id="2_dep"]
[node name="DecksView" type="VBoxContainer"]
layout_mode = 2
script = ExtResource("1_dv")
[node name="HeaderMargin" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 12
theme_override_constants/margin_right = 12
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 12
theme_override_constants/margin_bottom = 8
[node name="Header" type="HBoxContainer" parent="HeaderMargin"]
layout_mode = 2
custom_minimum_size = Vector2(0, 34)
layout_mode = 2
theme_override_constants/separation = 8
[node name="HeaderLabel" type="Label" parent="HeaderMargin/Header"]
layout_mode = 2
size_flags_horizontal = 3
text = "Decks"
theme_override_font_sizes/font_size = 16
text = "Decks"
[node name="NewDeckBtn" type="Button" parent="HeaderMargin/Header"]
unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(0, 34)
text = "+ New Deck"
layout_mode = 2
theme_override_font_sizes/font_size = 14
text = "+ New Deck"
[node name="NewDeckForm" type="PanelContainer" parent="."]
unique_name_in_owner = true
layout_mode = 2
visible = false
layout_mode = 2
[node name="FormMargin" type="MarginContainer" parent="NewDeckForm"]
layout_mode = 2
theme_override_constants/margin_left = 12
theme_override_constants/margin_right = 12
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 12
theme_override_constants/margin_bottom = 10
[node name="FormVBox" type="VBoxContainer" parent="NewDeckForm/FormMargin"]
@@ -50,25 +49,25 @@ theme_override_constants/separation = 10
[node name="FormTitle" type="Label" parent="NewDeckForm/FormMargin/FormVBox"]
layout_mode = 2
text = "New Deck"
theme_override_font_sizes/font_size = 15
text = "New Deck"
[node name="DeckNameInput" type="LineEdit" parent="NewDeckForm/FormMargin/FormVBox"]
unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(0, 36)
placeholder_text = "Deck Name"
layout_mode = 2
theme_override_font_sizes/font_size = 14
placeholder_text = "Deck Name"
[node name="ArchSpiritLabel" type="Label" parent="NewDeckForm/FormMargin/FormVBox"]
modulate = Color(0.8, 0.8, 0.85, 1)
layout_mode = 2
text = "ArchSpirit Card"
theme_override_font_sizes/font_size = 13
modulate = Color(0.8, 0.8, 0.85, 1.0)
text = "ArchSpirit Card"
[node name="ArchSpiritScroll" type="ScrollContainer" parent="NewDeckForm/FormMargin/FormVBox"]
layout_mode = 2
custom_minimum_size = Vector2(0, 170)
layout_mode = 2
vertical_scroll_mode = 0
[node name="ArchSpiritGrid" type="HBoxContainer" parent="NewDeckForm/FormMargin/FormVBox/ArchSpiritScroll"]
@@ -78,10 +77,10 @@ theme_override_constants/separation = 8
[node name="ArchSpiritHint" type="Label" parent="NewDeckForm/FormMargin/FormVBox"]
unique_name_in_owner = true
modulate = Color(1, 0.75, 0.3, 1)
layout_mode = 2
text = "Select an ArchSpirit card to continue."
modulate = Color(1.0, 0.75, 0.3, 1.0)
theme_override_font_sizes/font_size = 12
text = "Select an ArchSpirit card to continue."
[node name="FormButtons" type="HBoxContainer" parent="NewDeckForm/FormMargin/FormVBox"]
layout_mode = 2
@@ -89,20 +88,20 @@ theme_override_constants/separation = 8
[node name="CancelNewBtn" type="Button" parent="NewDeckForm/FormMargin/FormVBox/FormButtons"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 36)
layout_mode = 2
size_flags_horizontal = 3
custom_minimum_size = Vector2(0, 36)
text = "Cancel"
theme_override_font_sizes/font_size = 14
text = "Cancel"
[node name="CreateBtn" type="Button" parent="NewDeckForm/FormMargin/FormVBox/FormButtons"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 36)
layout_mode = 2
size_flags_horizontal = 3
custom_minimum_size = Vector2(0, 36)
text = "Create"
disabled = true
theme_override_font_sizes/font_size = 14
disabled = true
text = "Create"
[node name="Scroll" type="ScrollContainer" parent="."]
layout_mode = 2
@@ -113,8 +112,8 @@ horizontal_scroll_mode = 0
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/margin_left = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8
[node name="DeckList" type="VBoxContainer" parent="Scroll/DeckListMargin"]
@@ -124,30 +123,29 @@ size_flags_horizontal = 3
theme_override_constants/separation = 4
[node name="StatusRow" type="HBoxContainer" parent="."]
layout_mode = 2
custom_minimum_size = Vector2(0, 44)
layout_mode = 2
alignment = 1
[node name="LoadingLabel" type="Label" parent="StatusRow"]
unique_name_in_owner = true
modulate = Color(0.75, 0.75, 0.8, 1)
layout_mode = 2
text = "Loading…"
modulate = Color(0.75, 0.75, 0.8, 1.0)
theme_override_font_sizes/font_size = 14
text = "Loading…"
[node name="EmptyLabel" type="Label" parent="StatusRow"]
unique_name_in_owner = true
layout_mode = 2
text = "No decks yet. Tap + to create one."
visible = false
modulate = Color(0.6, 0.6, 0.65, 1.0)
modulate = Color(0.6, 0.6, 0.65, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 14
text = "No decks yet. Tap + to create one."
[node name="DeckEditorPanel" parent="." instance=ExtResource("2_dep")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
visible = false
layout_mode = 2
[node name="ConfirmDialog" type="ConfirmationDialog" parent="."]
unique_name_in_owner = true