mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Compare commits
3 commits
5c58562d6b
...
47fc659170
Author | SHA1 | Date | |
---|---|---|---|
47fc659170 | |||
9f82c85b73 | |||
0a63664391 |
|
@ -171,4 +171,5 @@ func load_shader() -> void:
|
|||
shader.code = file_data
|
||||
|
||||
var shader_effect_dialog = Global.control.get_node("Dialogs/ImageEffects/ShaderEffect")
|
||||
shader_effect_dialog.change_shader(shader, file_name.get_basename())
|
||||
if is_instance_valid(shader_effect_dialog):
|
||||
shader_effect_dialog.change_shader(shader, file_name.get_basename())
|
||||
|
|
|
@ -6,6 +6,8 @@ const EXTENSIONS_PATH := "user://extensions"
|
|||
const BUG_EXTENSIONS_PATH := "user://give_in_bug_report"
|
||||
const BIN_ACTION := "trash"
|
||||
|
||||
@export var add_extension_file_dialog: FileDialog
|
||||
|
||||
var extensions := {} ## Extension name: Extension class
|
||||
var extension_selected := -1
|
||||
var damaged_extension: String
|
||||
|
@ -292,7 +294,7 @@ func _on_InstalledExtensions_empty_clicked(_position: Vector2, _button_index: in
|
|||
|
||||
|
||||
func _on_AddExtensionButton_pressed() -> void:
|
||||
Global.preferences_dialog.get_node("Popups/AddExtensionFileDialog").popup_centered()
|
||||
add_extension_file_dialog.popup_centered()
|
||||
|
||||
|
||||
func _on_EnableButton_pressed() -> void:
|
||||
|
|
|
@ -77,7 +77,6 @@ func change_theme(id: int) -> void:
|
|||
theme.default_font_size = Global.font_size
|
||||
theme.set_font_size("font_size", "HeaderSmall", Global.font_size + 2)
|
||||
var icon_color := theme.get_color("modulate_color", "Icons")
|
||||
|
||||
if Global.icon_color_from == Global.ColorFrom.THEME:
|
||||
Global.modulate_icon_color = icon_color
|
||||
|
||||
|
@ -85,9 +84,6 @@ func change_theme(id: int) -> void:
|
|||
change_clear_color()
|
||||
change_icon_colors()
|
||||
|
||||
for child in Global.preferences_dialog.get_node("Popups").get_children():
|
||||
child.theme = theme
|
||||
|
||||
|
||||
func change_clear_color() -> void:
|
||||
var clear_color: Color = Global.control.theme.get_color("clear_color", "Misc")
|
||||
|
|
|
@ -1116,11 +1116,12 @@ size_flags_horizontal = 3
|
|||
tooltip_text = "Specifies the tablet driver being used on Windows. If you have Windows Ink enabled, select winink."
|
||||
mouse_default_cursor_shape = 2
|
||||
|
||||
[node name="Extensions" type="VBoxContainer" parent="HSplitContainer/VBoxContainer/ScrollContainer/RightSide"]
|
||||
[node name="Extensions" type="VBoxContainer" parent="HSplitContainer/VBoxContainer/ScrollContainer/RightSide" node_paths=PackedStringArray("add_extension_file_dialog")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
script = ExtResource("2")
|
||||
add_extension_file_dialog = NodePath("../../../../../AddExtensionFileDialog")
|
||||
|
||||
[node name="ExtensionsHeader" type="HBoxContainer" parent="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions"]
|
||||
layout_mode = 2
|
||||
|
@ -1339,20 +1340,7 @@ layout_mode = 2
|
|||
layout_mode = 2
|
||||
text = "Pixelorama must be restarted for changes to take effect."
|
||||
|
||||
[node name="Popups" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 8.0
|
||||
offset_top = 8.0
|
||||
offset_right = -8.0
|
||||
offset_bottom = -49.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="AddExtensionFileDialog" type="FileDialog" parent="Popups" groups=["FileDialogs"]]
|
||||
[node name="AddExtensionFileDialog" type="FileDialog" parent="." groups=["FileDialogs"]]
|
||||
mode = 1
|
||||
title = "Open File(s)"
|
||||
size = Vector2i(560, 400)
|
||||
|
@ -1361,10 +1349,10 @@ popup_window = true
|
|||
ok_button_text = "Open"
|
||||
file_mode = 1
|
||||
access = 2
|
||||
filters = PackedStringArray("*.pck ; Godot Resource Pack File", "*.zip ;")
|
||||
filters = PackedStringArray("*.pck ; Godot Resource Pack File", "*.zip")
|
||||
show_hidden_files = true
|
||||
|
||||
[node name="Store" parent="Popups" instance=ExtResource("8_jmnx8")]
|
||||
[node name="Store" parent="." instance=ExtResource("8_jmnx8")]
|
||||
transient = true
|
||||
|
||||
[node name="DeleteConfirmation" type="ConfirmationDialog" parent="."]
|
||||
|
@ -1389,13 +1377,13 @@ vertical_alignment = 1
|
|||
[connection signal="item_selected" from="HSplitContainer/List" to="." method="_on_List_item_selected"]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Language/System Language" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Language" method="_on_Language_pressed" binds= [1]]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Interface/InterfaceOptions/ShrinkContainer/ShrinkApplyButton" to="." method="_on_ShrinkApplyButton_pressed"]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions/ExtensionsHeader/Explore" to="Popups/Store" method="_on_explore_pressed"]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions/ExtensionsHeader/Explore" to="Store" method="_on_explore_pressed"]
|
||||
[connection signal="empty_clicked" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions/InstalledExtensions" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_InstalledExtensions_empty_clicked"]
|
||||
[connection signal="item_selected" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions/InstalledExtensions" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_InstalledExtensions_item_selected"]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions/HBoxContainer/AddExtensionButton" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_AddExtensionButton_pressed"]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions/HBoxContainer/EnableButton" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_EnableButton_pressed"]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions/HBoxContainer/UninstallButton" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_UninstallButton_pressed"]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions/HBoxContainer/OpenFolderButton" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_OpenFolderButton_pressed"]
|
||||
[connection signal="files_selected" from="Popups/AddExtensionFileDialog" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_AddExtensionFileDialog_files_selected"]
|
||||
[connection signal="files_selected" from="AddExtensionFileDialog" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_AddExtensionFileDialog_files_selected"]
|
||||
[connection signal="confirmed" from="DeleteConfirmation" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_delete_confirmation_confirmed"]
|
||||
[connection signal="custom_action" from="DeleteConfirmation" to="HSplitContainer/VBoxContainer/ScrollContainer/RightSide/Extensions" method="_on_delete_confirmation_custom_action"]
|
||||
|
|
|
@ -46,10 +46,10 @@ var _preview_durations: PackedFloat32Array
|
|||
|
||||
@onready var options_interpolation: OptionButton = $"%Interpolation"
|
||||
|
||||
@onready var file_exists_alert_popup: AcceptDialog = $Popups/FileExistsAlert
|
||||
@onready var path_validation_alert_popup: AcceptDialog = $Popups/PathValidationAlert
|
||||
@onready var path_dialog_popup: FileDialog = $Popups/PathDialog
|
||||
@onready var export_progress_popup: Window = $Popups/ExportProgressBar
|
||||
@onready var file_exists_alert_popup: AcceptDialog = $FileExistsAlert
|
||||
@onready var path_validation_alert_popup: AcceptDialog = $PathValidationAlert
|
||||
@onready var path_dialog_popup: FileDialog = $PathDialog
|
||||
@onready var export_progress_popup: Window = $ExportProgressBar
|
||||
@onready var export_progress_bar := %ProgressBar as ProgressBar
|
||||
@onready var frame_timer: Timer = $FrameTimer
|
||||
|
||||
|
@ -122,15 +122,6 @@ func set_preview() -> void:
|
|||
for i in range(_preview_images.size()):
|
||||
add_image_preview(_preview_images[i], i + 1)
|
||||
|
||||
if Global.current_project.file_format == Export.FileFormat.GIF:
|
||||
$"%GifWarning".visible = true
|
||||
else:
|
||||
$"%GifWarning".visible = false
|
||||
|
||||
|
||||
func _on_GifWarning_meta_clicked(meta) -> void:
|
||||
OS.shell_open(meta)
|
||||
|
||||
|
||||
func add_image_preview(image: Image, canvas_number: int = -1) -> void:
|
||||
var container := create_preview_container()
|
||||
|
|
|
@ -231,14 +231,6 @@ mouse_default_cursor_shape = 2
|
|||
[node name="HSeparator3" type="HSeparator" parent="VBoxContainer/VSplitContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="GifWarning" type="RichTextLabel" parent="VBoxContainer/VSplitContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(0, 50)
|
||||
layout_mode = 2
|
||||
bbcode_enabled = true
|
||||
text = "[center]If exported GIF is distorted, it is recommended to convert to APNG and then use any online tool like [color=blue][url]https://ezgif.com/apng-to-gif[/url][/color] to turn it to GIF[/center]"
|
||||
|
||||
[node name="CollapsibleContainer" type="VBoxContainer" parent="VBoxContainer/VSplitContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"CollapsibleContainer"
|
||||
|
@ -297,16 +289,7 @@ layout_mode = 2
|
|||
tooltip_text = "The character(s) that separate the file name and the frame number"
|
||||
text = "_"
|
||||
|
||||
[node name="Popups" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_left = 8.0
|
||||
offset_top = 8.0
|
||||
offset_right = 692.0
|
||||
offset_bottom = 551.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="PathDialog" type="FileDialog" parent="Popups" groups=["FileDialogs"]]
|
||||
[node name="PathDialog" type="FileDialog" parent="." groups=["FileDialogs"]]
|
||||
mode = 2
|
||||
title = "Open a Directory"
|
||||
size = Vector2i(675, 500)
|
||||
|
@ -315,17 +298,17 @@ file_mode = 2
|
|||
access = 2
|
||||
show_hidden_files = true
|
||||
|
||||
[node name="PathValidationAlert" type="AcceptDialog" parent="Popups"]
|
||||
[node name="PathValidationAlert" type="AcceptDialog" parent="."]
|
||||
dialog_text = "DirAccess path and file name are not valid!"
|
||||
|
||||
[node name="FileExistsAlert" type="AcceptDialog" parent="Popups"]
|
||||
[node name="FileExistsAlert" type="AcceptDialog" parent="."]
|
||||
dialog_text = "File %s already exists. Overwrite?"
|
||||
|
||||
[node name="ExportProgressBar" type="Window" parent="Popups"]
|
||||
[node name="ExportProgressBar" type="Window" parent="."]
|
||||
visible = false
|
||||
exclusive = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Popups/ExportProgressBar"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ExportProgressBar"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
@ -334,7 +317,7 @@ offset_top = 5.0
|
|||
offset_right = -5.0
|
||||
offset_bottom = -5.0
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Popups/ExportProgressBar/MarginContainer"]
|
||||
[node name="ProgressBar" type="ProgressBar" parent="ExportProgressBar/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
@ -354,12 +337,11 @@ size_flags_horizontal = 3
|
|||
[connection signal="pressed" from="VBoxContainer/VSplitContainer/VBoxContainer/FilePath/PathButton" to="." method="_on_PathButton_pressed"]
|
||||
[connection signal="text_changed" from="VBoxContainer/VSplitContainer/VBoxContainer/FilePath/FileLineEdit" to="." method="_on_FileLineEdit_text_changed"]
|
||||
[connection signal="item_selected" from="VBoxContainer/VSplitContainer/VBoxContainer/FilePath/FileFormat" to="." method="_on_FileFormat_item_selected"]
|
||||
[connection signal="meta_clicked" from="VBoxContainer/VSplitContainer/VBoxContainer/GifWarning" to="." method="_on_GifWarning_meta_clicked"]
|
||||
[connection signal="item_selected" from="VBoxContainer/VSplitContainer/VBoxContainer/CollapsibleContainer/GridContainer/Interpolation" to="." method="_on_Interpolation_item_selected"]
|
||||
[connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/CollapsibleContainer/GridContainer/IncludeTagsInFilename" to="." method="_on_IncludeTagsInFilename_toggled"]
|
||||
[connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/CollapsibleContainer/GridContainer/MultipleAnimationsDirectories" to="." method="_on_MultipleAnimationsDirectories_toggled"]
|
||||
[connection signal="text_changed" from="VBoxContainer/VSplitContainer/VBoxContainer/CollapsibleContainer/GridContainer/SeparatorCharacter" to="." method="_on_SeparatorCharacter_text_changed"]
|
||||
[connection signal="dir_selected" from="Popups/PathDialog" to="." method="_on_FileDialog_dir_selected"]
|
||||
[connection signal="confirmed" from="Popups/FileExistsAlert" to="." method="_on_FileExistsAlert_confirmed"]
|
||||
[connection signal="custom_action" from="Popups/FileExistsAlert" to="." method="_on_FileExistsAlert_custom_action"]
|
||||
[connection signal="dir_selected" from="PathDialog" to="." method="_on_FileDialog_dir_selected"]
|
||||
[connection signal="confirmed" from="FileExistsAlert" to="." method="_on_FileExistsAlert_confirmed"]
|
||||
[connection signal="custom_action" from="FileExistsAlert" to="." method="_on_FileExistsAlert_custom_action"]
|
||||
[connection signal="timeout" from="FrameTimer" to="." method="_on_FrameTimer_timeout"]
|
||||
|
|
|
@ -20,8 +20,9 @@ var resize_percent := 100
|
|||
@onready var start_button := $"%Start" as Button
|
||||
@onready var size_label := $"%Size" as Label
|
||||
@onready var path_field := $"%Path" as LineEdit
|
||||
@onready var options_dialog := $Dialogs/OptionsDialog as AcceptDialog
|
||||
@onready var options_dialog := $OptionsDialog as AcceptDialog
|
||||
@onready var options_container := %OptionsContainer as VBoxContainer
|
||||
@onready var path_dialog := $Path as FileDialog
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
|
@ -174,8 +175,8 @@ func _on_SpinBox_value_changed(value: float) -> void:
|
|||
|
||||
|
||||
func _on_Choose_pressed() -> void:
|
||||
$Dialogs/Path.popup_centered()
|
||||
$Dialogs/Path.current_dir = chosen_dir
|
||||
path_dialog.popup_centered()
|
||||
path_dialog.current_dir = chosen_dir
|
||||
|
||||
|
||||
func _on_open_folder_pressed() -> void:
|
||||
|
|
|
@ -99,17 +99,13 @@ offset_bottom = -3.0
|
|||
texture = ExtResource("4")
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="Dialogs" type="Control" parent="."]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="OptionsDialog" type="AcceptDialog" parent="Dialogs"]
|
||||
[node name="OptionsDialog" type="AcceptDialog" parent="."]
|
||||
position = Vector2i(0, 36)
|
||||
size = Vector2i(400, 300)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
|
||||
[node name="PanelContainer" type="MarginContainer" parent="Dialogs/OptionsDialog"]
|
||||
[node name="PanelContainer" type="MarginContainer" parent="OptionsDialog"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
@ -118,78 +114,78 @@ offset_top = 8.0
|
|||
offset_right = -8.0
|
||||
offset_bottom = -49.0
|
||||
|
||||
[node name="OptionsContainer" type="VBoxContainer" parent="Dialogs/OptionsDialog/PanelContainer"]
|
||||
[node name="OptionsContainer" type="VBoxContainer" parent="OptionsDialog/PanelContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="IntervalHeader" type="HBoxContainer" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
[node name="IntervalHeader" type="HBoxContainer" parent="OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="Label" type="Label" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/IntervalHeader"]
|
||||
[node name="Label" type="Label" parent="OptionsDialog/PanelContainer/OptionsContainer/IntervalHeader"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "Interval"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/IntervalHeader"]
|
||||
[node name="HSeparator" type="HSeparator" parent="OptionsDialog/PanelContainer/OptionsContainer/IntervalHeader"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="ActionGap" type="HBoxContainer" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
[node name="ActionGap" type="HBoxContainer" parent="OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/ActionGap"]
|
||||
[node name="Label" type="Label" parent="OptionsDialog/PanelContainer/OptionsContainer/ActionGap"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Capture frame every"
|
||||
|
||||
[node name="SkipAmount" type="SpinBox" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/ActionGap"]
|
||||
[node name="SkipAmount" type="SpinBox" parent="OptionsDialog/PanelContainer/OptionsContainer/ActionGap"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
suffix = "actions"
|
||||
|
||||
[node name="ModeHeader" type="HBoxContainer" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer" groups=["visible during recording"]]
|
||||
[node name="ModeHeader" type="HBoxContainer" parent="OptionsDialog/PanelContainer/OptionsContainer" groups=["visible during recording"]]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="Label" type="Label" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/ModeHeader"]
|
||||
[node name="Label" type="Label" parent="OptionsDialog/PanelContainer/OptionsContainer/ModeHeader"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "Mode"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/ModeHeader"]
|
||||
[node name="HSeparator" type="HSeparator" parent="OptionsDialog/PanelContainer/OptionsContainer/ModeHeader"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="ModeType" type="HBoxContainer" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer" groups=["visible during recording"]]
|
||||
[node name="ModeType" type="HBoxContainer" parent="OptionsDialog/PanelContainer/OptionsContainer" groups=["visible during recording"]]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/ModeType"]
|
||||
[node name="Label" type="Label" parent="OptionsDialog/PanelContainer/OptionsContainer/ModeType"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Record canvas only"
|
||||
|
||||
[node name="Mode" type="CheckButton" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/ModeType"]
|
||||
[node name="Mode" type="CheckButton" parent="OptionsDialog/PanelContainer/OptionsContainer/ModeType"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_default_cursor_shape = 2
|
||||
|
||||
[node name="OutputScale" type="HBoxContainer" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
[node name="OutputScale" type="HBoxContainer" parent="OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/OutputScale"]
|
||||
[node name="Label" type="Label" parent="OptionsDialog/PanelContainer/OptionsContainer/OutputScale"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Output Scale:"
|
||||
|
||||
[node name="Size" type="Label" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/OutputScale"]
|
||||
[node name="Size" type="Label" parent="OptionsDialog/PanelContainer/OptionsContainer/OutputScale"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Resize" type="SpinBox" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/OutputScale"]
|
||||
[node name="Resize" type="SpinBox" parent="OptionsDialog/PanelContainer/OptionsContainer/OutputScale"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_default_cursor_shape = 2
|
||||
|
@ -200,34 +196,34 @@ value = 100.0
|
|||
allow_greater = true
|
||||
suffix = "%"
|
||||
|
||||
[node name="PathHeader" type="HBoxContainer" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
[node name="PathHeader" type="HBoxContainer" parent="OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="Label" type="Label" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/PathHeader"]
|
||||
[node name="Label" type="Label" parent="OptionsDialog/PanelContainer/OptionsContainer/PathHeader"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "Path"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/PathHeader"]
|
||||
[node name="HSeparator" type="HSeparator" parent="OptionsDialog/PanelContainer/OptionsContainer/PathHeader"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="PathContainer" type="HBoxContainer" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
[node name="PathContainer" type="HBoxContainer" parent="OptionsDialog/PanelContainer/OptionsContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Path" type="LineEdit" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/PathContainer"]
|
||||
[node name="Path" type="LineEdit" parent="OptionsDialog/PanelContainer/OptionsContainer/PathContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "Choose destination"
|
||||
editable = false
|
||||
|
||||
[node name="Choose" type="Button" parent="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/PathContainer"]
|
||||
[node name="Choose" type="Button" parent="OptionsDialog/PanelContainer/OptionsContainer/PathContainer"]
|
||||
layout_mode = 2
|
||||
text = "Choose"
|
||||
|
||||
[node name="Path" type="FileDialog" parent="Dialogs" groups=["FileDialogs"]]
|
||||
[node name="Path" type="FileDialog" parent="." groups=["FileDialogs"]]
|
||||
mode = 2
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
|
@ -240,9 +236,9 @@ access = 2
|
|||
[connection signal="toggled" from="ScrollContainer/CenterContainer/GridContainer/Start" to="." method="_on_Start_toggled"]
|
||||
[connection signal="pressed" from="ScrollContainer/CenterContainer/GridContainer/Settings" to="." method="_on_Settings_pressed"]
|
||||
[connection signal="pressed" from="ScrollContainer/CenterContainer/GridContainer/OpenFolder" to="." method="_on_open_folder_pressed"]
|
||||
[connection signal="value_changed" from="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/ActionGap/SkipAmount" to="." method="_on_SkipAmount_value_changed"]
|
||||
[connection signal="toggled" from="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/ModeType/Mode" to="." method="_on_Mode_toggled"]
|
||||
[connection signal="value_changed" from="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/OutputScale/Resize" to="." method="_on_SpinBox_value_changed"]
|
||||
[connection signal="pressed" from="Dialogs/OptionsDialog/PanelContainer/OptionsContainer/PathContainer/Choose" to="." method="_on_Choose_pressed"]
|
||||
[connection signal="dir_selected" from="Dialogs/Path" to="." method="_on_Path_dir_selected"]
|
||||
[connection signal="value_changed" from="OptionsDialog/PanelContainer/OptionsContainer/ActionGap/SkipAmount" to="." method="_on_SkipAmount_value_changed"]
|
||||
[connection signal="toggled" from="OptionsDialog/PanelContainer/OptionsContainer/ModeType/Mode" to="." method="_on_Mode_toggled"]
|
||||
[connection signal="value_changed" from="OptionsDialog/PanelContainer/OptionsContainer/OutputScale/Resize" to="." method="_on_SpinBox_value_changed"]
|
||||
[connection signal="pressed" from="OptionsDialog/PanelContainer/OptionsContainer/PathContainer/Choose" to="." method="_on_Choose_pressed"]
|
||||
[connection signal="dir_selected" from="Path" to="." method="_on_Path_dir_selected"]
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
||||
|
|
|
@ -837,7 +837,6 @@ layout_mode = 2
|
|||
theme_override_constants/separation = 1
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/LayerContainer"]
|
||||
editor_description = "Its entire purpose is to add a single pixel on the right of the opacity slider"
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 2
|
||||
|
@ -857,30 +856,37 @@ layout_mode = 2
|
|||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="FrameScrollContainer" type="Container" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit" node_paths=PackedStringArray("h_scroll_bar")]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = -2
|
||||
theme_override_constants/margin_top = 0
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_bottom = 0
|
||||
|
||||
[node name="FrameScrollContainer" type="Container" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/MarginContainer" node_paths=PackedStringArray("h_scroll_bar")]
|
||||
unique_name_in_owner = true
|
||||
clip_contents = true
|
||||
layout_mode = 2
|
||||
script = ExtResource("11")
|
||||
h_scroll_bar = NodePath("../../../../BreakFreeFromContainer/FrameScrollBar")
|
||||
h_scroll_bar = NodePath("../../../../../BreakFreeFromContainer/FrameScrollBar")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/FrameScrollContainer"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/MarginContainer/FrameScrollContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_left = 1
|
||||
theme_override_constants/margin_top = 2
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_bottom = 0
|
||||
|
||||
[node name="FrameAndCelBox" type="VBoxContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/FrameScrollContainer/MarginContainer"]
|
||||
[node name="FrameAndCelBox" type="VBoxContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/MarginContainer/FrameScrollContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="FrameHBox" type="HBoxContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/FrameScrollContainer/MarginContainer/FrameAndCelBox"]
|
||||
[node name="FrameHBox" type="HBoxContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/MarginContainer/FrameScrollContainer/MarginContainer/FrameAndCelBox"]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="CelVBox" type="VBoxContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/FrameScrollContainer/MarginContainer/FrameAndCelBox"]
|
||||
[node name="CelVBox" type="VBoxContainer" parent="TimelineContainer/MainBodyPanel/MainBodyVBoxContainer/TimelineScroll/MarginContainer/LayerFrameHSplit/MarginContainer/FrameScrollContainer/MarginContainer/FrameAndCelBox"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue