init mod
This commit is contained in:
commit
e8e0c5159d
46 files changed
+7923
No files matched your search
@@ -0,0 +1,145 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/UI/ModCard.cs" id="1_card"]
|
||||
|
||||
[node name="ModCard" type="PanelContainer"]
|
||||
custom_minimum_size = Vector2(236, 0)
|
||||
size_flags_horizontal = 0
|
||||
mouse_filter = 0
|
||||
script = ExtResource("1_card")
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="Cover" type="Control" parent="VBox"]
|
||||
custom_minimum_size = Vector2(0, 132)
|
||||
layout_mode = 2
|
||||
clip_contents = true
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Placeholder" type="ColorRect" parent="VBox/Cover"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.054902, 0.058824, 0.082353, 1)
|
||||
|
||||
[node name="Image" type="TextureRect" parent="VBox/Cover"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="Body" type="MarginContainer" parent="VBox"]
|
||||
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 = 10
|
||||
|
||||
[node name="Box" type="VBoxContainer" parent="VBox/Body"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 5
|
||||
|
||||
[node name="Title" type="Label" parent="VBox/Body/Box"]
|
||||
custom_minimum_size = Vector2(0, 40)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
clip_text = true
|
||||
autowrap_mode = 3
|
||||
max_lines_visible = 2
|
||||
text_overrun_behavior = 3
|
||||
|
||||
[node name="Author" type="Label" parent="VBox/Body/Box"]
|
||||
custom_minimum_size = Vector2(0, 16)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
clip_text = true
|
||||
text_overrun_behavior = 3
|
||||
theme_override_font_sizes/font_size = 11
|
||||
|
||||
[node name="Source" type="Label" parent="VBox/Body/Box"]
|
||||
custom_minimum_size = Vector2(0, 16)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
clip_text = true
|
||||
text_overrun_behavior = 3
|
||||
theme_override_font_sizes/font_size = 11
|
||||
|
||||
[node name="MetaRow" type="HBoxContainer" parent="VBox/Body/Box"]
|
||||
custom_minimum_size = Vector2(0, 28)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="Status" type="Label" parent="VBox/Body/Box/MetaRow"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
mouse_filter = 2
|
||||
clip_text = true
|
||||
text_overrun_behavior = 3
|
||||
theme_override_font_sizes/font_size = 11
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="VersionHost" type="Control" parent="VBox/Body/Box/MetaRow"]
|
||||
custom_minimum_size = Vector2(102, 28)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
mouse_filter = 2
|
||||
clip_contents = true
|
||||
|
||||
[node name="Versions" type="OptionButton" parent="VBox/Body/Box/MetaRow/VersionHost"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_font_sizes/font_size = 11
|
||||
|
||||
[node name="ActionRow" type="HBoxContainer" parent="VBox/Body/Box"]
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="ActionHost" type="Control" parent="VBox/Body/Box/ActionRow"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Action" type="Button" parent="VBox/Body/Box/ActionRow/ActionHost"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
clip_text = true
|
||||
text_overrun_behavior = 3
|
||||
|
||||
[node name="EnabledHost" type="Control" parent="VBox/Body/Box/ActionRow"]
|
||||
custom_minimum_size = Vector2(40, 32)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
mouse_filter = 2
|
||||
clip_contents = true
|
||||
|
||||
[node name="Enabled" type="CheckButton" parent="VBox/Body/Box/ActionRow/EnabledHost"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
@@ -0,0 +1,180 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/UI/ModDetailView.cs" id="1_detail"]
|
||||
|
||||
[node name="ModDetailView" type="VBoxContainer"]
|
||||
theme_override_constants/separation = 8
|
||||
script = ExtResource("1_detail")
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Content" type="VBoxContainer" parent="Scroll"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 14
|
||||
|
||||
[node name="Hero" type="PanelContainer" parent="Scroll/Content"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HeroMargin" type="MarginContainer" parent="Scroll/Content/Hero"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 14
|
||||
theme_override_constants/margin_top = 14
|
||||
theme_override_constants/margin_right = 14
|
||||
theme_override_constants/margin_bottom = 14
|
||||
|
||||
[node name="HeroRow" type="HBoxContainer" parent="Scroll/Content/Hero/HeroMargin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="Cover" type="Control" parent="Scroll/Content/Hero/HeroMargin/HeroRow"]
|
||||
custom_minimum_size = Vector2(270, 180)
|
||||
layout_mode = 2
|
||||
clip_contents = true
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Placeholder" type="ColorRect" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Cover"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.054902, 0.058824, 0.082353, 1)
|
||||
|
||||
[node name="Image" type="TextureRect" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Cover"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="Info" type="VBoxContainer" parent="Scroll/Content/Hero/HeroMargin/HeroRow"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="Back" type="Button" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
|
||||
[node name="Title" type="Label" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
theme_override_font_sizes/font_size = 22
|
||||
|
||||
[node name="Author" type="Label" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Meta" type="Label" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VersionRow" type="HBoxContainer" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Caption" type="Label" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info/VersionRow"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Versions" type="OptionButton" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info/VersionRow"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Installed" type="Label" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info/VersionRow"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Size" type="Label" parent="Scroll/Content/Hero/HeroMargin/HeroRow/Info/VersionRow"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="ActionsRow" type="HBoxContainer" parent="Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="ConflictBox" type="VBoxContainer" parent="Scroll/Content"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="Caption" type="Label" parent="Scroll/Content/ConflictBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="Text" type="Label" parent="Scroll/Content/ConflictBox"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="DescriptionBox" type="VBoxContainer" parent="Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="Caption" type="Label" parent="Scroll/Content/DescriptionBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="Text" type="Label" parent="Scroll/Content/DescriptionBox"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="ChangelogBox" type="VBoxContainer" parent="Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="Caption" type="Label" parent="Scroll/Content/ChangelogBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="Text" type="Label" parent="Scroll/Content/ChangelogBox"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="DependsBox" type="VBoxContainer" parent="Scroll/Content"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="Caption" type="Label" parent="Scroll/Content/DependsBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="Text" type="Label" parent="Scroll/Content/DependsBox"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="UsedByBox" type="VBoxContainer" parent="Scroll/Content"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="Caption" type="Label" parent="Scroll/Content/UsedByBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="Text" type="Label" parent="Scroll/Content/UsedByBox"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="ConflictsBox" type="VBoxContainer" parent="Scroll/Content"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="Caption" type="Label" parent="Scroll/Content/ConflictsBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="Text" type="Label" parent="Scroll/Content/ConflictsBox"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
@@ -0,0 +1,43 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/UI/ModFilterPanel.cs" id="1_filter"]
|
||||
|
||||
[node name="ModFilterPanel" type="VBoxContainer"]
|
||||
theme_override_constants/separation = 8
|
||||
script = ExtResource("1_filter")
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 16
|
||||
|
||||
[node name="Reset" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
|
||||
[node name="Sep1" type="HSeparator" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="StatusCaption" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="StatusList" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 2
|
||||
|
||||
[node name="Sep2" type="HSeparator" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="CategoryCaption" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="CategoryList" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 2
|
||||
|
||||
[node name="Sep3" type="HSeparator" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="GroupToggle" type="CheckButton" parent="."]
|
||||
layout_mode = 2
|
||||
@@ -0,0 +1,16 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/UI/ModGridGroup.cs" id="1_group"]
|
||||
|
||||
[node name="ModGridGroup" type="VBoxContainer"]
|
||||
theme_override_constants/separation = 8
|
||||
script = ExtResource("1_group")
|
||||
|
||||
[node name="Header" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
|
||||
[node name="Flow" type="HFlowContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 12
|
||||
theme_override_constants/v_separation = 12
|
||||
@@ -0,0 +1,12 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/UI/ModGridView.cs" id="1_grid"]
|
||||
|
||||
[node name="ModGridView" type="ScrollContainer"]
|
||||
horizontal_scroll_mode = 0
|
||||
script = ExtResource("1_grid")
|
||||
|
||||
[node name="Host" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 18
|
||||
@@ -0,0 +1,198 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/ModCollectionsScreen.cs" id="1_screen"]
|
||||
[ext_resource type="Script" path="src/UI/CollectionSchemeCanvas.cs" id="2_canvas"]
|
||||
|
||||
[node name="ModCollectionsScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
script = ExtResource("1_screen")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.054902, 0.058824, 0.082353, 1)
|
||||
|
||||
[node name="Margin" 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 = 16
|
||||
theme_override_constants/margin_top = 12
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 12
|
||||
|
||||
[node name="Root" type="VBoxContainer" parent="Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="Margin/Root"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Close" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_font_sizes/font_size = 24
|
||||
uppercase = true
|
||||
|
||||
[node name="GameSelect" type="OptionButton" parent="Margin/Root/Header"]
|
||||
custom_minimum_size = Vector2(220, 0)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="AddMechanic" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="NewGame" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Spacer" type="Control" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="EdgesToggle" type="CheckBox" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
button_pressed = true
|
||||
|
||||
[node name="Problems" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Plan" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="ModsCount" type="Label" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Dirty" type="Label" parent="Margin/Root/Header"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Json" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Reset" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Save" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Refresh" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Crumbs" type="HBoxContainer" parent="Margin/Root"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Body" type="HSplitContainer" parent="Margin/Root"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="CanvasScroll" type="ScrollContainer" parent="Margin/Root/Body"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 1
|
||||
vertical_scroll_mode = 1
|
||||
|
||||
[node name="SchemeCanvas" type="Control" parent="Margin/Root/Body/CanvasScroll"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
script = ExtResource("2_canvas")
|
||||
|
||||
[node name="Details" type="PanelContainer" parent="Margin/Root/Body"]
|
||||
custom_minimum_size = Vector2(380, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DetailScroll" type="ScrollContainer" parent="Margin/Root/Body/Details"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Detail" type="VBoxContainer" parent="Margin/Root/Body/Details/DetailScroll"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Tabs" type="HBoxContainer" parent="Margin/Root/Body/Details/DetailScroll/Detail"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="TabInspector" type="Button" parent="Margin/Root/Body/Details/DetailScroll/Detail/Tabs"]
|
||||
layout_mode = 2
|
||||
toggle_mode = true
|
||||
button_pressed = true
|
||||
|
||||
[node name="TabProblems" type="Button" parent="Margin/Root/Body/Details/DetailScroll/Detail/Tabs"]
|
||||
layout_mode = 2
|
||||
toggle_mode = true
|
||||
|
||||
[node name="TabPlan" type="Button" parent="Margin/Root/Body/Details/DetailScroll/Detail/Tabs"]
|
||||
layout_mode = 2
|
||||
toggle_mode = true
|
||||
|
||||
[node name="DetailTitle" type="Label" parent="Margin/Root/Body/Details/DetailScroll/Detail"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 20
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="DetailMeta" type="Label" parent="Margin/Root/Body/Details/DetailScroll/Detail"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="DetailDescription" type="Label" parent="Margin/Root/Body/Details/DetailScroll/Detail"]
|
||||
layout_mode = 2
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="DetailExtra" type="VBoxContainer" parent="Margin/Root/Body/Details/DetailScroll/Detail"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="Apply" type="Button" parent="Margin/Root/Body/Details/DetailScroll/Detail"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BuildBar" type="PanelContainer" parent="Margin/Root"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BarRow" type="HBoxContainer" parent="Margin/Root/BuildBar"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Banner" type="PanelContainer" parent="Margin/Root"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BannerLabel" type="Label" parent="Margin/Root/Banner"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
horizontal_alignment = 1
|
||||
@@ -0,0 +1,127 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/ModManagerScreen.cs" id="1_screen"]
|
||||
[ext_resource type="PackedScene" path="scenes/components/mod_filter_panel.tscn" id="2_filter"]
|
||||
[ext_resource type="PackedScene" path="scenes/components/mod_grid_view.tscn" id="3_grid"]
|
||||
[ext_resource type="PackedScene" path="scenes/components/mod_detail_view.tscn" id="4_detail"]
|
||||
|
||||
[node name="ModManagerScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
script = ExtResource("1_screen")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.054902, 0.058824, 0.082353, 1)
|
||||
|
||||
[node name="Margin" 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 = 16
|
||||
theme_override_constants/margin_top = 12
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 12
|
||||
|
||||
[node name="Root" type="VBoxContainer" parent="Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="Margin/Root"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="Close" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_font_sizes/font_size = 24
|
||||
theme_override_colors/font_color = Color(0.956863, 0.941176, 0.905882, 1)
|
||||
uppercase = true
|
||||
|
||||
[node name="Spacer" type="Control" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Search" type="LineEdit" parent="Margin/Root/Header"]
|
||||
custom_minimum_size = Vector2(220, 0)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Sort" type="OptionButton" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Refresh" type="Button" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Result" type="Label" parent="Margin/Root/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Body" type="HBoxContainer" parent="Margin/Root"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Sidebar" type="PanelContainer" parent="Margin/Root/Body"]
|
||||
custom_minimum_size = Vector2(260, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SidebarScroll" type="ScrollContainer" parent="Margin/Root/Body/Sidebar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="FilterPanel" parent="Margin/Root/Body/Sidebar/SidebarScroll" instance=ExtResource("2_filter")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Content" type="Control" parent="Margin/Root/Body"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Grid" parent="Margin/Root/Body/Content" instance=ExtResource("3_grid")]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Detail" parent="Margin/Root/Body/Content" instance=ExtResource("4_detail")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Banner" type="PanelContainer" parent="Margin/Root"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BannerLabel" type="Label" parent="Margin/Root/Banner"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
horizontal_alignment = 1
|
||||
@@ -0,0 +1,39 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/ModHubScreen.cs" id="1_hub"]
|
||||
|
||||
[node name="ModHubScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
script = ExtResource("1_hub")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.054902, 0.058824, 0.082353, 1)
|
||||
|
||||
[node name="Margin" 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 = 16
|
||||
theme_override_constants/margin_top = 12
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 12
|
||||
|
||||
[node name="Root" type="VBoxContainer" parent="Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
Reference in new issue
Block a user