Files
sor/Client/origin-client/scenes/collection/views/DecksView.tscn
T
2026-03-02 08:37:51 -05:00

157 lines
4.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://scenes/collection/views/decks_view.gd" id="1_dv"]
[ext_resource type="Script" path="res://scenes/collection/components/deck_editor_panel.gd" 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_bottom = 8
[node name="Header" type="HBoxContainer" parent="HeaderMargin"]
layout_mode = 2
custom_minimum_size = Vector2(0, 34)
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
[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"
theme_override_font_sizes/font_size = 14
[node name="NewDeckForm" type="PanelContainer" parent="."]
unique_name_in_owner = true
layout_mode = 2
visible = false
[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_bottom = 10
[node name="FormVBox" type="VBoxContainer" parent="NewDeckForm/FormMargin"]
layout_mode = 2
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
[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"
theme_override_font_sizes/font_size = 14
[node name="ArchSpiritLabel" type="Label" parent="NewDeckForm/FormMargin/FormVBox"]
layout_mode = 2
text = "ArchSpirit Card"
theme_override_font_sizes/font_size = 13
modulate = Color(0.8, 0.8, 0.85, 1.0)
[node name="ArchSpiritScroll" type="ScrollContainer" parent="NewDeckForm/FormMargin/FormVBox"]
layout_mode = 2
custom_minimum_size = Vector2(0, 170)
vertical_scroll_mode = 0
[node name="ArchSpiritGrid" type="HBoxContainer" parent="NewDeckForm/FormMargin/FormVBox/ArchSpiritScroll"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 8
[node name="ArchSpiritHint" type="Label" parent="NewDeckForm/FormMargin/FormVBox"]
unique_name_in_owner = true
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
[node name="FormButtons" type="HBoxContainer" parent="NewDeckForm/FormMargin/FormVBox"]
layout_mode = 2
theme_override_constants/separation = 8
[node name="CancelNewBtn" type="Button" parent="NewDeckForm/FormMargin/FormVBox/FormButtons"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
custom_minimum_size = Vector2(0, 36)
text = "Cancel"
theme_override_font_sizes/font_size = 14
[node name="CreateBtn" type="Button" parent="NewDeckForm/FormMargin/FormVBox/FormButtons"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
custom_minimum_size = Vector2(0, 36)
text = "Create"
disabled = true
theme_override_font_sizes/font_size = 14
[node name="Scroll" type="ScrollContainer" parent="."]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 0
[node name="DeckListMargin" type="MarginContainer" parent="Scroll"]
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_bottom = 8
[node name="DeckList" type="VBoxContainer" parent="Scroll/DeckListMargin"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 4
[node name="StatusRow" type="HBoxContainer" parent="."]
layout_mode = 2
custom_minimum_size = Vector2(0, 44)
alignment = 1
[node name="LoadingLabel" type="Label" parent="StatusRow"]
unique_name_in_owner = true
layout_mode = 2
text = "Loading…"
modulate = Color(0.75, 0.75, 0.8, 1.0)
theme_override_font_sizes/font_size = 14
[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)
theme_override_font_sizes/font_size = 14
[node name="DeckEditorPanel" type="VBoxContainer" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
visible = false
script = ExtResource("2_dep")
[node name="ConfirmDialog" type="ConfirmationDialog" parent="."]
unique_name_in_owner = true
title = "Confirm Delete"
ok_button_text = "Delete"