[gd_scene load_steps=12 format=2]

[ext_resource path="res://addons/godot_data_editor/item_tree.gd" type="Script" id=1]
[ext_resource path="res://addons/godot_data_editor/icons/icon_add.png" type="Texture" id=2]
[ext_resource path="res://addons/godot_data_editor/icons/icon_remove.png" type="Texture" id=3]
[ext_resource path="res://addons/godot_data_editor/icons/icon_rename.png" type="Texture" id=4]
[ext_resource path="res://addons/godot_data_editor/icons/icon_duplicate.png" type="Texture" id=5]
[ext_resource path="res://addons/godot_data_editor/icons/icon_load.png" type="Texture" id=6]

[sub_resource type="StyleBoxFlat" id=1]

content_margin_left = -1.0
content_margin_right = -1.0
content_margin_top = -1.0
content_margin_bottom = -1.0
bg_color = Color( 0.172549, 0.164706, 0.196078, 1 )
light_color = Color( 0.113725, 0.113725, 0.12549, 1 )
dark_color = Color( 0.113725, 0.113725, 0.12549, 1 )
border_size = 2
border_blend = true
draw_bg = true

[node name="Tree" type="Control"]

anchor_right = 1.0
anchor_bottom = 1.0
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 3
size_flags_vertical = 3
margin_left = 0.0
margin_top = 0.0
margin_right = 0.0
margin_bottom = 0.0
script = ExtResource( 1 )
mouse_filter = 0

[node name="Panel" type="PanelContainer" parent="."]

anchor_right = 1.0
anchor_bottom = 1.0
rect_min_size = Vector2( 150, 0 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 3
size_flags_vertical = 3
margin_left = 0.0
margin_top = 50.0
margin_right = 0.0
margin_bottom = 0.0
mouse_filter = 0

[node name="VBox" type="VBoxContainer" parent="Panel"]

focus/ignore_mouse = false
focus/stop_mouse = false
size_flags_horizontal = 3
size_flags_vertical = 3
margin_left = 7.0
margin_top = 7.0
margin_right = 1273.0
margin_bottom = 543.0
alignment = 0
mouse_filter = 0

[node name="Margin" type="MarginContainer" parent="Panel/VBox"]

focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 1
size_flags_vertical = 1
margin_left = 0.0
margin_top = 0.0
margin_right = 1266.0
margin_bottom = 24.0
mouse_filter = 0

[node name="HBoxContainer" type="HBoxContainer" parent="Panel/VBox/Margin"]

focus/ignore_mouse = false
focus/stop_mouse = false
size_flags_horizontal = 1
size_flags_vertical = 1
margin_left = 8.0
margin_top = 0.0
margin_right = 1266.0
margin_bottom = 24.0
alignment = 0
mouse_filter = 0

[node name="AddButton" type="ToolButton" parent="Panel/VBox/Margin/HBoxContainer"]

visible = false
rect_min_size = Vector2( 28, 28 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 1
size_flags_vertical = 1
margin_left = 0.0
margin_top = 0.0
margin_right = 28.0
margin_bottom = 28.0
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
icon = ExtResource( 2 )
flat = true
mouse_filter = 0

[node name="AddButton2" type="ToolButton" parent="Panel/VBox/Margin/HBoxContainer"]

visible = false
rect_min_size = Vector2( 28, 28 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 1
size_flags_vertical = 1
margin_left = 32.0
margin_top = 0.0
margin_right = 60.0
margin_bottom = 28.0
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
icon = ExtResource( 3 )
flat = true
mouse_filter = 0

[node name="Filter" type="LineEdit" parent="Panel/VBox/Margin/HBoxContainer"]

focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 3
size_flags_vertical = 1
margin_left = 0.0
margin_top = 0.0
margin_right = 1258.0
margin_bottom = 24.0
placeholder_text = "Search"
placeholder_alpha = 0.6
focus_mode = 2
caret_blink = false
caret_blink_speed = 0.65
mouse_filter = 0

[node name="Tree" type="Tree" parent="Panel/VBox"]

focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 3
size_flags_vertical = 3
margin_left = 0.0
margin_top = 28.0
margin_right = 1266.0
margin_bottom = 536.0
custom_styles/bg = SubResource( 1 )
custom_colors/guide_color = Color( 0.398438, 0.398438, 0.398438, 1 )
custom_constants/hseparation = 4
mouse_filter = 0

[node name="ClassContextMenu" type="PopupMenu" parent="."]

visible = false
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 1
size_flags_vertical = 1
margin_left = 0.0
margin_top = 0.0
margin_right = 20.0
margin_bottom = 20.0
popup_exclusive = false
items = [ "Add Item", ExtResource( 2 ), false, false, false, 0, 0, null, "", false, "Delete Class", ExtResource( 3 ), false, false, false, 1, 0, null, "", false, "Rename Class", ExtResource( 4 ), false, false, false, -1, 0, null, "", false ]
mouse_filter = 0

[node name="InstanceContextMenu" type="PopupMenu" parent="."]

visible = false
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags_horizontal = 1
size_flags_vertical = 1
margin_left = 0.0
margin_top = 0.0
margin_right = 20.0
margin_bottom = 20.0
popup_exclusive = false
items = [ "Add", ExtResource( 2 ), false, false, false, 0, 0, null, "", false, "Rename", ExtResource( 4 ), false, false, false, 1, 0, null, "", false, "Delete", ExtResource( 3 ), false, false, false, 2, 0, null, "", false, "Duplicate", ExtResource( 5 ), false, false, false, 3, 0, null, "", false, "Open File", ExtResource( 6 ), false, false, false, 4, 0, null, "", false ]
mouse_filter = 0

[connection signal="button_down" from="Panel/VBox/Margin/HBoxContainer/AddButton" to="." method="_on_AddButton_button_down" binds=[  ]]

[connection signal="text_changed" from="Panel/VBox/Margin/HBoxContainer/Filter" to="." method="_on_Filter_text_changed" binds=[  ]]

[connection signal="cell_selected" from="Panel/VBox/Tree" to="." method="_on_Tree_cell_selected" binds=[  ]]

[connection signal="item_rmb_selected" from="Panel/VBox/Tree" to="." method="_on_Tree_item_rmb_selected" binds=[  ]]

[connection signal="about_to_show" from="ClassContextMenu" to="." method="_on_ClassContextMenu_about_to_show" binds=[  ]]

[connection signal="id_pressed" from="ClassContextMenu" to="." method="_on_ClassContextMenu_item_pressed" binds=[  ]]

[connection signal="about_to_show" from="InstanceContextMenu" to="." method="_on_InstanceContextMenu_about_to_show" binds=[  ]]

[connection signal="id_pressed" from="InstanceContextMenu" to="." method="_on_InstanceContextMenu_item_pressed" binds=[  ]]
