[gd_scene load_steps=8 format=3 uid="uid://dv5v6jqeuoj3l"]

[ext_resource type="Theme" uid="uid://dmgdeh6kw3b7u" path="res://new_theme.tres" id="1_heawm"]
[ext_resource type="Script" uid="uid://c2cp7ekbv0s6d" path="res://Scripts/palette_panel.gd" id="1_yhjob"]
[ext_resource type="Texture2D" uid="uid://bkbthijjqw52q" path="res://icon.svg" id="2_jf0bd"]
[ext_resource type="Shader" uid="uid://muay5jeyd64p" path="res://Scenes/tabpanel/TexturePalette.gdshader" id="3_qeqyr"]
[ext_resource type="Texture2D" uid="uid://cc0ft316ioagu" path="res://Resources/A.png" id="4_nv3er"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_nv3er"]
shader = ExtResource("3_qeqyr")
shader_parameter/PaletteCount = 0
shader_parameter/BasicColor = PackedColorArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
shader_parameter/Modulate = PackedColorArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
shader_parameter/Tolerance = PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0)
shader_parameter/BlendMode = PackedInt32Array(0, 0, 0, 0, 0, 0, 0, 0)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qeqyr"]
bg_color = Color(0.278431, 0.278431, 0.278431, 1)

[node name="PalettePanel" 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_yhjob")

[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3

[node name="VSplitContainer" type="VSplitContainer" parent="VBoxContainer/HSplitContainer"]
layout_mode = 2

[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HSplitContainer/VSplitContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 3

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 3
theme = ExtResource("1_heawm")

[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer/MarginContainer"]
custom_minimum_size = Vector2(320, 0)
layout_mode = 2
size_flags_horizontal = 0

[node name="OptionButton" type="OptionButton" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(320, 0)
layout_mode = 2
selected = 0
item_count = 5
popup/item_0/text = "Cloth"
popup/item_0/id = 0
popup/item_1/text = "Body"
popup/item_1/id = 1
popup/item_2/text = "Head"
popup/item_2/id = 2
popup/item_3/text = "Face"
popup/item_3/id = 3
popup/item_4/text = "Hair"
popup/item_4/id = 4

[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2

[node name="AssetListview" type="Tree" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("1_heawm")
columns = 2
column_titles_visible = true
hide_root = true
select_mode = 1

[node name="PanelContainer2" type="PanelContainer" parent="VBoxContainer/HSplitContainer/VSplitContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 3

[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 3
theme = ExtResource("1_heawm")

[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer2"]
custom_minimum_size = Vector2(320, 0)
layout_mode = 2
size_flags_horizontal = 0

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer2/VBoxContainer"]
layout_mode = 2

[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer2/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
bbcode_enabled = true
text = "[font_size=20][b]Palette[/b][/font_size]"
fit_content = true
scroll_active = false

[node name="Control" type="Control" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer2/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3

[node name="Remove" type="Button" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer2/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_heawm")
text = "Remove"

[node name="Add" type="Button" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer2/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_heawm")
text = "Add"

[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer2/VBoxContainer"]
layout_mode = 2

[node name="PaletteListview" type="Tree" parent="VBoxContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer2/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("1_heawm")
columns = 2
column_titles_visible = true
hide_root = true
select_mode = 1

[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer/HSplitContainer"]
layout_mode = 2

[node name="VSplitContainer" type="VSplitContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer"]
layout_mode = 2
size_flags_horizontal = 3

[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="TabContainer" type="TabContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme = ExtResource("1_heawm")
current_tab = 0

[node name="Panel" type="Panel" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/ScrollContainer/TabContainer"]
custom_minimum_size = Vector2(800, 800)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
metadata/_tab_index = 0

[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/ScrollContainer/TabContainer/Panel"]
material = SubResource("ShaderMaterial_nv3er")
clip_contents = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -400.0
offset_top = -400.0
offset_right = 518.0
offset_bottom = 396.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 4
texture = ExtResource("4_nv3er")
stretch_mode = 5

[node name="Panel2" type="Panel" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/ScrollContainer/TabContainer"]
visible = false
custom_minimum_size = Vector2(800, 800)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
metadata/_tab_index = 1

[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/ScrollContainer/TabContainer/Panel2"]
material = SubResource("ShaderMaterial_nv3er")
clip_contents = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -400.0
offset_top = -400.0
offset_right = 518.0
offset_bottom = 396.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 4
texture = ExtResource("4_nv3er")
stretch_mode = 5

[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer"]
custom_minimum_size = Vector2(0, 200)
layout_mode = 2
size_flags_vertical = 0

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer"]
layout_mode = 2
theme = ExtResource("1_heawm")

[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer/MarginContainer"]
layout_mode = 2

[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
bbcode_enabled = true
text = "[font_size=20][b]Pose[/b][/font_size]"
fit_content = true
scroll_active = false

[node name="ItemList" type="ItemList" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("1_heawm")
item_count = 3
max_columns = 999
icon_mode = 0
fixed_icon_size = Vector2i(100, 100)
item_0/text = "Stand_0"
item_0/icon = ExtResource("2_jf0bd")
item_1/text = "Stand_1"
item_1/icon = ExtResource("2_jf0bd")
item_2/text = "Stand_2"
item_2/icon = ExtResource("2_jf0bd")

[node name="VSplitContainer2" type="VSplitContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer"]
layout_mode = 2

[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2"]
layout_mode = 2

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer"]
layout_mode = 2
theme = ExtResource("1_heawm")

[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer"]
custom_minimum_size = Vector2(400, 0)
layout_mode = 2

[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
bbcode_enabled = true
text = "[font_size=20][b]Palette Property[/b][/font_size]"
fit_content = true
scroll_active = false

[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2

[node name="GridContainer" type="GridContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(320, 0)
layout_mode = 2
columns = 2

[node name="Label" type="Label" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer/GridContainer"]
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
text = "ID"

[node name="LineEdit2" type="LineEdit" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_heawm")
text = "ssss"
editable = false

[node name="Label5" type="Label" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Name"

[node name="LineEdit3" type="LineEdit" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_heawm")
text = "1.2"

[node name="Label3" type="Label" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Icon"

[node name="LineEdit4" type="LineEdit" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_heawm")
text = "fasset_444.png"

[node name="Label4" type="Label" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_vertical = 0
text = "Intro"

[node name="TextEdit" type="TextEdit" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/MarginContainer/VBoxContainer/GridContainer"]
custom_minimum_size = Vector2(0, 80)
layout_mode = 2

[node name="PanelContainer2" type="PanelContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2"]
layout_mode = 2

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2"]
layout_mode = 2
theme = ExtResource("1_heawm")

[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer"]
custom_minimum_size = Vector2(400, 0)
layout_mode = 2

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer"]
layout_mode = 2

[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(180, 0)
layout_mode = 2
bbcode_enabled = true
text = "[font_size=20][b]Palette Setting[/b][/font_size]"
fit_content = true
scroll_active = false

[node name="Control" type="Control" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3

[node name="Up" type="Button" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_heawm")
text = "Up"

[node name="Down" type="Button" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_heawm")
text = "Down"

[node name="Del" type="Button" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_heawm")
text = "Del"

[node name="Add" type="Button" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_heawm")
text = "Add"

[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer"]
layout_mode = 2

[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_qeqyr")

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer2/MarginContainer/VBoxContainer/ScrollContainer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/separation = 10
