[gd_scene format=3 uid="uid://cwe3r2tbh2og1"]

[ext_resource type="Script" uid="uid://myogqmakusx3" path="res://addons/dialogic/Editor/Common/sidebar.gd" id="1_jnq65"]
[ext_resource type="Script" uid="uid://4injjcial4s4" path="res://addons/dialogic/Editor/Common/sidebar_resource_tree.gd" id="4_4dik3"]

[sub_resource type="Theme" id="Theme_pn0f4"]
VBoxContainer/constants/separation = 4

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_gxwm6"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_n8rql"]

[node name="SideBar" type="VSplitContainer" unique_id=497851771]
custom_minimum_size = Vector2(100, 130)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_pn0f4")
split_offsets = PackedInt32Array(100)
split_offset = 100
script = ExtResource("1_jnq65")

[node name="VBoxHidden" type="VBoxContainer" parent="." unique_id=134910476]
unique_name_in_owner = true
visible = false
layout_mode = 2

[node name="OpenButton" type="Button" parent="VBoxHidden" unique_id=1597877653]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 3
tooltip_text = "Show Sidebar"
theme_type_variation = &"FlatButton"
theme_override_constants/icon_max_width = 20

[node name="VBoxPrimary" type="VBoxContainer" parent="." unique_id=380969381]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3

[node name="Margin" type="MarginContainer" parent="VBoxPrimary" unique_id=1385891509]
layout_mode = 2
size_flags_vertical = 3

[node name="MainVSplit" type="VSplitContainer" parent="VBoxPrimary/Margin" unique_id=1550402925]
unique_name_in_owner = true
layout_mode = 2

[node name="VBox" type="VBoxContainer" parent="VBoxPrimary/Margin/MainVSplit" unique_id=476357621]
layout_mode = 2
size_flags_vertical = 3

[node name="Logo" type="TextureRect" parent="VBoxPrimary/Margin/MainVSplit/VBox" unique_id=845890360]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0.623529)
texture_filter = 6
custom_minimum_size = Vector2(0, 25)
layout_mode = 2
expand_mode = 3
stretch_mode = 4

[node name="ToolButtons" type="HFlowContainer" parent="VBoxPrimary/Margin/MainVSplit/VBox" unique_id=107308664]
unique_name_in_owner = true
visible = false
layout_mode = 2

[node name="CurrentResource" type="LineEdit" parent="VBoxPrimary/Margin/MainVSplit/VBox/ToolButtons" unique_id=314619873]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_horizontal = 3
text = "No resource"
alignment = 1
editable = false

[node name="Tools" type="HFlowContainer" parent="VBoxPrimary/Margin/MainVSplit/VBox" unique_id=1734187668]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/h_separation = 0

[node name="LeftTools" type="HBoxContainer" parent="VBoxPrimary/Margin/MainVSplit/VBox/Tools" unique_id=243893106]
unique_name_in_owner = true
layout_mode = 2

[node name="HBox" type="HBoxContainer" parent="VBoxPrimary/Margin/MainVSplit/VBox/Tools" unique_id=1508785548]
layout_mode = 2
size_flags_horizontal = 3

[node name="Search" type="LineEdit" parent="VBoxPrimary/Margin/MainVSplit/VBox/Tools/HBox" unique_id=383396149]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
tooltip_text = "Filter Resources"
placeholder_text = "Filter Resources"
caret_blink = true
caret_blink_interval = 0.5


[node name="RightTools" type="HBoxContainer" parent="VBoxPrimary/Margin/MainVSplit/VBox/Tools/HBox" unique_id=803895286]
unique_name_in_owner = true
layout_mode = 2

[node name="Options" type="MenuButton" parent="VBoxPrimary/Margin/MainVSplit/VBox/Tools/HBox" unique_id=622489996]
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Resource List Options"
flat = false

[node name="ResourceTree" type="Tree" parent="VBoxPrimary/Margin/MainVSplit/VBox" unique_id=47398120]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
theme_type_variation = &"TreeSecondary"
allow_rmb_select = true
hide_root = true
scroll_horizontal_enabled = false
script = ExtResource("4_4dik3")

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxPrimary/Margin/MainVSplit/VBox" unique_id=509945119]
visible = false
layout_mode = 2

[node name="Label" type="Label" parent="VBoxPrimary/Margin/MainVSplit/VBox/HBoxContainer" unique_id=1565963743]
layout_mode = 2
size_flags_vertical = 1
text = "Sort Order"
vertical_alignment = 1

[node name="SortOption" type="OptionButton" parent="VBoxPrimary/Margin/MainVSplit/VBox/HBoxContainer" unique_id=503120854]
layout_mode = 2
size_flags_horizontal = 3
item_count = 1
popup/item_0/text = "Alphabetical (All)"
popup/item_0/id = 0

[node name="ContentListSection" type="VBoxContainer" parent="VBoxPrimary/Margin/MainVSplit" unique_id=1652647940]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(0, 15)
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.5

[node name="ContentList" type="ItemList" parent="VBoxPrimary/Margin/MainVSplit/ContentListSection" unique_id=841648603]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
tooltip_text = "Label events in your timeline will appear here, allowing you to jump to them."
theme_type_variation = &"ItemListSecondary"
theme_override_styles/selected = SubResource("StyleBoxEmpty_gxwm6")
theme_override_styles/selected_focus = SubResource("StyleBoxEmpty_n8rql")
allow_reselect = true
same_column_width = true

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxPrimary" unique_id=615882368]
layout_mode = 2

[node name="CloseButton" type="Button" parent="VBoxPrimary/HBoxContainer" unique_id=637854226]
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Hide Sidebar"
theme_type_variation = &"FlatButton"

[node name="CurrentVersion" type="Button" parent="VBoxPrimary/HBoxContainer" unique_id=2110656799]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
mouse_default_cursor_shape = 2
text = "Some Version"
flat = true
clip_text = true

[node name="RightClickItemMenu" type="PopupMenu" parent="." unique_id=1188370902]
unique_name_in_owner = true
size = Vector2i(164, 100)

[node name="RightClickNoItemMenu" type="PopupMenu" parent="." unique_id=2120335967]
unique_name_in_owner = true
size = Vector2i(164, 100)

[connection signal="dragged" from="VBoxPrimary/Margin/MainVSplit" to="." method="_on_main_v_split_dragged"]
[connection signal="gui_input" from="VBoxPrimary/Margin/MainVSplit/VBox/Logo" to="." method="_on_logo_gui_input"]
[connection signal="text_changed" from="VBoxPrimary/Margin/MainVSplit/VBox/Tools/HBox/Search" to="." method="_on_search_text_changed"]
[connection signal="text_submitted" from="VBoxPrimary/Margin/MainVSplit/VBox/Tools/HBox/Search" to="." method="_on_search_text_submitted"]
[connection signal="empty_clicked" from="VBoxPrimary/Margin/MainVSplit/VBox/ResourceTree" to="." method="_on_resource_tree_empty_clicked"]
[connection signal="id_pressed" from="RightClickItemMenu" to="." method="_on_right_click_menu_id_pressed"]
[connection signal="id_pressed" from="RightClickNoItemMenu" to="." method="_on_right_click_no_item_menu_id_pressed"]
