[gd_scene load_steps=18 format=3 uid="uid://ybvp3l1q6u31"]

[ext_resource type="Theme" uid="uid://dmgdeh6kw3b7u" path="res://Resources/Theme/basic_theme.tres" id="1_4773g"]
[ext_resource type="Script" uid="uid://bx351fjcqk7qy" path="res://Scripts/avatar_doll_editor.gd" id="1_mboia"]
[ext_resource type="Texture2D" uid="uid://dccg3gcdgq757" path="res://Resources/UI/logo.png" id="2_jyt8k"]
[ext_resource type="PackedScene" uid="uid://pvuv3x5rgtdu" path="res://Scenes/window/OverViewWindow.tscn" id="3_lt8k4"]
[ext_resource type="Texture2D" uid="uid://b8ke807h0ndyw" path="res://Resources/UI/setting.png" id="4_4fisl"]
[ext_resource type="PackedScene" uid="uid://cuu6uga4gio6s" path="res://Scenes/window/AssetWindow.tscn" id="4_7nayk"]
[ext_resource type="Texture2D" uid="uid://py1mcw7llkot" path="res://Resources/UI/body.png" id="5_1qols"]
[ext_resource type="PackedScene" uid="uid://dv5v6jqeuoj3l" path="res://Scenes/window/PaletteWindow.tscn" id="5_ywiy5"]
[ext_resource type="Texture2D" uid="uid://bch055uf605ie" path="res://Resources/UI/palette.png" id="6_1qols"]
[ext_resource type="PackedScene" uid="uid://d1ec2hw28t8ye" path="res://Scenes/window/ConfigWindow.tscn" id="6_4ang1"]
[ext_resource type="Texture2D" uid="uid://opgktj3w73x7" path="res://Resources/UI/dressing.png" id="7_v8av7"]
[ext_resource type="Texture2D" uid="uid://ceybxsaijqkri" path="res://Resources/UI/OpenFolder.png" id="8_ooh5i"]
[ext_resource type="Texture2D" uid="uid://bh2v51pbp4rd1" path="res://Resources/UI/Save.png" id="9_0kdyw"]
[ext_resource type="Texture2D" uid="uid://d3rxyldtqb1kd" path="res://Resources/UI/SaveAs.png" id="10_16b6e"]
[ext_resource type="PackedScene" uid="uid://65gk0e5w3oyn" path="res://Scenes/window/MainWorkWindow.tscn" id="12_cfqo2"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jyt8k"]
bg_color = Color(0.196078, 0.196078, 0.196078, 1)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v8av7"]
bg_color = Color(0.14902, 0.14902, 0.14902, 1)
border_width_top = 2
border_color = Color(0.14902, 0.14902, 0.14902, 1)

[node name="Control" type="Panel"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_jyt8k")
script = ExtResource("1_mboia")

[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
theme_override_constants/separation = 0

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 4

[node name="TextureButton" type="TextureButton" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("2_jyt8k")

[node name="MenuBar" type="MenuBar" parent="VBoxContainer/HBoxContainer"]
clip_contents = true
layout_mode = 2
size_flags_vertical = 4
theme = ExtResource("1_4773g")

[node name="PopupMenu" type="PopupMenu" parent="VBoxContainer/HBoxContainer/MenuBar"]
title = "文件"
size = Vector2i(148, 204)
theme = ExtResource("1_4773g")
item_count = 4
item_0/text = "打开文件"
item_0/id = 0
item_1/text = "保存文件"
item_1/id = 1
item_2/text = "另存为"
item_2/id = 2
item_3/text = "退出"
item_3/id = 3

[node name="PopupMenu2" type="PopupMenu" parent="VBoxContainer/HBoxContainer/MenuBar"]
auto_translate_mode = 1
title = "编辑"
item_count = 1
item_0/text = "打开文件"
item_0/id = 0

[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 2
theme_override_styles/separator = SubResource("StyleBoxFlat_v8av7")

[node name="ToolBar" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 0

[node name="Control" type="Control" parent="VBoxContainer/ToolBar"]
custom_minimum_size = Vector2(4, 0)
layout_mode = 2

[node name="OpenButton" type="Button" parent="VBoxContainer/ToolBar"]
custom_minimum_size = Vector2(48, 48)
layout_mode = 2
theme = ExtResource("1_4773g")
icon = ExtResource("8_ooh5i")
icon_alignment = 1
expand_icon = true

[node name="OpenFileDialog" type="FileDialog" parent="VBoxContainer/ToolBar/OpenButton"]
title = "Open a File"
initial_position = 1
ok_button_text = "Open"
file_mode = 0
access = 2
filters = PackedStringArray("*.json")

[node name="SaveButton" type="Button" parent="VBoxContainer/ToolBar"]
custom_minimum_size = Vector2(48, 48)
layout_mode = 2
theme = ExtResource("1_4773g")
icon = ExtResource("9_0kdyw")
icon_alignment = 1

[node name="SaveAsButton" type="Button" parent="VBoxContainer/ToolBar"]
custom_minimum_size = Vector2(48, 48)
layout_mode = 2
theme = ExtResource("1_4773g")
icon = ExtResource("10_16b6e")
icon_alignment = 1

[node name="SaveFileDialog" type="FileDialog" parent="VBoxContainer/ToolBar/SaveAsButton"]
auto_translate_mode = 1
initial_position = 1
access = 2
filters = PackedStringArray("*.json")

[node name="ModeOptionButton" type="OptionButton" parent="VBoxContainer/ToolBar"]
layout_mode = 2
theme = ExtResource("1_4773g")
selected = 2
item_count = 5
popup/item_0/text = "Setting"
popup/item_0/icon = ExtResource("4_4fisl")
popup/item_0/id = 0
popup/item_1/text = "Asset"
popup/item_1/icon = ExtResource("5_1qols")
popup/item_1/id = 1
popup/item_2/text = "Design"
popup/item_2/icon = ExtResource("2_jyt8k")
popup/item_2/id = 2
popup/item_3/text = "Palette"
popup/item_3/icon = ExtResource("6_1qols")
popup/item_3/id = 3
popup/item_4/text = "Dressing"
popup/item_4/icon = ExtResource("7_v8av7")
popup/item_4/id = 4

[node name="HSeparator2" type="HSeparator" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 1
theme_override_styles/separator = SubResource("StyleBoxFlat_v8av7")

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

[node name="Content" type="Control" parent="VBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3

[node name="SettingMode" type="TabContainer" parent="VBoxContainer/VBoxContainer/Content"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3
theme = ExtResource("1_4773g")
current_tab = 0

[node name="ConfigPanel" parent="VBoxContainer/VBoxContainer/Content/SettingMode" instance=ExtResource("6_4ang1")]
layout_mode = 2
metadata/_tab_index = 0

[node name="OverviewMode" parent="VBoxContainer/VBoxContainer/Content" instance=ExtResource("3_lt8k4")]
visible = false
layout_mode = 2
anchors_preset = 0
offset_top = 39.0

[node name="AssetMode" parent="VBoxContainer/VBoxContainer/Content" instance=ExtResource("4_7nayk")]
visible = false
layout_mode = 2
anchors_preset = 0
offset_top = 39.0

[node name="DesignMode" parent="VBoxContainer/VBoxContainer/Content" instance=ExtResource("12_cfqo2")]
visible = false
layout_mode = 1

[node name="PaletteMode" parent="VBoxContainer/VBoxContainer/Content" instance=ExtResource("5_ywiy5")]
visible = false
layout_mode = 2
anchors_preset = 0

[node name="DressingMode" type="PanelContainer" parent="VBoxContainer/VBoxContainer/Content"]
visible = false
layout_mode = 0
metadata/_tab_index = 1

[node name="VBoxContainer2" type="VBoxContainer" parent="."]
layout_mode = 2
offset_top = 61.0
offset_bottom = 114.0
