Add Recipemanager that loads recipes from YAML
This commit is contained in:
@@ -0,0 +1,400 @@
|
||||
[gd_scene load_steps=27 format=3 uid="uid://b7wsl0ss24hvb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bbbai2ba18l5f" path="res://addons/yaml/editor/yaml_editor.gd" id="1_jqpkv"]
|
||||
[ext_resource type="Script" uid="uid://c0q2685eddg35" path="res://addons/yaml/editor/syntax_highlighting/editor_syntax_highlighter.gd" id="2_0xmrl"]
|
||||
[ext_resource type="Script" uid="uid://drkui6da5o1ou" path="res://addons/yaml/editor/code_editor.gd" id="2_lgcdy"]
|
||||
[ext_resource type="Script" uid="uid://c15odacm31d03" path="res://addons/yaml/editor/file_list.gd" id="3_ufmqr"]
|
||||
[ext_resource type="Script" uid="uid://b35lyu1onhcoj" path="res://addons/yaml/editor/menu_bar.gd" id="5_bqqrn"]
|
||||
[ext_resource type="Script" uid="uid://bkanguis54ea3" path="res://addons/yaml/editor/status_bar.gd" id="6_rk03l"]
|
||||
[ext_resource type="Script" uid="uid://bep06otwjntx1" path="res://addons/yaml/editor/find_replace_bar.gd" id="7_vo7uj"]
|
||||
|
||||
[sub_resource type="Image" id="Image_cjchp"]
|
||||
data = {
|
||||
"data": PackedByteArray(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, 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, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 255, 92, 92, 127, 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, 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, 0, 0, 0, 0, 255, 93, 93, 255, 255, 92, 92, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 92, 92, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 92, 92, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 93, 93, 231, 255, 90, 90, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 90, 90, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 91, 91, 42, 0, 0, 0, 0, 0, 0, 0, 0, 255, 91, 91, 42, 255, 93, 93, 233, 255, 92, 92, 232, 255, 93, 93, 41, 0, 0, 0, 0, 0, 0, 0, 0, 255, 91, 91, 42, 255, 93, 93, 233, 255, 92, 92, 232, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 91, 91, 45, 255, 93, 93, 44, 0, 0, 0, 0, 255, 91, 91, 42, 255, 91, 91, 42, 0, 0, 0, 0, 255, 91, 91, 45, 255, 93, 93, 44, 0, 0, 0, 0, 255, 91, 91, 42, 255, 91, 91, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 91, 91, 45, 255, 92, 92, 235, 255, 92, 92, 234, 255, 89, 89, 43, 0, 0, 0, 0, 0, 0, 0, 0, 255, 91, 91, 45, 255, 92, 92, 235, 255, 92, 92, 234, 255, 89, 89, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 92, 92, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 91, 91, 59, 255, 92, 92, 61, 255, 92, 92, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 91, 91, 59, 255, 92, 92, 61, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0),
|
||||
"format": "RGBA8",
|
||||
"height": 16,
|
||||
"mipmaps": false,
|
||||
"width": 16
|
||||
}
|
||||
|
||||
[sub_resource type="ImageTexture" id="ImageTexture_oh2kv"]
|
||||
image = SubResource("Image_cjchp")
|
||||
|
||||
[sub_resource type="EditorSyntaxHighlighter" id="EditorSyntaxHighlighter_68y40"]
|
||||
script = ExtResource("2_0xmrl")
|
||||
|
||||
[sub_resource type="SystemFont" id="SystemFont_k3025"]
|
||||
subpixel_positioning = 0
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_42q8o"]
|
||||
|
||||
[sub_resource type="SystemFont" id="SystemFont_k8p4n"]
|
||||
font_names = PackedStringArray("Monospace")
|
||||
subpixel_positioning = 0
|
||||
|
||||
[sub_resource type="SystemFont" id="SystemFont_wntl2"]
|
||||
fallbacks = Array[Font]([SubResource("SystemFont_k8p4n")])
|
||||
font_names = PackedStringArray("JetBrains Mono")
|
||||
subpixel_positioning = 0
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_i8tps"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_r4bqd"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_3ksor"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_33vym"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jwbjn"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_xhoyn"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_vnqw7"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1i5or"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_vlfg7"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ki2vh"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ke1f7"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_v3fgn"]
|
||||
|
||||
[node name="YamlEditor" type="Control" node_paths=PackedStringArray("menu_bar", "file_list", "resizable_container", "code_edit", "status_panel", "find_replace_panel")]
|
||||
layout_mode = 3
|
||||
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_jqpkv")
|
||||
menu_bar = NodePath("MainMargin/MainVBox/MenuBarMargin/MenuBar")
|
||||
file_list = NodePath("MainMargin/MainVBox/ResizableContainer/FileList")
|
||||
resizable_container = NodePath("MainMargin/MainVBox/ResizableContainer")
|
||||
code_edit = NodePath("MainMargin/MainVBox/ResizableContainer/EditorPanel/YAMLCodeEdit")
|
||||
status_panel = NodePath("MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/StatusBarMargin/StatusBar")
|
||||
find_replace_panel = NodePath("MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar")
|
||||
|
||||
[node name="MainMargin" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 4
|
||||
theme_override_constants/margin_top = 1
|
||||
theme_override_constants/margin_right = 4
|
||||
theme_override_constants/margin_bottom = 4
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="MainVBox" type="VBoxContainer" parent="MainMargin"]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MenuBarMargin" type="MarginContainer" parent="MainMargin/MainVBox"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_bottom = 1
|
||||
|
||||
[node name="MenuBar" type="MenuBar" parent="MainMargin/MainVBox/MenuBarMargin" node_paths=PackedStringArray("file_menu", "edit_menu", "search_menu")]
|
||||
layout_mode = 2
|
||||
flat = true
|
||||
script = ExtResource("5_bqqrn")
|
||||
file_menu = NodePath("File")
|
||||
edit_menu = NodePath("Edit")
|
||||
search_menu = NodePath("Search")
|
||||
|
||||
[node name="File" type="PopupMenu" parent="MainMargin/MainVBox/MenuBarMargin/MenuBar"]
|
||||
title = "File"
|
||||
hide_on_checkable_item_selection = false
|
||||
item_count = 7
|
||||
item_0/text = "New"
|
||||
item_0/id = 0
|
||||
item_1/text = "Open..."
|
||||
item_1/id = 1
|
||||
item_2/id = -1
|
||||
item_2/separator = true
|
||||
item_3/text = "Save"
|
||||
item_3/id = 2
|
||||
item_4/text = "Save As..."
|
||||
item_4/id = 3
|
||||
item_5/id = -1
|
||||
item_5/separator = true
|
||||
item_6/text = "Close"
|
||||
item_6/id = 4
|
||||
|
||||
[node name="Edit" type="PopupMenu" parent="MainMargin/MainVBox/MenuBarMargin/MenuBar"]
|
||||
auto_translate_mode = 1
|
||||
item_count = 8
|
||||
item_0/text = "Undo"
|
||||
item_0/id = 0
|
||||
item_1/text = "Redo"
|
||||
item_1/id = 1
|
||||
item_2/id = -1
|
||||
item_2/separator = true
|
||||
item_3/text = "Cut"
|
||||
item_3/id = 2
|
||||
item_4/text = "Copy"
|
||||
item_4/id = 3
|
||||
item_5/text = "Paste"
|
||||
item_5/id = 4
|
||||
item_6/id = -1
|
||||
item_6/separator = true
|
||||
item_7/text = "Select All"
|
||||
item_7/id = 5
|
||||
|
||||
[node name="Search" type="PopupMenu" parent="MainMargin/MainVBox/MenuBarMargin/MenuBar"]
|
||||
auto_translate_mode = 1
|
||||
item_count = 5
|
||||
item_0/text = "Find..."
|
||||
item_0/id = 0
|
||||
item_1/text = "Find Next"
|
||||
item_1/id = 1
|
||||
item_2/text = "Find Previous"
|
||||
item_2/id = 2
|
||||
item_3/id = -1
|
||||
item_3/separator = true
|
||||
item_4/text = "Replace..."
|
||||
item_4/id = 3
|
||||
|
||||
[node name="ResizableContainer" type="HSplitContainer" parent="MainMargin/MainVBox"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
split_offset = 150
|
||||
|
||||
[node name="FileList" type="VBoxContainer" parent="MainMargin/MainVBox/ResizableContainer" node_paths=PackedStringArray("filter_input", "file_list")]
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
size_flags_stretch_ratio = 0.25
|
||||
script = ExtResource("3_ufmqr")
|
||||
filter_input = NodePath("FilterInput")
|
||||
file_list = NodePath("ItemList")
|
||||
|
||||
[node name="FilterInput" type="LineEdit" parent="MainMargin/MainVBox/ResizableContainer/FileList"]
|
||||
layout_mode = 2
|
||||
placeholder_text = "Filter Files"
|
||||
clear_button_enabled = true
|
||||
right_icon = SubResource("ImageTexture_oh2kv")
|
||||
|
||||
[node name="ItemList" type="ItemList" parent="MainMargin/MainVBox/ResizableContainer/FileList"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
allow_rmb_select = true
|
||||
auto_height = true
|
||||
|
||||
[node name="EditorPanel" type="VBoxContainer" parent="MainMargin/MainVBox/ResizableContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="YAMLCodeEdit" type="CodeEdit" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_font_sizes/font_size = 14
|
||||
deselect_on_focus_loss_enabled = false
|
||||
scroll_smooth = true
|
||||
minimap_draw = true
|
||||
syntax_highlighter = SubResource("EditorSyntaxHighlighter_68y40")
|
||||
highlight_all_occurrences = true
|
||||
highlight_current_line = true
|
||||
draw_control_chars = true
|
||||
draw_tabs = true
|
||||
draw_spaces = true
|
||||
line_folding = true
|
||||
gutters_draw_breakpoints_gutter = true
|
||||
gutters_draw_bookmarks = true
|
||||
gutters_draw_executing_lines = true
|
||||
gutters_draw_line_numbers = true
|
||||
gutters_zero_pad_line_numbers = true
|
||||
gutters_draw_fold_gutter = true
|
||||
indent_size = 2
|
||||
indent_use_spaces = true
|
||||
indent_automatic = true
|
||||
indent_automatic_prefixes = Array[String]([":"])
|
||||
auto_brace_completion_enabled = true
|
||||
auto_brace_completion_highlight_matching = true
|
||||
script = ExtResource("2_lgcdy")
|
||||
|
||||
[node name="BottomToolbar" type="VBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="StatusBarMargin" type="MarginContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 2
|
||||
theme_override_constants/margin_right = 4
|
||||
theme_override_constants/margin_bottom = 2
|
||||
|
||||
[node name="StatusBar" type="HBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/StatusBarMargin" node_paths=PackedStringArray("editor", "status_label", "zoom_button", "line_column_label")]
|
||||
layout_mode = 2
|
||||
script = ExtResource("6_rk03l")
|
||||
editor = NodePath("../../../YAMLCodeEdit")
|
||||
status_label = NodePath("StatusLabel")
|
||||
zoom_button = NodePath("ZoomButton")
|
||||
line_column_label = NodePath("LineColumnLabel")
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/StatusBarMargin/StatusBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 2
|
||||
focus_mode = 2
|
||||
theme_override_fonts/font = SubResource("SystemFont_k3025")
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_42q8o")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ZoomButton" type="Button" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/StatusBarMargin/StatusBar"]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = SubResource("SystemFont_wntl2")
|
||||
text = "100 %"
|
||||
flat = true
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/StatusBarMargin/StatusBar"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="LineColumnLabel" type="Label" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/StatusBarMargin/StatusBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
theme_override_fonts/font = SubResource("SystemFont_wntl2")
|
||||
text = "1 : 1"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="FindReplaceBar" type="HBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar" node_paths=PackedStringArray("find_input", "matches_label", "previous_button", "next_button", "match_case_checkbox", "whole_words_checkbox", "find_button_container", "find_options_container", "replace_input", "replace_button", "replace_all_button", "selection_only_checkbox", "replace_button_container", "replace_options_container", "hide_button", "editor", "vbox_container", "find_panel", "replace_panel")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
script = ExtResource("7_vo7uj")
|
||||
find_input = NodePath("InputFieldContainer/FindInput")
|
||||
matches_label = NodePath("ButtonsContainer/MatchesContainer/MatchesLabel")
|
||||
previous_button = NodePath("ButtonsContainer/MatchesContainer/PreviousButton")
|
||||
next_button = NodePath("ButtonsContainer/MatchesContainer/NextButton")
|
||||
match_case_checkbox = NodePath("CheckBoxContainer/FindOptions/MatchCaseCheckbox")
|
||||
whole_words_checkbox = NodePath("CheckBoxContainer/FindOptions/WholeWordsCheckbox")
|
||||
find_button_container = NodePath("ButtonsContainer/MatchesContainer")
|
||||
find_options_container = NodePath("CheckBoxContainer/FindOptions")
|
||||
replace_input = NodePath("InputFieldContainer/ReplaceInput")
|
||||
replace_button = NodePath("ButtonsContainer/ReplaceButtonsContainer/ReplaceButton")
|
||||
replace_all_button = NodePath("ButtonsContainer/ReplaceButtonsContainer/ReplaceAllButton")
|
||||
selection_only_checkbox = NodePath("CheckBoxContainer/ReplaceOptions/SelectionOnlyCheckBox")
|
||||
replace_button_container = NodePath("ButtonsContainer/ReplaceButtonsContainer")
|
||||
replace_options_container = NodePath("CheckBoxContainer/ReplaceOptions")
|
||||
hide_button = NodePath("HideButton")
|
||||
editor = NodePath("../../YAMLCodeEdit")
|
||||
vbox_container = NodePath("CheckBoxContainer")
|
||||
find_panel = NodePath("CheckBoxContainer/FindOptions")
|
||||
replace_panel = NodePath("CheckBoxContainer/ReplaceOptions")
|
||||
|
||||
[node name="InputFieldContainer" type="VBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="FindInput" type="LineEdit" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/InputFieldContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
tooltip_text = "Find"
|
||||
placeholder_text = "Find"
|
||||
|
||||
[node name="ReplaceInput" type="LineEdit" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/InputFieldContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
placeholder_text = "Replace"
|
||||
|
||||
[node name="ButtonsContainer" type="VBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
|
||||
[node name="MatchesContainer" type="HBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/ButtonsContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="MatchesLabel" type="Label" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/ButtonsContainer/MatchesContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 1
|
||||
theme_override_fonts/font = SubResource("SystemFont_k3025")
|
||||
text = "10 matches"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="PreviousButton" type="Button" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/ButtonsContainer/MatchesContainer"]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Previous Match"
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_i8tps")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_r4bqd")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_3ksor")
|
||||
theme_override_styles/hover = SubResource("StyleBoxEmpty_33vym")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_jwbjn")
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_xhoyn")
|
||||
disabled = true
|
||||
icon = SubResource("ImageTexture_oh2kv")
|
||||
flat = true
|
||||
|
||||
[node name="NextButton" type="Button" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/ButtonsContainer/MatchesContainer"]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Next Match"
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_vnqw7")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_1i5or")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_vlfg7")
|
||||
theme_override_styles/hover = SubResource("StyleBoxEmpty_ki2vh")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_ke1f7")
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_v3fgn")
|
||||
disabled = true
|
||||
icon = SubResource("ImageTexture_oh2kv")
|
||||
flat = true
|
||||
|
||||
[node name="ReplaceButtonsContainer" type="HBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/ButtonsContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="ReplaceButton" type="Button" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/ButtonsContainer/ReplaceButtonsContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
disabled = true
|
||||
text = "Replace"
|
||||
|
||||
[node name="ReplaceAllButton" type="Button" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/ButtonsContainer/ReplaceButtonsContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
disabled = true
|
||||
text = "Replace All"
|
||||
|
||||
[node name="CheckBoxContainer" type="VBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="FindOptions" type="HBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/CheckBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="MatchCaseCheckbox" type="CheckBox" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/CheckBoxContainer/FindOptions"]
|
||||
layout_mode = 2
|
||||
text = "Match Case"
|
||||
|
||||
[node name="WholeWordsCheckbox" type="CheckBox" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/CheckBoxContainer/FindOptions"]
|
||||
layout_mode = 2
|
||||
text = "Whole Words"
|
||||
|
||||
[node name="ReplaceOptions" type="HBoxContainer" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/CheckBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="SelectionOnlyCheckBox" type="CheckBox" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar/CheckBoxContainer/ReplaceOptions"]
|
||||
layout_mode = 2
|
||||
text = "Selection Only
|
||||
"
|
||||
|
||||
[node name="HideButton" type="Button" parent="MainMargin/MainVBox/ResizableContainer/EditorPanel/BottomToolbar/FindReplaceBar"]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Hide"
|
||||
icon = SubResource("ImageTexture_oh2kv")
|
||||
flat = true
|
||||
Reference in New Issue
Block a user