mirror of
https://github.com/mr0xb/godot-flashcards.git
synced 2026-08-28 04:54:57 -04:00
84 lines
2.7 KiB
Text
84 lines
2.7 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://bpd7dt0cpoh1m"]
|
|
|
|
[ext_resource type="Script" uid="uid://becqmtpte7ysr" path="res://scenes/ui/deck_manager/deck_manager.gd" id="1_jh7lm"]
|
|
[ext_resource type="PackedScene" path="res://scenes/ui/deck_manager/deck_editor.tscn" id="2_deck_editor"]
|
|
[ext_resource type="PackedScene" uid="uid://chj1kxack8ean" path="res://scenes/ui/deck_manager/online_deck_browser.tscn" id="3_online_browser"]
|
|
|
|
[node name="DeckManager" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_jh7lm")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 40
|
|
theme_override_constants/margin_top = 40
|
|
theme_override_constants/margin_right = 40
|
|
theme_override_constants/margin_bottom = 40
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="Header" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="BackButton" type="Button" parent="MarginContainer/VBoxContainer/Header"]
|
|
custom_minimum_size = Vector2(100, 50)
|
|
layout_mode = 2
|
|
text = "← Back"
|
|
|
|
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer/Header"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Deck Manager"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="BrowseOnlineButton" type="Button" parent="MarginContainer/VBoxContainer/Header"]
|
|
custom_minimum_size = Vector2(150, 50)
|
|
layout_mode = 2
|
|
text = "🌐 Browse Online"
|
|
|
|
[node name="CreateDeckButton" type="Button" parent="MarginContainer/VBoxContainer/Header"]
|
|
custom_minimum_size = Vector2(150, 50)
|
|
layout_mode = 2
|
|
text = "+ New Deck"
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="DeckListContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="ModalOverlay" type="ColorRect" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.9411765)
|
|
|
|
[node name="DeckEditor" parent="." instance=ExtResource("2_deck_editor")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="OnlineDeckBrowser" parent="." instance=ExtResource("3_online_browser")]
|
|
visible = false
|
|
layout_mode = 1
|