[gd_scene load_steps=3 format=2]

[ext_resource path="res://Entry.tscn" type="PackedScene" id=1]
[ext_resource path="res://Main.gd" type="Script" id=2]

[node name="Control" type="MarginContainer"]
anchor_left = 0.00976563
anchor_top = 0.0166667
anchor_right = 0.990234
anchor_bottom = 0.983333
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": true
}

[node name="Main" type="HBoxContainer" parent="."]
margin_right = 1003.0
margin_bottom = 579.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Options" type="VBoxContainer" parent="Main"]
margin_right = 173.0
margin_bottom = 579.0

[node name="GridSize" type="HBoxContainer" parent="Main/Options"]
margin_right = 173.0
margin_bottom = 24.0

[node name="Label" type="Label" parent="Main/Options/GridSize"]
margin_top = 5.0
margin_right = 94.0
margin_bottom = 19.0
text = "Grid Size (2-8):"

[node name="LineEdit" type="LineEdit" parent="Main/Options/GridSize"]
margin_left = 98.0
margin_right = 156.0
margin_bottom = 24.0
text = "5"
caret_blink = true
caret_blink_speed = 0.5

[node name="FreeSpace" type="HBoxContainer" parent="Main/Options"]
margin_top = 28.0
margin_right = 173.0
margin_bottom = 52.0

[node name="Label" type="Label" parent="Main/Options/FreeSpace"]
margin_top = 5.0
margin_right = 73.0
margin_bottom = 19.0
text = "Free Space:"

[node name="CheckBox" type="CheckBox" parent="Main/Options/FreeSpace"]
margin_left = 77.0
margin_right = 101.0
margin_bottom = 24.0
pressed = true

[node name="Colors" type="VBoxContainer" parent="Main/Options"]
margin_top = 56.0
margin_right = 173.0
margin_bottom = 184.0

[node name="TitleCol" type="HBoxContainer" parent="Main/Options/Colors"]
margin_right = 173.0
margin_bottom = 40.0

[node name="TColLabel" type="Label" parent="Main/Options/Colors/TitleCol"]
margin_top = 13.0
margin_right = 73.0
margin_bottom = 27.0
text = "Title Color: "

[node name="TCol" type="ColorPickerButton" parent="Main/Options/Colors/TitleCol"]
margin_left = 77.0
margin_right = 137.0
margin_bottom = 40.0
rect_min_size = Vector2( 60, 40 )
color = Color( 1, 1, 1, 1 )
edit_alpha = false

[node name="EntryCol" type="HBoxContainer" parent="Main/Options/Colors"]
margin_top = 44.0
margin_right = 173.0
margin_bottom = 84.0

[node name="EColLabel" type="Label" parent="Main/Options/Colors/EntryCol"]
margin_top = 13.0
margin_right = 72.0
margin_bottom = 27.0
text = "Text Color: "

[node name="ECol" type="ColorPickerButton" parent="Main/Options/Colors/EntryCol"]
margin_left = 76.0
margin_right = 136.0
margin_bottom = 40.0
rect_min_size = Vector2( 60, 40 )
edit_alpha = false

[node name="GridCol" type="HBoxContainer" parent="Main/Options/Colors"]
margin_top = 88.0
margin_right = 173.0
margin_bottom = 128.0

[node name="GColLabel" type="Label" parent="Main/Options/Colors/GridCol"]
margin_top = 13.0
margin_right = 71.0
margin_bottom = 27.0
text = "Back Color:"

[node name="GCol" type="ColorPickerButton" parent="Main/Options/Colors/GridCol"]
margin_left = 75.0
margin_right = 135.0
margin_bottom = 40.0
rect_min_size = Vector2( 60, 40 )
color = Color( 0.713726, 0.713726, 0.713726, 1 )
edit_alpha = false

[node name="TextSize" type="HBoxContainer" parent="Main/Options"]
margin_top = 188.0
margin_right = 173.0
margin_bottom = 212.0

[node name="TSizeLabel" type="Label" parent="Main/Options/TextSize"]
margin_top = 5.0
margin_right = 65.0
margin_bottom = 19.0
text = "Text Size: "

[node name="TSizeEdit" type="LineEdit" parent="Main/Options/TextSize"]
margin_left = 69.0
margin_right = 173.0
margin_bottom = 24.0
size_flags_horizontal = 3
placeholder_text = "Any Number"

[node name="SaveLoad" type="VBoxContainer" parent="Main/Options"]
margin_top = 351.0
margin_right = 173.0
margin_bottom = 395.0
size_flags_vertical = 10

[node name="SaveButton" type="Button" parent="Main/Options/SaveLoad"]
margin_right = 173.0
margin_bottom = 20.0
text = "Save As..."

[node name="LoadButton" type="Button" parent="Main/Options/SaveLoad"]
margin_top = 24.0
margin_right = 173.0
margin_bottom = 44.0
text = "Load Sheet"

[node name="Generation" type="VBoxContainer" parent="Main/Options"]
margin_top = 531.0
margin_right = 173.0
margin_bottom = 579.0
size_flags_vertical = 10

[node name="CardNumber" type="HBoxContainer" parent="Main/Options/Generation"]
margin_right = 173.0
margin_bottom = 24.0

[node name="Label" type="Label" parent="Main/Options/Generation/CardNumber"]
margin_top = 5.0
margin_right = 111.0
margin_bottom = 19.0
text = "# Cards to Make: "

[node name="LineEdit" type="LineEdit" parent="Main/Options/Generation/CardNumber"]
margin_left = 115.0
margin_right = 173.0
margin_bottom = 24.0
text = "5"
caret_blink = true
caret_blink_speed = 0.5

[node name="Generate" type="Button" parent="Main/Options/Generation"]
margin_top = 28.0
margin_right = 173.0
margin_bottom = 48.0
size_flags_vertical = 9
text = "Generate Cards"

[node name="GridContainer" type="VBoxContainer" parent="Main"]
margin_left = 177.0
margin_right = 699.0
margin_bottom = 579.0
size_flags_horizontal = 3

[node name="TitleArray" type="HBoxContainer" parent="Main/GridContainer"]
margin_right = 522.0

[node name="Main Grid" type="GridContainer" parent="Main/GridContainer"]
margin_top = 4.0
margin_right = 522.0
margin_bottom = 579.0
rect_clip_content = true
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 5

[node name="Entries" type="VBoxContainer" parent="Main"]
margin_left = 703.0
margin_right = 1003.0
margin_bottom = 579.0
rect_min_size = Vector2( 300, 0 )
size_flags_horizontal = 9
custom_constants/separation = 15
alignment = 2

[node name="EntryNew" type="HBoxContainer" parent="Main/Entries"]
margin_right = 300.0
margin_bottom = 24.0

[node name="NewEntry" type="Button" parent="Main/Entries/EntryNew"]
margin_right = 238.0
margin_bottom = 24.0
size_flags_horizontal = 3
text = "New Entry"

[node name="LineEdit" type="LineEdit" parent="Main/Entries/EntryNew"]
margin_left = 242.0
margin_right = 300.0
margin_bottom = 24.0
text = "1"
placeholder_text = "1-5"

[node name="EntryNum" type="Label" parent="Main/Entries"]
margin_top = 39.0
margin_right = 300.0
margin_bottom = 53.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "There are 1/200 entries"
align = 1
autowrap = true

[node name="EntryNav" type="ScrollContainer" parent="Main/Entries"]
margin_top = 68.0
margin_right = 300.0
margin_bottom = 498.0
size_flags_vertical = 3

[node name="EntryGrid" type="VBoxContainer" parent="Main/Entries/EntryNav"]
margin_right = 300.0
margin_bottom = 24.0
size_flags_horizontal = 3

[node name="Entry" parent="Main/Entries/EntryNav/EntryGrid" instance=ExtResource( 1 )]

[node name="ShuffleButton" type="Button" parent="Main/Entries"]
margin_top = 513.0
margin_right = 300.0
margin_bottom = 533.0
text = "Shuffle"

[node name="Label" type="Label" parent="Main/Entries"]
margin_top = 548.0
margin_right = 300.0
margin_bottom = 579.0
custom_colors/font_color = Color( 1, 0.956863, 0, 1 )
text = "Not enough entries! For a complete grid, there needs to be at least 400 more!"
align = 1
autowrap = true

[node name="FileDialog" type="FileDialog" parent="."]
margin_right = 1003.0
margin_bottom = 579.0
window_title = "Open a Directory"
mode = 2
access = 2

[connection signal="focus_exited" from="Main/Options/GridSize/LineEdit" to="." method="_on_LineEdit_focus_exited"]
[connection signal="text_changed" from="Main/Options/GridSize/LineEdit" to="." method="_on_LineEdit_text_changed"]
[connection signal="text_changed" from="Main/Options/TextSize/TSizeEdit" to="." method="_on_TSizeEdit_text_changed"]
[connection signal="pressed" from="Main/Options/SaveLoad/SaveButton" to="." method="save_list"]
[connection signal="pressed" from="Main/Options/SaveLoad/LoadButton" to="." method="load_list"]
[connection signal="pressed" from="Main/Options/Generation/Generate" to="." method="generate_cards"]
[connection signal="pressed" from="Main/Entries/EntryNew/NewEntry" to="." method="_on_NewEntry_pressed"]
[connection signal="pressed" from="Main/Entries/ShuffleButton" to="." method="shuffle_entries"]
