Files
sor/Client/origin-client/scenes/collection/views/DecksView.tscn
T
2026-04-12 14:44:37 -04:00

154 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 uid="uid://rgeaiwwgwhli"]
[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"]
script = ExtResource("1_dv")
[node name="HeaderMargin" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 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"]
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
theme_override_font_sizes/font_size = 16
text = "Decks"
[node name="NewDeckBtn" type="Button" parent="HeaderMargin/Header"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 34)
layout_mode = 2
theme_override_font_sizes/font_size = 14
text = "+ New Deck"
[node name="NewDeckForm" type="PanelContainer" parent="."]
unique_name_in_owner = true
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_top = 10
theme_override_constants/margin_right = 12
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
theme_override_font_sizes/font_size = 15
text = "New Deck"
[node name="DeckNameInput" type="LineEdit" parent="NewDeckForm/FormMargin/FormVBox"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 36)
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
theme_override_font_sizes/font_size = 13
text = "ArchSpirit Card"
[node name="ArchSpiritScroll" type="ScrollContainer" parent="NewDeckForm/FormMargin/FormVBox"]
custom_minimum_size = Vector2(0, 170)
layout_mode = 2
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
modulate = Color(1, 0.75, 0.3, 1)
layout_mode = 2
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
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
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
theme_override_font_sizes/font_size = 14
disabled = true
text = "Create"
[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_top = 4
theme_override_constants/margin_right = 8
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="."]
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
theme_override_font_sizes/font_size = 14
text = "Loading…"
[node name="EmptyLabel" type="Label" parent="StatusRow"]
unique_name_in_owner = true
visible = false
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
visible = false
layout_mode = 2
[node name="ConfirmDialog" type="ConfirmationDialog" parent="."]
unique_name_in_owner = true
title = "Confirm Delete"
ok_button_text = "Delete"