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

[ext_resource type="Script" uid="uid://dayuqpt2fv4pq" path="res://Scripts/window/general_window.gd" id="1_0kjbm"]
[ext_resource type="Theme" uid="uid://dmgdeh6kw3b7u" path="res://Resources/Theme/basic_theme.tres" id="1_6bth5"]
[ext_resource type="PackedScene" uid="uid://b4au6s1figirf" path="res://Scenes/control/LayerSelecter.tscn" id="2_5ifks"]
[ext_resource type="PackedScene" uid="uid://dktf5unru0wec" path="res://Scenes/panel/Canvas2D.tscn" id="3_kshks"]
[ext_resource type="Shader" uid="uid://muay5jeyd64p" path="res://Resources/Shader/TexturePalette.gdshader" id="4_0kjbm"]
[ext_resource type="PackedScene" uid="uid://cw24rut3p1e2t" path="res://Scenes/panel/StateSelecterPanel.tscn" id="5_grudl"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_wfv5o"]
shader = ExtResource("4_0kjbm")
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/ModulateColor = 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)

[node name="GeneralWindow" type="PanelContainer"]
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
script = ExtResource("1_0kjbm")

[node name="HSplitContainer" type="HSplitContainer" parent="."]
layout_mode = 2
split_offset = 5
dragger_visibility = 2

[node name="VSplitContainer" type="VSplitContainer" parent="HSplitContainer"]
layout_mode = 2
size_flags_horizontal = 0
split_offset = -300
dragging_enabled = false
dragger_visibility = 2

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

[node name="MarginContainer" type="MarginContainer" parent="HSplitContainer/VSplitContainer/AvatartTypePanel"]
layout_mode = 2
size_flags_horizontal = 0
theme = ExtResource("1_6bth5")

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

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

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

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

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

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

[node name="MarginContainer" type="MarginContainer" parent="HSplitContainer/VSplitContainer/PartPanel"]
layout_mode = 2
size_flags_horizontal = 0
theme = ExtResource("1_6bth5")

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

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

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

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

[node name="Remove" type="Button" parent="HSplitContainer/VSplitContainer/PartPanel/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_6bth5")
text = "Del"

[node name="Add" type="Button" parent="HSplitContainer/VSplitContainer/PartPanel/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_6bth5")
text = "Add"

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

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

[node name="HSplitContainer" type="HSplitContainer" parent="HSplitContainer"]
layout_mode = 2
dragger_visibility = 2

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

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

[node name="SubViewportContainer" type="SubViewportContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer"]
layout_mode = 2
stretch = true
metadata/_tab_index = 2

[node name="SubViewport" type="SubViewport" parent="HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/SubViewportContainer"]
disable_3d = true
handle_input_locally = false
screen_space_aa = 1
canvas_item_default_texture_filter = 0
size = Vector2i(1208, 848)
render_target_update_mode = 4

[node name="Canvas2d" parent="HSplitContainer/HSplitContainer/VSplitContainer2/PanelContainer/SubViewportContainer/SubViewport" instance=ExtResource("3_kshks")]
material = SubResource("ShaderMaterial_wfv5o")

[node name="StateSelecterPanel" parent="HSplitContainer/HSplitContainer/VSplitContainer2" instance=ExtResource("5_grudl")]
layout_mode = 2

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

[node name="PanelContainer2" type="PanelContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("1_6bth5")

[node name="MarginContainer" type="MarginContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2"]
layout_mode = 2
theme = ExtResource("1_6bth5")

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

[node name="RichTextLabel" type="RichTextLabel" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer"]
layout_mode = 2
bbcode_enabled = true
text = "[font_size=20][b]Property[/b][/font_size]"
fit_content = true
scroll_active = false

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

[node name="GridContainer" type="GridContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer"]
layout_mode = 2
columns = 2

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

[node name="AssetLineEdit" type="LineEdit" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_6bth5")
editable = false

[node name="Label5" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Layer"

[node name="HBoxContainer" type="HBoxContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_vertical = 4

[node name="LayerLineEdit" type="LineEdit" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_6bth5")
text = "0"
editable = false

[node name="LayerButton" type="Button" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_6bth5")
disabled = true
text = "Edit"

[node name="PopupPanel" type="PopupPanel" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer/LayerButton"]
auto_translate_mode = 1
position = Vector2i(331, 436)
size = Vector2i(1258, 208)
always_on_top = true

[node name="LayerSelecter" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer/LayerButton/PopupPanel" instance=ExtResource("2_5ifks")]
custom_minimum_size = Vector2(1250, 200)
anchors_preset = 15
anchor_left = 0.0
anchor_bottom = 1.0
offset_left = 4.0
offset_top = 4.0
offset_right = 1254.0
offset_bottom = 204.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 0
size_flags_vertical = 0

[node name="Label4" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "LayerOffset"

[node name="LayerOffsetSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
rounded = true
editable = false

[node name="Label6" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Position"

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

[node name="Label6" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2"]
layout_mode = 2
text = "X"

[node name="PositionXSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
editable = false

[node name="Label7" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2"]
layout_mode = 2
text = "   Y"

[node name="PositionYSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
editable = false

[node name="Label8" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Rotation"

[node name="RotationSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
min_value = -360.0
max_value = 360.0
step = 0.1
editable = false

[node name="Label7" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Scale"

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

[node name="Label6" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4"]
layout_mode = 2
text = "X"

[node name="ScaleXSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
step = 0.01
editable = false

[node name="Label7" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4"]
layout_mode = 2
text = "   Y"

[node name="ScaleYSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer2/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
step = 0.01
editable = false

[node name="PanelContainer3" type="PanelContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("1_6bth5")

[node name="MarginContainer" type="MarginContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3"]
layout_mode = 2
theme = ExtResource("1_6bth5")

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

[node name="RichTextLabel" type="RichTextLabel" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer"]
layout_mode = 2
bbcode_enabled = true
text = "[font_size=20][b]Property[/b][/font_size]"
fit_content = true
scroll_active = false

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

[node name="GridContainer" type="GridContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer"]
layout_mode = 2
columns = 2

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

[node name="AssetLineEdit" type="LineEdit" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_6bth5")
text = "aaa.png"
editable = false

[node name="Label5" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Layer"

[node name="HBoxContainer" type="HBoxContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_vertical = 4

[node name="LayerLineEdit" type="LineEdit" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_6bth5")
text = "0"
editable = false

[node name="LayerButton" type="Button" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_6bth5")
disabled = true
text = "Edit"

[node name="PopupPanel" type="PopupPanel" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer/LayerButton"]
auto_translate_mode = 1
position = Vector2i(331, 436)
size = Vector2i(1258, 208)
always_on_top = true

[node name="LayerSelecter" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer/LayerButton/PopupPanel" instance=ExtResource("2_5ifks")]
custom_minimum_size = Vector2(1250, 200)
anchors_preset = 15
anchor_left = 0.0
anchor_bottom = 1.0
offset_left = 4.0
offset_top = 4.0
offset_right = 1254.0
offset_bottom = 204.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 0
size_flags_vertical = 0

[node name="Label4" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "LayerOffset"

[node name="LayerOffsetSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
rounded = true
editable = false

[node name="Label6" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Position"

[node name="HBoxContainer2" type="HBoxContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2

[node name="Label6" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2"]
layout_mode = 2
text = "X"

[node name="PositionXSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
editable = false

[node name="Label7" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2"]
layout_mode = 2
text = "   Y"

[node name="PositionYSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer2"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
editable = false

[node name="Label8" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Rotation"

[node name="RotationSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
min_value = -360.0
max_value = 360.0
step = 0.1
editable = false

[node name="Label7" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Scale"

[node name="HBoxContainer4" type="HBoxContainer" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer"]
layout_mode = 2

[node name="Label6" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4"]
layout_mode = 2
text = "X"

[node name="ScaleXSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
step = 0.01
editable = false

[node name="Label7" type="Label" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4"]
layout_mode = 2
text = "   Y"

[node name="ScaleYSpinBox" type="SpinBox" parent="HSplitContainer/HSplitContainer/VSplitContainer/PanelContainer3/MarginContainer/VBoxContainer/GridContainer/HBoxContainer4"]
layout_mode = 2
min_value = -65535.0
max_value = 65535.0
step = 0.01
editable = false
