189 lines
6.0 KiB
Plaintext
189 lines
6.0 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://bae5tlynmnhs1"]
|
|
|
|
[ext_resource type="Script" uid="uid://bxbvry7ph16jy" path="res://scenes/collection/components/deck_editor_panel.gd" id="1_dep"]
|
|
|
|
[node name="DeckEditorPanel" type="VBoxContainer"]
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 0
|
|
script = ExtResource("1_dep")
|
|
|
|
[node name="TopPanel" type="PanelContainer" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="TopMargin" type="MarginContainer" parent="TopPanel"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="TopBar" type="HBoxContainer" parent="TopPanel/TopMargin"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="BackBtn" type="Button" parent="TopPanel/TopMargin/TopBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(80, 32)
|
|
layout_mode = 2
|
|
text = "◄ Back"
|
|
|
|
[node name="TitleLabel" type="Label" parent="TopPanel/TopMargin/TopBar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 15
|
|
text = "Editing deck"
|
|
text_overrun_behavior = 3
|
|
|
|
[node name="CountLabel" type="Label" parent="TopPanel/TopMargin/TopBar"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.75, 0.75, 0.8, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "0 / 40"
|
|
|
|
[node name="Split" type="HBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="Left" type="VBoxContainer" parent="Split"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="LeftMargin" type="MarginContainer" parent="Split/Left"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 6
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 6
|
|
|
|
[node name="LeftInner" type="VBoxContainer" parent="Split/Left/LeftMargin"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="LeftHeader" type="Label" parent="Split/Left/LeftMargin/LeftInner"]
|
|
modulate = Color(0.8, 0.8, 0.85, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "Deck Contents"
|
|
|
|
[node name="DeckLoadingLabel" type="Label" parent="Split/Left/LeftMargin/LeftInner"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
modulate = Color(0.65, 0.65, 0.7, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "Loading…"
|
|
|
|
[node name="DeckScroll" type="ScrollContainer" parent="Split/Left/LeftMargin/LeftInner"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="DeckCardList" type="VBoxContainer" parent="Split/Left/LeftMargin/LeftInner/DeckScroll"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="VSep" type="VSeparator" parent="Split"]
|
|
layout_mode = 2
|
|
|
|
[node name="Right" type="VBoxContainer" parent="Split"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="RightMargin" type="MarginContainer" parent="Split/Right"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 6
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 6
|
|
|
|
[node name="RightInner" type="VBoxContainer" parent="Split/Right/RightMargin"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="RightHeader" type="Label" parent="Split/Right/RightMargin/RightInner"]
|
|
modulate = Color(0.8, 0.8, 0.85, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "Add Cards"
|
|
|
|
[node name="SearchBar" type="HBoxContainer" parent="Split/Right/RightMargin/RightInner"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="SearchInput" type="LineEdit" parent="Split/Right/RightMargin/RightInner/SearchBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 30)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 13
|
|
placeholder_text = "Search…"
|
|
|
|
[node name="FilterBar" type="HBoxContainer" parent="Split/Right/RightMargin/RightInner"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="TypeOption" type="OptionButton" parent="Split/Right/RightMargin/RightInner/FilterBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(110, 30)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 12
|
|
|
|
[node name="AffinityMenuBtn" type="MenuButton" parent="Split/Right/RightMargin/RightInner/FilterBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(118, 30)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "Affinities"
|
|
|
|
[node name="AffinityModeOption" type="OptionButton" parent="Split/Right/RightMargin/RightInner/FilterBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(72, 30)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
|
|
[node name="SortOption" type="OptionButton" parent="Split/Right/RightMargin/RightInner/FilterBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(104, 30)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 12
|
|
|
|
[node name="CollLoadingLabel" type="Label" parent="Split/Right/RightMargin/RightInner"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
modulate = Color(0.65, 0.65, 0.7, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "Loading…"
|
|
|
|
[node name="CollScroll" type="ScrollContainer" parent="Split/Right/RightMargin/RightInner"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="CollList" type="VBoxContainer" parent="Split/Right/RightMargin/RightInner/CollScroll"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="LoadMoreBtn" type="Button" parent="Split/Right/RightMargin/RightInner"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
text = "Load More"
|