[gd_scene load_steps=4 format=3 uid="uid://b6p3xap0lllom"] [ext_resource type="Script" uid="uid://va08baxglyg5" path="res://scenes/collection/collection_screen.gd" id="1_cs"] [ext_resource type="PackedScene" uid="uid://ca8qmqtdwyt1s" path="res://scenes/collection/views/CardsView.tscn" id="2_cv"] [ext_resource type="PackedScene" uid="uid://rgeaiwwgwhli" path="res://scenes/collection/views/DecksView.tscn" id="3_dv"] [node name="CollectionScreen" type="VBoxContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_cs") [node name="TopBarMargin" 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="TopBar" type="HBoxContainer" parent="TopBarMargin"] custom_minimum_size = Vector2(0, 40) layout_mode = 2 theme_override_constants/separation = 8 [node name="BackBtn" type="Button" parent="TopBarMargin/TopBar"] unique_name_in_owner = true custom_minimum_size = Vector2(40, 40) layout_mode = 2 tooltip_text = "Back" theme_override_font_sizes/font_size = 18 text = "←" [node name="TitleLabel" type="Label" parent="TopBarMargin/TopBar"] layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 18 text = "Collection" vertical_alignment = 1 [node name="SyncLabel" type="Label" parent="TopBarMargin/TopBar"] unique_name_in_owner = true visible = false modulate = Color(0.65, 0.65, 0.8, 1) layout_mode = 2 theme_override_font_sizes/font_size = 12 [node name="HSeparator" type="HSeparator" parent="."] layout_mode = 2 [node name="TabBarMargin" type="MarginContainer" parent="."] layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 6 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 6 [node name="TabBar" type="HBoxContainer" parent="TabBarMargin"] custom_minimum_size = Vector2(0, 36) layout_mode = 2 theme_override_constants/separation = 8 [node name="CardsTabBtn" type="Button" parent="TabBarMargin/TabBar"] 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 = "Cards" [node name="DecksTabBtn" type="Button" parent="TabBarMargin/TabBar"] 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 = "Decks" [node name="ContentArea" type="Control" parent="."] layout_mode = 2 size_flags_vertical = 3 [node name="CardsView" parent="ContentArea" instance=ExtResource("2_cv")] unique_name_in_owner = true layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="DecksView" parent="ContentArea" instance=ExtResource("3_dv")] unique_name_in_owner = true visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2