General UI Work
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
using NathanHoad;
|
||||
using Zennysoft.Game.Ma;
|
||||
|
||||
[Meta(typeof(IAutoNode))]
|
||||
@@ -8,15 +9,56 @@ public partial class GalleryMenu : Control
|
||||
{
|
||||
public override void _Notification(int what) => this.Notify(what);
|
||||
|
||||
#region ItemLabels
|
||||
[Node] public Label ItemLabel1 { get; set; }
|
||||
[Node] public Label ItemLabel2 { get; set; }
|
||||
[Node] public Label ItemLabel3 { get; set; }
|
||||
[Node] public Label ItemLabel4 { get; set; }
|
||||
[Node] public Label ItemLabel5 { get; set; }
|
||||
[Node] public Label ItemLabel6 { get; set; }
|
||||
[Node] public Label ItemLabel7 { get; set; }
|
||||
[Node] public Label ItemLabel8 { get; set; }
|
||||
[Node] public Label ItemLabel9 { get; set; }
|
||||
[Node] public Label ItemLabel10 { get; set; }
|
||||
#endregion
|
||||
#region Buttons
|
||||
[Node] public TextureButton ItemButton1 { get; set; }
|
||||
[Node] public TextureButton ItemButton2 { get; set; }
|
||||
[Node] public TextureButton ItemButton3 { get; set; }
|
||||
[Node] public TextureButton ItemButton4 { get; set; }
|
||||
[Node] public TextureButton ItemButton5 { get; set; }
|
||||
[Node] public TextureButton ItemButton6 { get; set; }
|
||||
[Node] public TextureButton ItemButton7 { get; set; }
|
||||
[Node] public TextureButton ItemButton8 { get; set; }
|
||||
[Node] public TextureButton ItemButton9 { get; set; }
|
||||
[Node] public TextureButton ItemButton10 { get; set; }
|
||||
#endregion
|
||||
#region Thumbnails
|
||||
[Node] public TextureRect ItemThumb1 { get; set; }
|
||||
[Node] public TextureRect ItemThumb2 { get; set; }
|
||||
[Node] public TextureRect ItemThumb3 { get; set; }
|
||||
[Node] public TextureRect ItemThumb4 { get; set; }
|
||||
[Node] public TextureRect ItemThumb5 { get; set; }
|
||||
[Node] public TextureRect ItemThumb6 { get; set; }
|
||||
[Node] public TextureRect ItemThumb7 { get; set; }
|
||||
[Node] public TextureRect ItemThumb8 { get; set; }
|
||||
[Node] public TextureRect ItemThumb9 { get; set; }
|
||||
[Node] public TextureRect ItemThumb10 { get; set; }
|
||||
#endregion
|
||||
|
||||
[Node] public TextureButton PreviousButton { get; set; }
|
||||
[Node] public TextureButton NextButton { get; set; }
|
||||
[Node] public TextureButton BackButton { get; set; }
|
||||
|
||||
public GalleryData GalleryData { get; set; }
|
||||
|
||||
[Signal] public delegate void GalleryExitedEventHandler();
|
||||
|
||||
public void OnReady()
|
||||
{
|
||||
GalleryData = new GalleryData() { PlaceholderImage1 = true };
|
||||
|
||||
BackButton.Pressed += BackButton_Pressed;
|
||||
}
|
||||
|
||||
private void BackButton_Pressed() => EmitSignal(SignalName.GalleryExited);
|
||||
}
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cm6fo70yb2hip"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cm6fo70yb2hip"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cl0fi7kgimquk" path="res://src/ui/gallery/GalleryMenu.cs" id="1_lvvvw"]
|
||||
[ext_resource type="LabelSettings" uid="uid://wc363u5t1yi2" path="res://src/ui/label_settings/HeadingFont.tres" id="1_qekcq"]
|
||||
[ext_resource type="Texture2D" uid="uid://s3mtv6c2emph" path="res://src/ui/gallery/Gallery.png" id="2_lvvvw"]
|
||||
[ext_resource type="FontFile" uid="uid://beh6d5lo5ihq0" path="res://src/ui/fonts/georgiai.ttf" id="3_lvvvw"]
|
||||
[ext_resource type="Texture2D" uid="uid://b7nxeq5qft3xa" path="res://src/ui/gallery/Line 1.png" id="4_s04nx"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5wknn"]
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_5wknn"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_lvvvw"]
|
||||
font = ExtResource("3_lvvvw")
|
||||
font_size = 40
|
||||
|
||||
[node name="GalleryMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -16,7 +24,17 @@ size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
script = ExtResource("1_lvvvw")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -24,362 +42,356 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_lvvvw")
|
||||
expand_mode = 5
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="TextureRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
[node name="PanelContainer" type="PanelContainer" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 141.0
|
||||
offset_top = 212.0
|
||||
offset_right = -103.0
|
||||
offset_bottom = -130.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
offset_top = 213.0
|
||||
offset_right = 1816.0
|
||||
offset_bottom = 951.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_5wknn")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="TextureRect/MarginContainer"]
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="Control/PanelContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="TextureRect/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="TextureRect/MarginContainer/VBoxContainer/MarginContainer"]
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
border_color = Color(1, 1, 1, 0.737255)
|
||||
border_width = 3.0
|
||||
border_color = Color(1, 1, 1, 1)
|
||||
border_width = 2.0
|
||||
editor_only = false
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="TextureRect"]
|
||||
layout_mode = 0
|
||||
offset_left = 155.0
|
||||
offset_top = 225.0
|
||||
offset_right = 1814.0
|
||||
offset_bottom = 943.0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="TextureRect/MarginContainer2"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Control/PanelContainer/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 25
|
||||
theme_override_constants/margin_left = 80
|
||||
theme_override_constants/margin_top = 45
|
||||
|
||||
[node name="VFlowContainer" type="VFlowContainer" parent="TextureRect/MarginContainer2/VBoxContainer"]
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 25
|
||||
theme_override_constants/separation = 60
|
||||
|
||||
[node name="Item1Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 35
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb1" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Item2Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Item3Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Item4Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Item5Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VFlowContainer3" type="VFlowContainer" parent="TextureRect/MarginContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 25
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Item1Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3/CenterContainer"]
|
||||
[node name="ItemLabel1" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CenterContainer2" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
[node name="ItemButton1" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item2Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3/CenterContainer2"]
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb2" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemLabel2" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CenterContainer3" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
[node name="ItemButton2" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item3Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3/CenterContainer3"]
|
||||
[node name="VBoxContainer3" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb3" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer3"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer3"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemLabel3" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer3"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CenterContainer4" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
[node name="ItemButton3" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer3"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item4Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3/CenterContainer4"]
|
||||
[node name="VBoxContainer4" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb4" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer4"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer4"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemLabel4" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer4"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CenterContainer5" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
[node name="ItemButton4" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer4"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item4Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer3/CenterContainer5"]
|
||||
[node name="VBoxContainer5" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb5" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer5"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer5"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemLabel5" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer5"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="VFlowContainer2" type="VFlowContainer" parent="TextureRect/MarginContainer2/VBoxContainer"]
|
||||
[node name="ItemButton5" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer5"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 25
|
||||
focus_neighbor_right = NodePath("../../../HBoxContainer2/VBoxContainer/ItemButton6")
|
||||
focus_next = NodePath("../../../HBoxContainer2/VBoxContainer/ItemButton6")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item1Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer2"]
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 35
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Item2Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer2"]
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
[node name="ItemThumb6" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Item3Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer2"]
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Item4Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer2"]
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Item5Thumb" type="ColorRect" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer2"]
|
||||
custom_minimum_size = Vector2(300, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VFlowContainer4" type="VFlowContainer" parent="TextureRect/MarginContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 25
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Item1Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4/CenterContainer"]
|
||||
[node name="ItemLabel6" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CenterContainer2" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
[node name="ItemButton6" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
focus_neighbor_left = NodePath("../../../HBoxContainer/VBoxContainer5/ItemButton5")
|
||||
focus_neighbor_bottom = NodePath("../../../../../../../NavigateButtonGroup/PreviousButton")
|
||||
focus_previous = NodePath("../../../HBoxContainer/VBoxContainer5/ItemButton5")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item2Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4/CenterContainer2"]
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb7" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemLabel7" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CenterContainer3" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
[node name="ItemButton7" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
focus_neighbor_bottom = NodePath("../../../../../../../NavigateButtonGroup/PreviousButton")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item3Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4/CenterContainer3"]
|
||||
[node name="VBoxContainer3" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb8" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer3"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer3"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemLabel8" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer3"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CenterContainer4" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
[node name="ItemButton8" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer3"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
focus_neighbor_bottom = NodePath("../../../../../../../NavigateButtonGroup/PreviousButton")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item4Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4/CenterContainer4"]
|
||||
[node name="VBoxContainer4" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb9" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer4"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer4"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemLabel9" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer4"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CenterContainer5" type="CenterContainer" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
[node name="ItemButton9" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer4"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
focus_neighbor_bottom = NodePath("../../../../../../../NavigateButtonGroup/NextButton")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Item4Label" type="Label" parent="TextureRect/MarginContainer2/VBoxContainer/VFlowContainer4/CenterContainer5"]
|
||||
[node name="VBoxContainer5" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemThumb10" type="TextureRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer5"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(270, 190)
|
||||
layout_mode = 2
|
||||
texture = SubResource("PlaceholderTexture2D_5wknn")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer5"]
|
||||
custom_minimum_size = Vector2(0, 45)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemLabel10" type="Label" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer5"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "???"
|
||||
label_settings = ExtResource("1_qekcq")
|
||||
label_settings = SubResource("LabelSettings_lvvvw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ItemButton1" type="TextureButton" parent="."]
|
||||
[node name="ItemButton10" type="TextureButton" parent="Control/PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer5"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
layout_mode = 2
|
||||
focus_neighbor_right = NodePath("../../../../../../../NavigateButtonGroup/PreviousButton")
|
||||
focus_neighbor_bottom = NodePath("../../../../../../../NavigateButtonGroup/BackButton")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="ItemButton2" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
[node name="NavigateButtonGroup" type="Control" parent="Control"]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="ItemButton3" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
|
||||
[node name="ItemButton4" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
|
||||
[node name="ItemButton5" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
|
||||
[node name="ItemButton6" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
|
||||
[node name="ItemButton7" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
|
||||
[node name="ItemButton8" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
|
||||
[node name="ItemButton9" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
|
||||
[node name="ItemButton10" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1621.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1730.0
|
||||
offset_bottom = 1034.0
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
|
||||
[node name="PreviousButton" type="TextureButton" parent="."]
|
||||
[node name="PreviousButton" type="TextureButton" parent="Control/NavigateButtonGroup"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 974.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1157.0
|
||||
offset_bottom = 1034.0
|
||||
offset_left = 997.0
|
||||
offset_top = 1032.0
|
||||
offset_right = 1147.0
|
||||
offset_bottom = 1042.0
|
||||
focus_neighbor_left = NodePath("../../PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer5/ItemButton10")
|
||||
focus_neighbor_top = NodePath("../../PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer3/ItemButton8")
|
||||
focus_neighbor_right = NodePath("../NextButton")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="NextButton" type="TextureButton" parent="."]
|
||||
[node name="NextButton" type="TextureButton" parent="Control/NavigateButtonGroup"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 1320.0
|
||||
offset_top = 1030.0
|
||||
offset_right = 1417.0
|
||||
offset_bottom = 1034.0
|
||||
offset_left = 1313.0
|
||||
offset_top = 1031.0
|
||||
offset_right = 1428.0
|
||||
offset_bottom = 1041.0
|
||||
focus_neighbor_left = NodePath("../PreviousButton")
|
||||
focus_neighbor_top = NodePath("../../PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer4/ItemButton9")
|
||||
focus_neighbor_right = NodePath("../BackButton")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="BackButton" type="TextureButton" parent="."]
|
||||
[node name="BackButton" type="TextureButton" parent="Control/NavigateButtonGroup"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 257.0
|
||||
offset_top = 589.0
|
||||
offset_right = 366.0
|
||||
offset_bottom = 593.0
|
||||
offset_left = 1598.0
|
||||
offset_top = 1032.0
|
||||
offset_right = 1748.0
|
||||
offset_bottom = 1042.0
|
||||
focus_neighbor_left = NodePath("../NextButton")
|
||||
focus_neighbor_top = NodePath("../../PanelContainer/MarginContainer2/MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer5/ItemButton10")
|
||||
texture_focused = ExtResource("4_s04nx")
|
||||
stretch_mode = 0
|
||||
flip_h = true
|
||||
stretch_mode = 3
|
||||
|
||||
BIN
Zennysoft.Game.Ma/src/ui/gallery/Unchecked.png
Normal file
BIN
Zennysoft.Game.Ma/src/ui/gallery/Unchecked.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 439 B |
34
Zennysoft.Game.Ma/src/ui/gallery/Unchecked.png.import
Normal file
34
Zennysoft.Game.Ma/src/ui/gallery/Unchecked.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://2fwkphkxib7p"
|
||||
path="res://.godot/imported/Unchecked.png-199ec2e2a944dfd73704b35cd082d190.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/ui/gallery/Unchecked.png"
|
||||
dest_files=["res://.godot/imported/Unchecked.png-199ec2e2a944dfd73704b35cd082d190.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
Zennysoft.Game.Ma/src/ui/gallery/checkbox.png
Normal file
BIN
Zennysoft.Game.Ma/src/ui/gallery/checkbox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 769 B |
34
Zennysoft.Game.Ma/src/ui/gallery/checkbox.png.import
Normal file
34
Zennysoft.Game.Ma/src/ui/gallery/checkbox.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://u255bg4nytuf"
|
||||
path="res://.godot/imported/checkbox.png-0ae2d72807b55759114938113b786432.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/ui/gallery/checkbox.png"
|
||||
dest_files=["res://.godot/imported/checkbox.png-0ae2d72807b55759114938113b786432.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
Reference in New Issue
Block a user