]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Editor/Events/Fields/field_options_dynamic.tscn
1f4e2200e2b965278ddece4c63b355222e297242
[wolf-seeking-sheep.git] / addons / dialogic / Editor / Events / Fields / field_options_dynamic.tscn
1 [gd_scene load_steps=7 format=3 uid="uid://dpwhshre1n4t6"]
2
3 [ext_resource type="Script" path="res://addons/dialogic/Editor/Events/Fields/field_options_dynamic.gd" id="1_b07gq"]
4
5 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_tmt5n"]
6
7 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_vennf"]
8
9 [sub_resource type="Image" id="Image_5e7lo"]
10 data = {
11 "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
12 "format": "RGBA8",
13 "height": 16,
14 "mipmaps": false,
15 "width": 16
16 }
17
18 [sub_resource type="ImageTexture" id="ImageTexture_g63da"]
19 image = SubResource("Image_5e7lo")
20
21 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_g74jb"]
22 content_margin_left = 4.0
23 content_margin_top = 4.0
24 content_margin_right = 4.0
25 content_margin_bottom = 4.0
26 bg_color = Color(1, 0.365, 0.365, 1)
27 draw_center = false
28 border_width_left = 2
29 border_width_top = 2
30 border_width_right = 2
31 border_width_bottom = 2
32 corner_detail = 1
33
34 [node name="Field_DynamicStringOptions" type="HBoxContainer"]
35 anchors_preset = 15
36 anchor_right = 1.0
37 anchor_bottom = 1.0
38 offset_left = -2.0
39 offset_top = -2.0
40 offset_right = -1005.0
41 offset_bottom = -622.0
42 grow_horizontal = 2
43 grow_vertical = 2
44 focus_mode = 2
45 script = ExtResource("1_b07gq")
46 placeholder_text = ""
47
48 [node name="PanelContainer" type="MarginContainer" parent="."]
49 unique_name_in_owner = true
50 layout_mode = 2
51 size_flags_horizontal = 3
52 theme_override_constants/margin_left = 0
53 theme_override_constants/margin_top = 0
54 theme_override_constants/margin_right = 0
55 theme_override_constants/margin_bottom = 0
56
57 [node name="BG" type="Panel" parent="PanelContainer"]
58 unique_name_in_owner = true
59 layout_mode = 2
60 mouse_filter = 2
61 theme_type_variation = &"DialogicEventEdit"
62 metadata/_edit_use_anchors_ = true
63
64 [node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
65 layout_mode = 2
66 theme_override_constants/margin_left = 2
67 theme_override_constants/margin_top = 2
68 theme_override_constants/margin_right = 2
69 theme_override_constants/margin_bottom = 2
70
71 [node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer"]
72 layout_mode = 2
73
74 [node name="Icon" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer"]
75 unique_name_in_owner = true
76 layout_mode = 2
77 size_flags_horizontal = 4
78 mouse_filter = 2
79 stretch_mode = 5
80
81 [node name="Search" type="LineEdit" parent="PanelContainer/MarginContainer/HBoxContainer"]
82 unique_name_in_owner = true
83 layout_mode = 2
84 size_flags_horizontal = 3
85 size_flags_vertical = 4
86 focus_neighbor_bottom = NodePath("Suggestions")
87 focus_mode = 1
88 mouse_filter = 1
89 theme_override_styles/normal = SubResource("StyleBoxEmpty_tmt5n")
90 theme_override_styles/focus = SubResource("StyleBoxEmpty_vennf")
91 expand_to_text_length = true
92 flat = true
93 caret_blink = true
94
95 [node name="Suggestions" type="ItemList" parent="PanelContainer/MarginContainer/HBoxContainer/Search"]
96 unique_name_in_owner = true
97 visible = false
98 top_level = true
99 custom_minimum_size = Vector2(-1086, 0)
100 layout_mode = 0
101 offset_left = -5.0
102 offset_top = 36.0
103 offset_right = 195.0
104 offset_bottom = 71.0
105 size_flags_vertical = 0
106 auto_translate = false
107 focus_neighbor_top = NodePath("..")
108 max_text_lines = 3
109 item_count = 1
110 fixed_icon_size = Vector2i(16, 16)
111 item_0/text = "Hello"
112
113 [node name="SelectButton" type="Button" parent="PanelContainer/MarginContainer/HBoxContainer"]
114 unique_name_in_owner = true
115 layout_mode = 2
116 focus_mode = 0
117 toggle_mode = true
118 shortcut_in_tooltip = false
119 icon = SubResource("ImageTexture_g63da")
120 flat = true
121
122 [node name="Focus" type="Panel" parent="PanelContainer"]
123 unique_name_in_owner = true
124 visible = false
125 layout_mode = 2
126 mouse_filter = 2
127 theme_override_styles/panel = SubResource("StyleBoxFlat_g74jb")
128 metadata/_edit_use_anchors_ = true
129
130 [connection signal="focus_entered" from="." to="." method="_on_focus_entered"]
131 [connection signal="focus_entered" from="PanelContainer/MarginContainer/HBoxContainer/Search" to="." method="_on_search_focus_entered"]
132 [connection signal="focus_exited" from="PanelContainer/MarginContainer/HBoxContainer/Search" to="." method="_on_search_focus_exited"]
133 [connection signal="gui_input" from="PanelContainer/MarginContainer/HBoxContainer/Search" to="." method="_on_search_gui_input"]
134 [connection signal="gui_input" from="PanelContainer/MarginContainer/HBoxContainer/Search/Suggestions" to="." method="_on_suggestions_gui_input"]
135 [connection signal="toggled" from="PanelContainer/MarginContainer/HBoxContainer/SelectButton" to="." method="_on_SelectButton_toggled"]