602 lines
20 KiB
Text
602 lines
20 KiB
Text
[gd_scene load_steps=14 format=3 uid="uid://b0m4v3w4sqrfs"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/config/config_window.gd" id="1_3y2tp"]
|
|
[ext_resource type="StyleBox" uid="uid://bdkv45xc5lotp" path="res://assets/config/bg.tres" id="1_kscu5"]
|
|
[ext_resource type="LabelSettings" uid="uid://2iu8q0tylumo" path="res://assets/config/header_bold.tres" id="1_lbm3n"]
|
|
[ext_resource type="FontFile" uid="uid://ce5fs0ro7kp8r" path="res://assets/fonts/Lexend.ttf" id="2_bbfo5"]
|
|
[ext_resource type="Script" path="res://scripts/config/form_handler.gd" id="2_ouac2"]
|
|
[ext_resource type="FontFile" uid="uid://4e3o2ds5xy7p" path="res://assets/fonts/MatSymOut.ttf" id="2_pm82g"]
|
|
[ext_resource type="LabelSettings" uid="uid://c2s3eclr25ots" path="res://assets/config/body.tres" id="3_gn7vd"]
|
|
[ext_resource type="FontFile" uid="uid://c6ck52v6qotm" path="res://assets/fonts/B_Lexend.ttf" id="3_qguou"]
|
|
[ext_resource type="Script" path="res://scripts/config/config_presets.gd" id="6_th0jy"]
|
|
[ext_resource type="FontVariation" uid="uid://d1apfvux6r82v" path="res://assets/config/button_icon.tres" id="8_qusr6"]
|
|
[ext_resource type="Script" path="res://scripts/config/open_file_dialog.gd" id="9_1o6y4"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_gk6wd"]
|
|
font = ExtResource("3_qguou")
|
|
font_size = 32
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_2l8nx"]
|
|
font = ExtResource("2_bbfo5")
|
|
font_size = 14
|
|
font_color = Color(1, 1, 1, 0.501961)
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer"]
|
|
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
|
|
theme_override_styles/panel = ExtResource("1_kscu5")
|
|
follow_focus = true
|
|
horizontal_scroll_mode = 0
|
|
script = ExtResource("1_3y2tp")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="Form" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 8
|
|
script = ExtResource("2_ouac2")
|
|
|
|
[node name="Header" type="HBoxContainer" parent="MarginContainer/Form"]
|
|
layout_mode = 2
|
|
|
|
[node name="BackButton" type="Button" parent="MarginContainer/Form/Header"]
|
|
custom_minimum_size = Vector2(40, 40)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
tooltip_text = "Save and exit."
|
|
theme_override_fonts/font = ExtResource("2_pm82g")
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "arrow_back"
|
|
flat = true
|
|
|
|
[node name="Header" type="Label" parent="MarginContainer/Form/Header"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Config"
|
|
label_settings = SubResource("LabelSettings_gk6wd")
|
|
|
|
[node name="Button" type="Button" parent="MarginContainer/Form/Header"]
|
|
custom_minimum_size = Vector2(40, 40)
|
|
layout_mode = 2
|
|
tooltip_text = "Manage your configuration presets."
|
|
theme_override_fonts/font = ExtResource("2_pm82g")
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "stack_hexagon"
|
|
script = ExtResource("6_th0jy")
|
|
|
|
[node name="OSD and UI" type="VBoxContainer" parent="MarginContainer/Form"]
|
|
layout_mode = 2
|
|
|
|
[node name="Header" type="Label" parent="MarginContainer/Form/OSD and UI"]
|
|
layout_mode = 2
|
|
text = "OSD and UI"
|
|
label_settings = ExtResource("1_lbm3n")
|
|
|
|
[node name="Tooltip" type="Label" parent="MarginContainer/Form/OSD and UI"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
mouse_filter = 0
|
|
text = "Configure FunkPanion's user interface."
|
|
label_settings = SubResource("LabelSettings_2l8nx")
|
|
vertical_alignment = 1
|
|
|
|
[node name="Controls" type="MarginContainer" parent="MarginContainer/Form/OSD and UI"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 4
|
|
theme_override_constants/margin_top = 4
|
|
theme_override_constants/margin_right = 4
|
|
theme_override_constants/margin_bottom = 4
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Form/OSD and UI/Controls"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="osd_dwell_time" type="HBoxContainer" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/osd_dwell_time"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "How long the OSD will stay visible for."
|
|
mouse_filter = 0
|
|
text = "OSD Dwell Time"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="input" type="SpinBox" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/osd_dwell_time"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
min_value = 100.0
|
|
max_value = 10000.0
|
|
step = 100.0
|
|
value = 1000.0
|
|
suffix = "ms"
|
|
select_all_on_focus = true
|
|
|
|
[node name="osd_fade_time" type="HBoxContainer" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/osd_fade_time"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "How long the OSD takes to fade out."
|
|
mouse_filter = 0
|
|
text = "OSD Fade Time"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="input" type="SpinBox" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/osd_fade_time"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
min_value = 100.0
|
|
max_value = 10000.0
|
|
step = 100.0
|
|
value = 1000.0
|
|
suffix = "ms"
|
|
select_all_on_focus = true
|
|
|
|
[node name="osd_opacity" type="HBoxContainer" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/osd_opacity"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "The opacity of the OSD."
|
|
mouse_filter = 0
|
|
text = "OSD Opacity"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="value" type="Label" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/osd_opacity"]
|
|
layout_mode = 2
|
|
text = "100%"
|
|
|
|
[node name="input" type="HSlider" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/osd_opacity"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="menu_opacity" type="HBoxContainer" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/menu_opacity"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "The opacity of the menu button."
|
|
mouse_filter = 0
|
|
text = "Menu Opacity"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="value" type="Label" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/menu_opacity"]
|
|
layout_mode = 2
|
|
text = "100%"
|
|
|
|
[node name="input" type="HSlider" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/menu_opacity"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="background_opacity" type="HBoxContainer" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/background_opacity"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "The opacity of the application's background."
|
|
mouse_filter = 0
|
|
text = "Background Opacity"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="value" type="Label" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/background_opacity"]
|
|
layout_mode = 2
|
|
text = "100%"
|
|
|
|
[node name="input" type="HSlider" parent="MarginContainer/Form/OSD and UI/Controls/VBoxContainer/background_opacity"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="Tempo" type="VBoxContainer" parent="MarginContainer/Form"]
|
|
layout_mode = 2
|
|
|
|
[node name="Header" type="Label" parent="MarginContainer/Form/Tempo"]
|
|
layout_mode = 2
|
|
text = "Tempo"
|
|
label_settings = ExtResource("1_lbm3n")
|
|
|
|
[node name="Controls" type="MarginContainer" parent="MarginContainer/Form/Tempo"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 4
|
|
theme_override_constants/margin_top = 4
|
|
theme_override_constants/margin_right = 4
|
|
theme_override_constants/margin_bottom = 4
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Form/Tempo/Controls"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="tempo_default" type="HBoxContainer" parent="MarginContainer/Form/Tempo/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Tempo/Controls/VBoxContainer/tempo_default"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "The tempo that the application starts with."
|
|
mouse_filter = 0
|
|
text = "Default Tempo"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="input" type="SpinBox" parent="MarginContainer/Form/Tempo/Controls/VBoxContainer/tempo_default"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
min_value = 60.0
|
|
max_value = 10000.0
|
|
value = 120.0
|
|
suffix = "bpm"
|
|
custom_arrow_step = 5.0
|
|
select_all_on_focus = true
|
|
|
|
[node name="tempo_numerator" type="HBoxContainer" parent="MarginContainer/Form/Tempo/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Tempo/Controls/VBoxContainer/tempo_numerator"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "The time signature that the application starts with."
|
|
mouse_filter = 0
|
|
text = "Default Time Signature"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="input" type="SpinBox" parent="MarginContainer/Form/Tempo/Controls/VBoxContainer/tempo_numerator"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
min_value = 2.0
|
|
max_value = 16.0
|
|
value = 4.0
|
|
suffix = "/ 4"
|
|
select_all_on_focus = true
|
|
|
|
[node name="Sprites" type="VBoxContainer" parent="MarginContainer/Form"]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/Form/Sprites"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="Header" type="Label" parent="MarginContainer/Form/Sprites/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Sprites"
|
|
label_settings = ExtResource("1_lbm3n")
|
|
|
|
[node name="ImportButton" type="Button" parent="MarginContainer/Form/Sprites/HBoxContainer"]
|
|
visible = false
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("8_qusr6")
|
|
text = "file_open"
|
|
|
|
[node name="ExportButton" type="Button" parent="MarginContainer/Form/Sprites/HBoxContainer"]
|
|
visible = false
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("8_qusr6")
|
|
text = "save"
|
|
|
|
[node name="Controls" type="MarginContainer" parent="MarginContainer/Form/Sprites"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 4
|
|
theme_override_constants/margin_top = 4
|
|
theme_override_constants/margin_right = 4
|
|
theme_override_constants/margin_bottom = 4
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Form/Sprites/Controls"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="spritesheet_image" type="HBoxContainer" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
script = ExtResource("9_1o6y4")
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_image"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "A link to a sprite atlas."
|
|
mouse_filter = 0
|
|
text = "Spritesheet Image"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="switch" type="Button" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_image"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("8_qusr6")
|
|
text = "folder_open"
|
|
|
|
[node name="value" type="LineEdit" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_image"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
editable = false
|
|
|
|
[node name="save" type="Button" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_image"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
tooltip_text = "Save the selected file to FunkPanion's application storage."
|
|
theme_override_fonts/font = ExtResource("8_qusr6")
|
|
text = "upload"
|
|
|
|
[node name="spritesheet_data" type="HBoxContainer" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
script = ExtResource("9_1o6y4")
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_data"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "A link to the file that provides frames for the sprite atlas."
|
|
mouse_filter = 0
|
|
text = "Spritesheet Data"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="switch" type="Button" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_data"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("8_qusr6")
|
|
text = "folder_open"
|
|
|
|
[node name="value" type="LineEdit" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_data"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
editable = false
|
|
|
|
[node name="save" type="Button" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_data"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
tooltip_text = "Save the selected file to FunkPanion's application storage."
|
|
theme_override_fonts/font = ExtResource("8_qusr6")
|
|
text = "upload"
|
|
|
|
[node name="spritesheet_anims" type="VBoxContainer" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_anims"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
mouse_filter = 0
|
|
text = "Spritesheet Animations"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="Tree" type="Tree" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_anims"]
|
|
custom_minimum_size = Vector2(0, 150)
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
columns = 3
|
|
column_titles_visible = true
|
|
allow_search = false
|
|
hide_root = true
|
|
select_mode = 1
|
|
|
|
[node name="AddNew" type="HBoxContainer" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_anims"]
|
|
layout_mode = 2
|
|
|
|
[node name="name" type="LineEdit" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_anims/AddNew"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "Animation Name"
|
|
|
|
[node name="switch" type="Button" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_anims/AddNew"]
|
|
layout_mode = 2
|
|
text = "Add"
|
|
|
|
[node name="spritesheet_anchor" type="HBoxContainer" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_anchor"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "Where the sprite is anchored.
|
|
If the spritesheet frames are different sizes,
|
|
this can stop the animation from jittering."
|
|
mouse_filter = 0
|
|
text = "Sprite Anchor"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="input" type="OptionButton" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_anchor"]
|
|
layout_mode = 2
|
|
selected = 7
|
|
item_count = 9
|
|
popup/item_0/text = "Top Left"
|
|
popup/item_1/text = "Top"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "Top Right"
|
|
popup/item_2/id = 2
|
|
popup/item_3/text = "Left"
|
|
popup/item_3/id = 3
|
|
popup/item_4/text = "Center"
|
|
popup/item_4/id = 4
|
|
popup/item_5/text = "Right"
|
|
popup/item_5/id = 5
|
|
popup/item_6/text = "Bottom Left"
|
|
popup/item_6/id = 6
|
|
popup/item_7/text = "Bottom"
|
|
popup/item_7/id = 7
|
|
popup/item_8/text = "Bottom Right"
|
|
popup/item_8/id = 8
|
|
|
|
[node name="sprite_scale" type="HBoxContainer" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/sprite_scale"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "How big the sprite is compared to its default size."
|
|
mouse_filter = 0
|
|
text = "Sprite Scale"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="input" type="SpinBox" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/sprite_scale"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
min_value = 0.1
|
|
max_value = 10.0
|
|
step = 0.1
|
|
value = 1.0
|
|
suffix = "x"
|
|
custom_arrow_step = 0.5
|
|
select_all_on_focus = true
|
|
|
|
[node name="sprite_flip" type="HBoxContainer" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/sprite_flip"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "How big the sprite is compared to its default size."
|
|
mouse_filter = 0
|
|
text = "Flip Sprite"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="input" type="CheckButton" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/sprite_flip"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
|
|
[node name="spritesheet_default_opacity" type="HBoxContainer" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_default_opacity"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
tooltip_text = "The opacity of the sprite."
|
|
mouse_filter = 0
|
|
text = "Default Sprite Opacity"
|
|
label_settings = ExtResource("3_gn7vd")
|
|
vertical_alignment = 1
|
|
|
|
[node name="value" type="Label" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_default_opacity"]
|
|
layout_mode = 2
|
|
text = "100%"
|
|
|
|
[node name="input" type="HSlider" parent="MarginContainer/Form/Sprites/Controls/VBoxContainer/spritesheet_default_opacity"]
|
|
custom_minimum_size = Vector2(120, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="Binds" type="VBoxContainer" parent="MarginContainer/Form"]
|
|
layout_mode = 2
|
|
|
|
[node name="Header" type="Label" parent="MarginContainer/Form/Binds"]
|
|
layout_mode = 2
|
|
text = "Binds"
|
|
label_settings = ExtResource("1_lbm3n")
|
|
|
|
[node name="Tooltip" type="Label" parent="MarginContainer/Form/Binds"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
mouse_filter = 0
|
|
text = "Configure FunkPanion's keybinds."
|
|
label_settings = SubResource("LabelSettings_2l8nx")
|
|
vertical_alignment = 1
|
|
|
|
[node name="Controls" type="MarginContainer" parent="MarginContainer/Form/Binds"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 4
|
|
theme_override_constants/margin_top = 4
|
|
theme_override_constants/margin_right = 4
|
|
theme_override_constants/margin_bottom = 4
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Form/Binds/Controls"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="Tree" type="Tree" parent="MarginContainer/Form/Binds/Controls/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 300)
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
columns = 3
|
|
allow_search = false
|
|
hide_root = true
|
|
select_mode = 1
|
|
|
|
[connection signal="pressed" from="MarginContainer/Form/Header/BackButton" to="." method="_on_back_button_pressed"]
|
|
[connection signal="pressed" from="MarginContainer/Form/Header/BackButton" to="MarginContainer/Form" method="_on_back_button_pressed"]
|