From cd3814736d564fd5ba94f1dcae6cefcf949c7373 Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 10 Jan 2020 09:06:03 +0100 Subject: [PATCH 01/13] Image preferences --- Main.tscn | 40 +++++---- Prefabs/Dialogs/PreferencesDialog.tscn | 114 +++++++++++++++++++------ Scripts/Dialogs/PreferencesDialog.gd | 15 ++++ Scripts/Global.gd | 6 ++ project.godot | 2 +- 5 files changed, 131 insertions(+), 46 deletions(-) diff --git a/Main.tscn b/Main.tscn index c68e43ed6..2eb2c81d0 100644 --- a/Main.tscn +++ b/Main.tscn @@ -76,7 +76,7 @@ scancode = 88 [sub_resource type="ShortCut" id=2] shortcut = SubResource( 1 ) -[sub_resource type="Image" id=23] +[sub_resource type="Image" id=3] data = { "data": PoolByteArray( 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, 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, 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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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, 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", @@ -86,10 +86,10 @@ data = { } [sub_resource type="ImageTexture" id=4] -image = SubResource( 23 ) +image = SubResource( 3 ) size = Vector2( 32, 32 ) -[sub_resource type="Image" id=24] +[sub_resource type="Image" id=5] data = { "data": PoolByteArray( 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 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, 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", @@ -99,7 +99,7 @@ data = { } [sub_resource type="ImageTexture" id=6] -image = SubResource( 24 ) +image = SubResource( 5 ) size = Vector2( 32, 32 ) [sub_resource type="InputEventKey" id=7] @@ -146,7 +146,7 @@ scancode = 16777230 [sub_resource type="ShortCut" id=18] shortcut = SubResource( 17 ) -[sub_resource type="Image" id=25] +[sub_resource type="Image" id=19] data = { "data": PoolByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 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, 255, 0, 0, 0, 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, 255, 0, 0, 0, 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, 255, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), "format": "RGBA8", @@ -158,10 +158,10 @@ data = { [sub_resource type="ImageTexture" id=20] flags = 3 flags = 3 -image = SubResource( 25 ) +image = SubResource( 19 ) size = Vector2( 9, 9 ) -[sub_resource type="Image" id=26] +[sub_resource type="Image" id=21] data = { "data": PoolByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), "format": "RGBA8", @@ -173,7 +173,7 @@ data = { [sub_resource type="ImageTexture" id=22] flags = 3 flags = 3 -image = SubResource( 26 ) +image = SubResource( 21 ) size = Vector2( 9, 9 ) [node name="Control" type="Control"] @@ -192,14 +192,12 @@ anchor_bottom = 1.0 custom_constants/separation = 0 [node name="TopMenuContainer" type="Panel" parent="MenuAndUI"] -editor/display_folded = true margin_right = 1152.0 margin_bottom = 28.0 rect_min_size = Vector2( 0, 28 ) custom_styles/panel = ExtResource( 3 ) [node name="MenuItems" type="HBoxContainer" parent="MenuAndUI/TopMenuContainer"] -editor/display_folded = true margin_left = 2.0 margin_top = 4.0 margin_right = 1010.0 @@ -244,7 +242,6 @@ text = "Help" switch_on_hover = true [node name="HBoxContainer" type="HBoxContainer" parent="MenuAndUI/TopMenuContainer"] -editor/display_folded = true anchor_left = 0.5 anchor_right = 0.5 anchor_bottom = 1.0 @@ -269,7 +266,6 @@ text = "[64×64]" align = 2 [node name="UI" type="HBoxContainer" parent="MenuAndUI"] -editor/display_folded = true margin_top = 28.0 margin_right = 1152.0 margin_bottom = 648.0 @@ -933,7 +929,6 @@ mouse_default_cursor_shape = 2 text = "Vertical" [node name="CanvasAndTimeline" type="VBoxContainer" parent="MenuAndUI/UI"] -editor/display_folded = true margin_left = 224.0 margin_right = 928.0 margin_bottom = 620.0 @@ -967,7 +962,6 @@ enabled_focus_mode = 0 script = ExtResource( 14 ) [node name="HSplitContainer" type="HSplitContainer" parent="MenuAndUI/UI/CanvasAndTimeline/HViewportContainer/ViewportAndRulers"] -editor/display_folded = true margin_top = 16.0 margin_right = 704.0 margin_bottom = 478.0 @@ -1671,8 +1665,8 @@ resizable = true mode = 0 access = 2 filters = PoolStringArray( "*.pxo ; Pixelorama Project" ) -current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama" -current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/" +current_dir = "/home/marco/Pixelorama" +current_path = "/home/marco/Pixelorama/" [node name="SaveSprite" type="FileDialog" parent="."] anchor_left = 0.5 @@ -1687,12 +1681,16 @@ window_title = "Save Sprite as .pxo" resizable = true access = 2 filters = PoolStringArray( "*.pxo ; Pixelorama Project" ) -current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama" -current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/" +current_dir = "/home/marco/Pixelorama" +current_path = "/home/marco/Pixelorama/" [node name="ImportSprites" parent="." instance=ExtResource( 61 )] +current_dir = "/home/marco/Pixelorama" +current_path = "/home/marco/Pixelorama/" [node name="ExportSprites" parent="." instance=ExtResource( 62 )] +current_dir = "/home/marco/Pixelorama" +current_path = "/home/marco/Pixelorama/" [node name="ScaleImage" parent="." instance=ExtResource( 63 )] @@ -1722,8 +1720,8 @@ visible = false [node name="PaletteImportFileDialog" parent="." instance=ExtResource( 69 )] filters = PoolStringArray( "*.json ; JavaScript Object Notation", "*.gpl ; Gimp Palette Library" ) -current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama" -current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/" +current_dir = "/home/marco/Pixelorama" +current_path = "/home/marco/Pixelorama/" [node name="AnimationTimer" type="Timer" parent="."] @@ -1814,4 +1812,4 @@ visible = false [editable path="BrushesPopup/TabContainer/File/FileBrushContainer/CircleBrushButton"] -[editable path="BrushesPopup/TabContainer/File/FileBrushContainer/FilledCircleBrushButton"] \ No newline at end of file +[editable path="BrushesPopup/TabContainer/File/FileBrushContainer/FilledCircleBrushButton"] diff --git a/Prefabs/Dialogs/PreferencesDialog.tscn b/Prefabs/Dialogs/PreferencesDialog.tscn index a3c5188ff..76c9639fa 100644 --- a/Prefabs/Dialogs/PreferencesDialog.tscn +++ b/Prefabs/Dialogs/PreferencesDialog.tscn @@ -37,12 +37,13 @@ size_flags_horizontal = 3 [node name="VBoxContainer" type="VBoxContainer" parent="HSplitContainer/ScrollContainer"] margin_right = 205.0 -margin_bottom = 282.0 +margin_bottom = 554.0 size_flags_horizontal = 3 [node name="Languages" type="VBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer"] +editor/display_folded = true margin_right = 205.0 -margin_bottom = 282.0 +margin_bottom = 310.0 [node name="Language Options" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] margin_right = 205.0 @@ -88,46 +89,46 @@ mouse_default_cursor_shape = 2 text = "Français [fr]" [node name="Italian" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] -margin_top = 144.0 -margin_right = 205.0 -margin_bottom = 168.0 -mouse_default_cursor_shape = 2 -text = "Italian [it]" - -[node name="Polish" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] margin_top = 172.0 margin_right = 205.0 margin_bottom = 196.0 mouse_default_cursor_shape = 2 -text = "Polski [pl]" +text = "Italian [it]" -[node name="Brazilian Portuguese" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] +[node name="Polish" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] margin_top = 200.0 margin_right = 205.0 margin_bottom = 224.0 mouse_default_cursor_shape = 2 -text = "Português Brasileiro [pt_BR]" +text = "Polski [pl]" -[node name="Russian" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] +[node name="Brazilian Portuguese" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] margin_top = 228.0 margin_right = 205.0 margin_bottom = 252.0 mouse_default_cursor_shape = 2 +text = "Português Brasileiro [pt_BR]" + +[node name="Russian" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] +margin_top = 256.0 +margin_right = 205.0 +margin_bottom = 280.0 +mouse_default_cursor_shape = 2 text = "Русский [ru]" [node name="Traditional Chinese" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] -margin_top = 256.0 +margin_top = 284.0 margin_right = 205.0 -margin_bottom = 282.0 +margin_bottom = 310.0 mouse_default_cursor_shape = 2 custom_fonts/font = ExtResource( 3 ) text = "繁體中文 [zh_TW]" [node name="Themes" type="VBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer"] -visible = false -margin_top = 286.0 +editor/display_folded = true +margin_top = 314.0 margin_right = 205.0 -margin_bottom = 454.0 +margin_bottom = 482.0 [node name="Theme Options" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Themes"] margin_right = 205.0 @@ -171,21 +172,20 @@ mouse_default_cursor_shape = 2 text = "Light" [node name="Grid&Guides" type="VBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer"] -visible = false -margin_top = 458.0 +margin_top = 486.0 margin_right = 205.0 -margin_bottom = 576.0 +margin_bottom = 618.0 [node name="GridOptionsLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Grid&Guides"] margin_right = 205.0 -margin_bottom = 14.0 +margin_bottom = 28.0 rect_min_size = Vector2( 0, 28 ) text = "Grid options" [node name="GridOptions" type="GridContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer/Grid&Guides"] -margin_top = 18.0 +margin_top = 32.0 margin_right = 205.0 -margin_bottom = 118.0 +margin_bottom = 132.0 custom_constants/vseparation = 4 custom_constants/hseparation = 4 columns = 2 @@ -247,6 +247,69 @@ margin_right = 156.0 margin_bottom = 100.0 rect_min_size = Vector2( 64, 20 ) color = Color( 0.63, 0.13, 0.94, 1 ) + +[node name="Image" type="VBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer"] +margin_top = 486.0 +margin_right = 205.0 +margin_bottom = 618.0 + +[node name="ImageOptionsLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image"] +margin_right = 205.0 +margin_bottom = 28.0 +rect_min_size = Vector2( 0, 28 ) +text = "Image options" + +[node name="ImageOptions" type="GridContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image"] +margin_top = 32.0 +margin_right = 205.0 +margin_bottom = 132.0 +custom_constants/vseparation = 4 +custom_constants/hseparation = 4 +columns = 2 + +[node name="DefaultWidthLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"] +margin_top = 5.0 +margin_right = 92.0 +margin_bottom = 19.0 +text = "Default width:" + +[node name="ImageDefaultWidth" type="SpinBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"] +margin_left = 82.0 +margin_right = 156.0 +margin_bottom = 24.0 +min_value = 1.0 +max_value = 16384.0 +value = 32.0 +suffix = "px" + +[node name="DefaultHeightLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"] +margin_top = 5.0 +margin_right = 96.0 +margin_bottom = 19.0 +text = "Default height:" + +[node name="ImageDefaultHeight" type="SpinBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"] +margin_left = 82.0 +margin_right = 156.0 +margin_bottom = 24.0 +min_value = 1.0 +max_value = 16384.0 +value = 32.0 +suffix = "px" + +[node name="DefaultBackgroundLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"] +margin_top = 5.0 +margin_right = 96.0 +margin_bottom = 19.0 +text = "Default background:" + +[node name="DefaultBackground" type="ColorPickerButton" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"] +margin_left = 82.0 +margin_top = 56.0 +margin_right = 156.0 +margin_bottom = 76.0 +rect_min_size = Vector2( 64, 20 ) +color = Color( 0, 0, 0, 0 ) [connection signal="about_to_show" from="." to="." method="_on_PreferencesDialog_about_to_show"] [connection signal="popup_hide" from="." to="." method="_on_PreferencesDialog_popup_hide"] [connection signal="item_selected" from="HSplitContainer/Tree" to="." method="_on_Tree_item_selected"] @@ -254,3 +317,6 @@ color = Color( 0.63, 0.13, 0.94, 1 ) [connection signal="value_changed" from="HSplitContainer/ScrollContainer/VBoxContainer/Grid&Guides/GridOptions/GridHeightValue" to="." method="_on_GridHeightValue_value_changed"] [connection signal="color_changed" from="HSplitContainer/ScrollContainer/VBoxContainer/Grid&Guides/GridOptions/GridColor" to="." method="_on_GridColor_color_changed"] [connection signal="color_changed" from="HSplitContainer/ScrollContainer/VBoxContainer/Grid&Guides/GridOptions/GuideColor" to="." method="_on_GuideColor_color_changed"] +[connection signal="value_changed" from="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions/ImageDefaultWidth" to="." method="_on_ImageDefaultWidth_value_changed"] +[connection signal="value_changed" from="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions/ImageDefaultHeight" to="." method="_on_ImageDefaultHeight_value_changed"] +[connection signal="color_changed" from="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions/DefaultBackground" to="." method="_on_DefaultBackground_color_changed"] diff --git a/Scripts/Dialogs/PreferencesDialog.gd b/Scripts/Dialogs/PreferencesDialog.gd index 77ddd4e6b..66fdf7cbe 100644 --- a/Scripts/Dialogs/PreferencesDialog.gd +++ b/Scripts/Dialogs/PreferencesDialog.gd @@ -5,6 +5,7 @@ onready var right_side : VBoxContainer = $HSplitContainer/ScrollContainer/VBoxCo onready var languages = $HSplitContainer/ScrollContainer/VBoxContainer/Languages onready var themes = $HSplitContainer/ScrollContainer/VBoxContainer/Themes onready var grid_guides = $"HSplitContainer/ScrollContainer/VBoxContainer/Grid&Guides" +onready var image = $HSplitContainer/ScrollContainer/VBoxContainer/Image func _ready() -> void: for child in languages.get_children(): @@ -28,6 +29,7 @@ func _on_PreferencesDialog_about_to_show() -> void: var language_button := tree.create_item(root) var theme_button := tree.create_item(root) var grid_button := tree.create_item(root) + var image_button := tree.create_item(root) language_button.set_text(0, " " + tr("Language")) # We use metadata to avoid being affected by translations @@ -37,6 +39,8 @@ func _on_PreferencesDialog_about_to_show() -> void: theme_button.set_metadata(0, "Themes") grid_button.set_text(0, " " + tr("Guides & Grid")) grid_button.set_metadata(0, "Guides & Grid") + image_button.set_text(0, " " + tr("Image")) + image_button.set_metadata(0, "Image") func _on_PreferencesDialog_popup_hide() -> void: @@ -52,6 +56,8 @@ func _on_Tree_item_selected() -> void: themes.visible = true elif "Guides & Grid" in selected: grid_guides.visible = true + elif "Image" in selected: + image.visible = true func _on_Language_pressed(button : Button) -> void: var index := 0 @@ -188,3 +194,12 @@ func _on_GuideColor_color_changed(color : Color) -> void: for guide in canvas.get_children(): if guide is Guide: guide.default_color = color + +func _on_ImageDefaultWidth_value_changed(value: float) -> void: + Global.default_image_width = value + +func _on_ImageDefaultHeight_value_changed(value: float) -> void: + Global.default_image_height = value + +func _on_DefaultBackground_color_changed(color: Color) -> void: + Global.default_background = color diff --git a/Scripts/Global.gd b/Scripts/Global.gd index 3828a6574..6f66facf6 100644 --- a/Scripts/Global.gd +++ b/Scripts/Global.gd @@ -24,6 +24,12 @@ var image_clipboard : Image # warning-ignore:unused_class_variable var theme_type := "Dark" # warning-ignore:unused_class_variable +var default_image_width := 32 +# warning-ignore:unused_class_variable +var default_image_height := 32 +# warning-ignore:unused_class_variable +var default_background := Color(0, 0, 0, 0) +# warning-ignore:unused_class_variable var grid_width := 1 # warning-ignore:unused_class_variable var grid_height := 1 diff --git a/project.godot b/project.godot index 7debd2bcc..7f13697d8 100644 --- a/project.godot +++ b/project.godot @@ -45,12 +45,12 @@ _global_script_class_icons={ [application] config/name="Pixelorama" -config/description="A free & open-source 2D sprite editor" run/main_scene="res://Main.tscn" run/low_processor_mode=true boot_splash/image="res://splash.png" boot_splash/bg_color=Color( 0.145098, 0.145098, 0.164706, 1 ) config/icon="res://icon.png" +config/description="A free & open-source 2D sprite editor" config/Version="v0.6.1" [autoload] From 5e49c3eae8a2ba5497b0ed1ea0c767393d488593 Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 10 Jan 2020 20:32:31 +0100 Subject: [PATCH 02/13] Fix --- Scripts/Canvas.gd | 6 ++++-- Scripts/Global.gd | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Scripts/Canvas.gd b/Scripts/Canvas.gd index 438238280..55295bf41 100644 --- a/Scripts/Canvas.gd +++ b/Scripts/Canvas.gd @@ -32,8 +32,10 @@ func _ready() -> void: # The sprite itself if layers.empty(): var sprite := Image.new() - if Global.config_cache.has_section_key("preferences", "default_width") && Global.config_cache.has_section_key("preferences", "default_height"): - size = Vector2(Global.config_cache.get_value("preferences", "default_width"), Global.config_cache.get_value("preferences", "default_height")) + if Global.is_default_image: + if Global.config_cache.has_section_key("preferences", "default_width") && Global.config_cache.has_section_key("preferences", "default_height"): + size = Vector2(Global.config_cache.get_value("preferences", "default_width"), Global.config_cache.get_value("preferences", "default_height")) + Global.is_default_image = !Global.is_default_image sprite.create(size.x, size.y, false, Image.FORMAT_RGBA8) sprite.lock() diff --git a/Scripts/Global.gd b/Scripts/Global.gd index ec423490d..410bf91ad 100644 --- a/Scripts/Global.gd +++ b/Scripts/Global.gd @@ -24,6 +24,8 @@ var image_clipboard : Image # warning-ignore:unused_class_variable var theme_type := "Dark" # warning-ignore:unused_class_variable +var is_default_image := true +# warning-ignore:unused_class_variable var default_image_width := 32 # warning-ignore:unused_class_variable var default_image_height := 32 From a34c163cdbc69d832e4ce47a15540c741282ed2d Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 10 Jan 2020 20:47:44 +0100 Subject: [PATCH 03/13] Add fill color --- Scripts/Canvas.gd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Scripts/Canvas.gd b/Scripts/Canvas.gd index 55295bf41..888422432 100644 --- a/Scripts/Canvas.gd +++ b/Scripts/Canvas.gd @@ -5,6 +5,7 @@ var layers := [] var current_layer_index := 0 var location := Vector2.ZERO var size := Vector2(64, 64) +var fill_color := Color(0, 0, 0, 0) var frame := 0 setget frame_changed var frame_button : VBoxContainer var frame_texture_rect : TextureRect @@ -35,8 +36,12 @@ func _ready() -> void: if Global.is_default_image: if Global.config_cache.has_section_key("preferences", "default_width") && Global.config_cache.has_section_key("preferences", "default_height"): size = Vector2(Global.config_cache.get_value("preferences", "default_width"), Global.config_cache.get_value("preferences", "default_height")) - Global.is_default_image = !Global.is_default_image + if Global.config_cache.has_section_key("preferences", "default_fill_color"): + fill_color = Global.config_cache.get_value("preferences", "default_fill_color") + Global.is_default_image = !Global.is_default_image + sprite.create(size.x, size.y, false, Image.FORMAT_RGBA8) + sprite.fill(fill_color) sprite.lock() var tex := ImageTexture.new() From 783026bacc8d676a01b45b7c636cc438c6d3c3e0 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:00:55 +0200 Subject: [PATCH 04/13] Update Main.tscn --- Main.tscn | 707 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 390 insertions(+), 317 deletions(-) diff --git a/Main.tscn b/Main.tscn index 60ef67087..9d93a7216 100644 --- a/Main.tscn +++ b/Main.tscn @@ -192,12 +192,14 @@ anchor_bottom = 1.0 custom_constants/separation = 0 [node name="TopMenuContainer" type="Panel" parent="MenuAndUI"] +editor/display_folded = true margin_right = 1152.0 margin_bottom = 28.0 rect_min_size = Vector2( 0, 28 ) custom_styles/panel = ExtResource( 3 ) [node name="MenuItems" type="HBoxContainer" parent="MenuAndUI/TopMenuContainer"] +editor/display_folded = true margin_left = 2.0 margin_top = 4.0 margin_right = 1010.0 @@ -242,6 +244,7 @@ text = "Help" switch_on_hover = true [node name="HBoxContainer" type="HBoxContainer" parent="MenuAndUI/TopMenuContainer"] +editor/display_folded = true anchor_left = 0.5 anchor_right = 0.5 anchor_bottom = 1.0 @@ -260,12 +263,13 @@ align = 2 [node name="CursorPosition" type="Label" parent="MenuAndUI/TopMenuContainer/HBoxContainer"] margin_left = 80.0 margin_top = 6.0 -margin_right = 106.0 +margin_right = 120.0 margin_bottom = 21.0 -text = "[0×0]" +text = "[64×64]" align = 2 [node name="UI" type="HBoxContainer" parent="MenuAndUI"] +editor/display_folded = true margin_top = 28.0 margin_right = 1152.0 margin_bottom = 648.0 @@ -280,7 +284,7 @@ margin_bottom = 620.0 rect_min_size = Vector2( 224, 0 ) size_flags_vertical = 3 -[node name="Tools" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel"] +[node name="Tools" type="VSplitContainer" parent="MenuAndUI/UI/ToolPanel"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 @@ -288,6 +292,7 @@ margin_top = 8.0 margin_right = -8.0 size_flags_horizontal = 3 size_flags_vertical = 3 +custom_constants/autohide = 0 custom_constants/separation = 32 [node name="MenusAndTools" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools"] @@ -421,12 +426,11 @@ margin_right = 208.0 margin_bottom = 612.0 size_flags_vertical = 3 custom_constants/separation = 8 -alignment = 1 [node name="ColorButtonsVertical" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"] -margin_top = 50.0 +editor/display_folded = true margin_right = 208.0 -margin_bottom = 101.0 +margin_bottom = 51.0 custom_constants/separation = 2 [node name="ColorSwitchCenter" type="CenterContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorButtonsVertical"] @@ -493,22 +497,34 @@ mouse_default_cursor_shape = 2 texture_normal = ExtResource( 11 ) [node name="HSeparator" type="HSeparator" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"] -margin_top = 109.0 +margin_top = 59.0 margin_right = 208.0 -margin_bottom = 113.0 +margin_bottom = 63.0 -[node name="LeftToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"] -margin_top = 121.0 +[node name="ScrollContainer" type="ScrollContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"] +margin_top = 71.0 margin_right = 208.0 -margin_bottom = 252.0 +margin_bottom = 453.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 -[node name="LeftLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] +[node name="ToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer"] +margin_right = 208.0 +margin_bottom = 312.0 +size_flags_horizontal = 3 + +[node name="LeftToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions"] +editor/display_folded = true +margin_right = 208.0 +margin_bottom = 150.0 + +[node name="LeftLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] margin_right = 208.0 margin_bottom = 15.0 text = "Left tool options" align = 1 -[node name="LeftIndicatorCheckbox" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] +[node name="LeftIndicatorCheckbox" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] margin_top = 19.0 margin_right = 208.0 margin_bottom = 35.0 @@ -517,13 +533,13 @@ mouse_default_cursor_shape = 2 pressed = true text = "Left pixel indicator" -[node name="LeftBrushType" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] +[node name="LeftBrushType" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] editor/display_folded = true margin_top = 39.0 margin_right = 208.0 margin_bottom = 71.0 -[node name="LeftBrushTypeButton" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushType"] +[node name="LeftBrushTypeButton" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushType"] margin_right = 36.0 margin_bottom = 32.0 rect_min_size = Vector2( 36, 32 ) @@ -532,34 +548,37 @@ mouse_default_cursor_shape = 2 size_flags_horizontal = 0 texture_normal = ExtResource( 12 ) -[node name="BrushTexture" type="TextureRect" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushType/LeftBrushTypeButton"] +[node name="BrushTexture" type="TextureRect" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushType/LeftBrushTypeButton"] margin_right = 32.0 margin_bottom = 32.0 texture = SubResource( 4 ) expand = true stretch_mode = 6 -[node name="LeftBrushTypeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushType"] +[node name="LeftBrushTypeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushType"] margin_left = 40.0 margin_top = 8.0 margin_right = 103.0 margin_bottom = 23.0 text = "Brush: Pixel" -[node name="LeftBrushSize" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] +[node name="LeftBrushSize" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] editor/display_folded = true margin_top = 75.0 margin_right = 208.0 -margin_bottom = 92.0 +margin_bottom = 111.0 -[node name="BrushSizeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushSize"] -margin_top = 1.0 -margin_right = 58.0 -margin_bottom = 16.0 +[node name="BrushSizeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushSize"] +margin_right = 208.0 +margin_bottom = 15.0 text = "Brush size:" -[node name="LeftBrushSizeSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushSize"] -margin_left = 62.0 +[node name="HBoxContainer" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushSize"] +margin_top = 19.0 +margin_right = 208.0 +margin_bottom = 36.0 + +[node name="LeftBrushSizeSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushSize/HBoxContainer"] margin_right = 150.0 margin_bottom = 17.0 mouse_default_cursor_shape = 2 @@ -570,7 +589,7 @@ value = 1.0 allow_greater = true ticks_on_borders = true -[node name="LeftBrushSizeEdit" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushSize"] +[node name="LeftBrushSizeEdit" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushSize/HBoxContainer"] margin_left = 154.0 margin_right = 208.0 margin_bottom = 17.0 @@ -580,270 +599,55 @@ value = 1.0 align = 1 suffix = "px" -[node name="LeftColorInterpolation" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] +[node name="LeftColorInterpolation" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] editor/display_folded = true visible = false -margin_top = 96.0 +margin_top = 115.0 margin_right = 208.0 -margin_bottom = 113.0 +margin_bottom = 151.0 -[node name="ColorComesFrom" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftColorInterpolation"] -margin_top = 1.0 -margin_right = 90.0 -margin_bottom = 16.0 +[node name="ColorComesFrom" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorInterpolation"] +margin_right = 208.0 +margin_bottom = 15.0 hint_tooltip = "COLORFROM_HT" text = "Brush color from" -[node name="LeftInterpolateSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftColorInterpolation"] -margin_left = 94.0 -margin_right = 149.0 -margin_bottom = 17.0 -hint_tooltip = "COLORFROM_HT" -size_flags_horizontal = 3 -size_flags_vertical = 1 -value = 100.0 -ticks_on_borders = true - -[node name="LeftInterpolateFactor" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftColorInterpolation"] -margin_left = 153.0 +[node name="HBoxContainer" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorInterpolation"] +margin_top = 19.0 margin_right = 208.0 -margin_bottom = 17.0 -hint_tooltip = "COLORFROM_HT" -size_flags_horizontal = 3 -value = 100.0 +margin_bottom = 36.0 -[node name="LeftFillArea" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] -editor/display_folded = true -visible = false -margin_top = 110.0 -margin_right = 214.0 -margin_bottom = 148.0 - -[node name="FillAreaLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftFillArea"] -margin_right = 214.0 -margin_bottom = 14.0 -mouse_default_cursor_shape = 2 -text = "Fill area:" - -[node name="LeftFillAreaOptions" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftFillArea"] -margin_top = 18.0 -margin_right = 214.0 -margin_bottom = 38.0 -mouse_default_cursor_shape = 2 -text = "Area of the same color" -items = [ "Area of the same color", null, false, 0, null, "All pixels of the same color", null, false, 1, null ] -selected = 0 - -[node name="LeftLDOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] -editor/display_folded = true -visible = false -margin_top = 96.0 -margin_right = 208.0 -margin_bottom = 140.0 - -[node name="LeftLightenDarken" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftLDOptions"] -margin_right = 208.0 -margin_bottom = 23.0 -mouse_default_cursor_shape = 2 -text = "Lighten" -items = [ "Lighten", null, false, 0, null, "Darken", null, false, 1, null ] -selected = 0 - -[node name="LeftLDAmount" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftLDOptions"] -margin_top = 27.0 -margin_right = 208.0 -margin_bottom = 44.0 - -[node name="LDAmountLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount"] -margin_top = 1.0 -margin_right = 47.0 -margin_bottom = 16.0 -text = "Amount:" - -[node name="LeftLDAmountSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount"] -margin_left = 51.0 +[node name="LeftInterpolateSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorInterpolation/HBoxContainer"] margin_right = 150.0 margin_bottom = 17.0 -hint_tooltip = "LDAMOUNT_HT" -mouse_default_cursor_shape = 2 +hint_tooltip = "COLORFROM_HT" size_flags_horizontal = 3 size_flags_vertical = 1 -value = 10.0 +value = 100.0 ticks_on_borders = true -[node name="LeftLDAmountSpinbox" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount"] +[node name="LeftInterpolateFactor" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorInterpolation/HBoxContainer"] margin_left = 154.0 margin_right = 208.0 margin_bottom = 17.0 -hint_tooltip = "LDAMOUNT_HT" -mouse_default_cursor_shape = 2 -value = 10.0 - -[node name="LeftMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] -editor/display_folded = true -margin_top = 96.0 -margin_right = 208.0 -margin_bottom = 131.0 - -[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring"] -margin_right = 208.0 -margin_bottom = 15.0 -text = "Mirroring" - -[node name="LeftMirrorButtons" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring"] -margin_top = 19.0 -margin_right = 208.0 -margin_bottom = 35.0 - -[node name="LeftHorizontalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons"] -margin_right = 77.0 -margin_bottom = 16.0 -hint_tooltip = "HORIZMIRROR_HT" -mouse_default_cursor_shape = 2 -text = "Horizontal" - -[node name="LeftVerticalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons"] -margin_left = 81.0 -margin_right = 142.0 -margin_bottom = 16.0 -hint_tooltip = "VERTMIRROR_HT" -mouse_default_cursor_shape = 2 -text = "Vertical" - -[node name="HSeparator2" type="HSeparator" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"] -margin_top = 260.0 -margin_right = 208.0 -margin_bottom = 264.0 - -[node name="RightToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions"] -margin_top = 272.0 -margin_right = 208.0 -margin_bottom = 403.0 - -[node name="RightLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"] -margin_right = 208.0 -margin_bottom = 15.0 -text = "Right tool options" +hint_tooltip = "COLORFROM_HT" +value = 100.0 align = 1 -[node name="RightIndicatorCheckbox" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"] -margin_top = 19.0 -margin_right = 208.0 -margin_bottom = 35.0 -hint_tooltip = "RIGHT_INDIC_HT" -mouse_default_cursor_shape = 2 -text = "Right pixel indicator" - -[node name="RightBrushType" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"] -editor/display_folded = true -margin_top = 39.0 -margin_right = 208.0 -margin_bottom = 71.0 - -[node name="RightBrushTypeButton" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushType"] -margin_right = 36.0 -margin_bottom = 32.0 -rect_min_size = Vector2( 36, 32 ) -hint_tooltip = "BRUSH_HT" -mouse_default_cursor_shape = 2 -size_flags_horizontal = 0 -texture_normal = ExtResource( 12 ) - -[node name="BrushTexture" type="TextureRect" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushType/RightBrushTypeButton"] -margin_right = 32.0 -margin_bottom = 32.0 -texture = SubResource( 6 ) -expand = true -stretch_mode = 6 - -[node name="RightBrushTypeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushType"] -margin_left = 40.0 -margin_top = 8.0 -margin_right = 103.0 -margin_bottom = 23.0 -text = "Brush: Pixel" - -[node name="RightBrushSize" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"] -editor/display_folded = true -margin_top = 75.0 -margin_right = 208.0 -margin_bottom = 92.0 - -[node name="BrushSizeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushSize"] -margin_top = 1.0 -margin_right = 58.0 -margin_bottom = 16.0 -text = "Brush size:" - -[node name="RightBrushSizeSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushSize"] -margin_left = 62.0 -margin_right = 150.0 -margin_bottom = 17.0 -mouse_default_cursor_shape = 2 -size_flags_horizontal = 3 -size_flags_vertical = 1 -min_value = 1.0 -value = 1.0 -allow_greater = true -ticks_on_borders = true - -[node name="RightBrushSizeEdit" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushSize"] -margin_left = 154.0 -margin_right = 208.0 -margin_bottom = 17.0 -mouse_default_cursor_shape = 2 -min_value = 1.0 -value = 1.0 -align = 1 -suffix = "px" - -[node name="RightColorInterpolation" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"] +[node name="LeftFillArea" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] editor/display_folded = true visible = false -margin_top = 96.0 +margin_top = 155.0 margin_right = 208.0 -margin_bottom = 113.0 +margin_bottom = 197.0 -[node name="ColorComesFrom" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightColorInterpolation"] -margin_top = 1.0 -margin_right = 90.0 -margin_bottom = 16.0 -hint_tooltip = "COLORFROM_HT" -text = "Brush color from" - -[node name="RightInterpolateSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightColorInterpolation"] -margin_left = 94.0 -margin_right = 149.0 -margin_bottom = 17.0 -hint_tooltip = "COLORFROM_HT" -mouse_default_cursor_shape = 2 -size_flags_horizontal = 3 -size_flags_vertical = 1 -value = 100.0 -ticks_on_borders = true - -[node name="RightInterpolateFactor" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightColorInterpolation"] -margin_left = 153.0 -margin_right = 208.0 -margin_bottom = 17.0 -hint_tooltip = "COLORFROM_HT" -mouse_default_cursor_shape = 2 -size_flags_horizontal = 3 -value = 100.0 - -[node name="RightFillArea" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"] -editor/display_folded = true -visible = false -margin_top = 96.0 -margin_right = 208.0 -margin_bottom = 138.0 - -[node name="FillAreaLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightFillArea"] +[node name="FillAreaLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftFillArea"] margin_right = 208.0 margin_bottom = 15.0 +mouse_default_cursor_shape = 2 text = "Fill area:" -[node name="RightFillAreaOptions" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightFillArea"] +[node name="LeftFillAreaOptions" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftFillArea"] margin_top = 19.0 margin_right = 208.0 margin_bottom = 42.0 @@ -852,14 +656,14 @@ text = "Area of the same color" items = [ "Area of the same color", null, false, 0, null, "All pixels of the same color", null, false, 1, null ] selected = 0 -[node name="RightLDOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"] +[node name="LeftLDOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] editor/display_folded = true visible = false -margin_top = 96.0 +margin_top = 115.0 margin_right = 208.0 -margin_bottom = 140.0 +margin_bottom = 178.0 -[node name="RightLightenDarken" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightLDOptions"] +[node name="LeftLightenDarken" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftLDOptions"] margin_right = 208.0 margin_bottom = 23.0 mouse_default_cursor_shape = 2 @@ -867,19 +671,18 @@ text = "Lighten" items = [ "Lighten", null, false, 0, null, "Darken", null, false, 1, null ] selected = 0 -[node name="RightLDAmount" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightLDOptions"] +[node name="LDAmountLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftLDOptions"] margin_top = 27.0 margin_right = 208.0 -margin_bottom = 44.0 - -[node name="LDAmountLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightLDOptions/RightLDAmount"] -margin_top = 1.0 -margin_right = 47.0 -margin_bottom = 16.0 +margin_bottom = 42.0 text = "Amount:" -[node name="RightLDAmountSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightLDOptions/RightLDAmount"] -margin_left = 51.0 +[node name="LeftLDAmount" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftLDOptions"] +margin_top = 46.0 +margin_right = 208.0 +margin_bottom = 63.0 + +[node name="LeftLDAmountSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount"] margin_right = 150.0 margin_bottom = 17.0 hint_tooltip = "LDAMOUNT_HT" @@ -889,38 +692,308 @@ size_flags_vertical = 1 value = 10.0 ticks_on_borders = true -[node name="RightLDAmountSpinbox" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightLDOptions/RightLDAmount"] +[node name="LeftLDAmountSpinbox" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount"] margin_left = 154.0 margin_right = 208.0 margin_bottom = 17.0 hint_tooltip = "LDAMOUNT_HT" mouse_default_cursor_shape = 2 value = 10.0 +align = 1 -[node name="RightMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions"] +[node name="LeftColorPickerOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] editor/display_folded = true -margin_top = 96.0 +visible = false +margin_top = 115.0 margin_right = 208.0 -margin_bottom = 131.0 +margin_bottom = 157.0 -[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring"] +[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorPickerOptions"] +margin_right = 208.0 +margin_bottom = 15.0 +mouse_default_cursor_shape = 2 +text = "Pick for:" + +[node name="LeftForColorOptions" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorPickerOptions"] +margin_top = 19.0 +margin_right = 208.0 +margin_bottom = 42.0 +mouse_default_cursor_shape = 2 +text = "Left Color" +items = [ "Left Color", null, false, 0, null, "Right Color", null, false, 1, null ] +selected = 0 + +[node name="LeftMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions"] +editor/display_folded = true +margin_top = 115.0 +margin_right = 208.0 +margin_bottom = 150.0 + +[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring"] margin_right = 208.0 margin_bottom = 15.0 text = "Mirroring" -[node name="RightMirrorButtons" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring"] +[node name="LeftMirrorButtons" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring"] margin_top = 19.0 margin_right = 208.0 margin_bottom = 35.0 -[node name="RightHorizontalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons"] +[node name="LeftHorizontalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons"] margin_right = 77.0 margin_bottom = 16.0 hint_tooltip = "HORIZMIRROR_HT" mouse_default_cursor_shape = 2 text = "Horizontal" -[node name="RightVerticalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons"] +[node name="LeftVerticalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons"] +margin_left = 81.0 +margin_right = 142.0 +margin_bottom = 16.0 +hint_tooltip = "VERTMIRROR_HT" +mouse_default_cursor_shape = 2 +text = "Vertical" + +[node name="HSeparator" type="HSeparator" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions"] +margin_top = 154.0 +margin_right = 208.0 +margin_bottom = 158.0 + +[node name="RightToolOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions"] +editor/display_folded = true +margin_top = 162.0 +margin_right = 208.0 +margin_bottom = 312.0 + +[node name="RightLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +margin_right = 208.0 +margin_bottom = 15.0 +text = "Right tool options" +align = 1 + +[node name="RightIndicatorCheckbox" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +margin_top = 19.0 +margin_right = 208.0 +margin_bottom = 35.0 +hint_tooltip = "RIGHT_INDIC_HT" +mouse_default_cursor_shape = 2 +text = "Right pixel indicator" + +[node name="RightBrushType" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +editor/display_folded = true +margin_top = 39.0 +margin_right = 208.0 +margin_bottom = 71.0 + +[node name="RightBrushTypeButton" type="TextureButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushType"] +margin_right = 36.0 +margin_bottom = 32.0 +rect_min_size = Vector2( 36, 32 ) +hint_tooltip = "BRUSH_HT" +mouse_default_cursor_shape = 2 +size_flags_horizontal = 0 +texture_normal = ExtResource( 12 ) + +[node name="BrushTexture" type="TextureRect" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushType/RightBrushTypeButton"] +margin_right = 32.0 +margin_bottom = 32.0 +texture = SubResource( 6 ) +expand = true +stretch_mode = 6 + +[node name="RightBrushTypeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushType"] +margin_left = 40.0 +margin_top = 8.0 +margin_right = 103.0 +margin_bottom = 23.0 +text = "Brush: Pixel" + +[node name="RightBrushSize" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +editor/display_folded = true +margin_top = 75.0 +margin_right = 208.0 +margin_bottom = 111.0 + +[node name="BrushSizeLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushSize"] +margin_right = 208.0 +margin_bottom = 15.0 +text = "Brush size:" + +[node name="HBoxContainer" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushSize"] +margin_top = 19.0 +margin_right = 208.0 +margin_bottom = 36.0 + +[node name="RightBrushSizeSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushSize/HBoxContainer"] +margin_right = 150.0 +margin_bottom = 17.0 +mouse_default_cursor_shape = 2 +size_flags_horizontal = 3 +size_flags_vertical = 1 +min_value = 1.0 +value = 1.0 +allow_greater = true +ticks_on_borders = true + +[node name="RightBrushSizeEdit" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushSize/HBoxContainer"] +margin_left = 154.0 +margin_right = 208.0 +margin_bottom = 17.0 +mouse_default_cursor_shape = 2 +min_value = 1.0 +value = 1.0 +align = 1 +suffix = "px" + +[node name="RightColorInterpolation" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +editor/display_folded = true +visible = false +margin_top = 115.0 +margin_right = 208.0 +margin_bottom = 151.0 + +[node name="ColorComesFrom" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorInterpolation"] +margin_right = 208.0 +margin_bottom = 15.0 +hint_tooltip = "COLORFROM_HT" +text = "Brush color from" + +[node name="HBoxContainer" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorInterpolation"] +margin_top = 19.0 +margin_right = 208.0 +margin_bottom = 36.0 + +[node name="RightInterpolateSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorInterpolation/HBoxContainer"] +margin_right = 102.0 +margin_bottom = 17.0 +hint_tooltip = "COLORFROM_HT" +mouse_default_cursor_shape = 2 +size_flags_horizontal = 3 +size_flags_vertical = 1 +value = 100.0 +ticks_on_borders = true + +[node name="RightInterpolateFactor" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorInterpolation/HBoxContainer"] +margin_left = 106.0 +margin_right = 208.0 +margin_bottom = 17.0 +hint_tooltip = "COLORFROM_HT" +mouse_default_cursor_shape = 2 +value = 100.0 +align = 1 + +[node name="RightFillArea" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +editor/display_folded = true +visible = false +margin_top = 96.0 +margin_right = 208.0 +margin_bottom = 138.0 + +[node name="FillAreaLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightFillArea"] +margin_right = 208.0 +margin_bottom = 15.0 +text = "Fill area:" + +[node name="RightFillAreaOptions" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightFillArea"] +margin_top = 19.0 +margin_right = 208.0 +margin_bottom = 42.0 +mouse_default_cursor_shape = 2 +text = "Area of the same color" +items = [ "Area of the same color", null, false, 0, null, "All pixels of the same color", null, false, 1, null ] +selected = 0 + +[node name="RightLDOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +editor/display_folded = true +visible = false +margin_top = 115.0 +margin_right = 208.0 +margin_bottom = 178.0 + +[node name="RightLightenDarken" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightLDOptions"] +margin_right = 208.0 +margin_bottom = 23.0 +mouse_default_cursor_shape = 2 +text = "Lighten" +items = [ "Lighten", null, false, 0, null, "Darken", null, false, 1, null ] +selected = 0 + +[node name="LDAmountLabel" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightLDOptions"] +margin_top = 27.0 +margin_right = 208.0 +margin_bottom = 42.0 +text = "Amount:" + +[node name="RightLDAmount" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightLDOptions"] +margin_top = 46.0 +margin_right = 208.0 +margin_bottom = 63.0 + +[node name="RightLDAmountSlider" type="HSlider" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightLDOptions/RightLDAmount"] +margin_right = 150.0 +margin_bottom = 17.0 +hint_tooltip = "LDAMOUNT_HT" +mouse_default_cursor_shape = 2 +size_flags_horizontal = 3 +size_flags_vertical = 1 +value = 10.0 +ticks_on_borders = true + +[node name="RightLDAmountSpinbox" type="SpinBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightLDOptions/RightLDAmount"] +margin_left = 154.0 +margin_right = 208.0 +margin_bottom = 17.0 +hint_tooltip = "LDAMOUNT_HT" +mouse_default_cursor_shape = 2 +value = 10.0 +align = 1 + +[node name="RightColorPickerOptions" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +editor/display_folded = true +visible = false +margin_top = 115.0 +margin_right = 208.0 +margin_bottom = 157.0 + +[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorPickerOptions"] +margin_right = 208.0 +margin_bottom = 15.0 +mouse_default_cursor_shape = 2 +text = "Pick for:" + +[node name="RightForColorOptions" type="OptionButton" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorPickerOptions"] +margin_top = 19.0 +margin_right = 208.0 +margin_bottom = 42.0 +mouse_default_cursor_shape = 2 +text = "Right Color" +items = [ "Left Color", null, false, 0, null, "Right Color", null, false, 1, null ] +selected = 1 + +[node name="RightMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions"] +editor/display_folded = true +margin_top = 115.0 +margin_right = 208.0 +margin_bottom = 150.0 + +[node name="Label" type="Label" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring"] +margin_right = 208.0 +margin_bottom = 15.0 +text = "Mirroring" + +[node name="RightMirrorButtons" type="HBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring"] +margin_top = 19.0 +margin_right = 208.0 +margin_bottom = 35.0 + +[node name="RightHorizontalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons"] +margin_right = 77.0 +margin_bottom = 16.0 +hint_tooltip = "HORIZMIRROR_HT" +mouse_default_cursor_shape = 2 +text = "Horizontal" + +[node name="RightVerticalMirroring" type="CheckBox" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons"] margin_left = 81.0 margin_right = 142.0 margin_bottom = 16.0 @@ -929,6 +1002,7 @@ mouse_default_cursor_shape = 2 text = "Vertical" [node name="CanvasAndTimeline" type="VBoxContainer" parent="MenuAndUI/UI"] +editor/display_folded = true margin_left = 224.0 margin_right = 928.0 margin_bottom = 620.0 @@ -962,6 +1036,7 @@ enabled_focus_mode = 0 script = ExtResource( 14 ) [node name="HSplitContainer" type="HSplitContainer" parent="MenuAndUI/UI/CanvasAndTimeline/HViewportContainer/ViewportAndRulers"] +editor/display_folded = true margin_top = 16.0 margin_right = 704.0 margin_bottom = 478.0 @@ -1665,8 +1740,8 @@ resizable = true mode = 0 access = 2 filters = PoolStringArray( "*.pxo ; Pixelorama Project" ) -current_dir = "/home/marco/Pixelorama" -current_path = "/home/marco/Pixelorama/" +current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama" +current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/" [node name="SaveSprite" type="FileDialog" parent="."] anchor_left = 0.5 @@ -1681,16 +1756,12 @@ window_title = "Save Sprite as .pxo" resizable = true access = 2 filters = PoolStringArray( "*.pxo ; Pixelorama Project" ) -current_dir = "/home/marco/Pixelorama" -current_path = "/home/marco/Pixelorama/" +current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama" +current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/" [node name="ImportSprites" parent="." instance=ExtResource( 61 )] -current_dir = "/home/marco/Pixelorama" -current_path = "/home/marco/Pixelorama/" [node name="ExportSprites" parent="." instance=ExtResource( 62 )] -current_dir = "/home/marco/Pixelorama" -current_path = "/home/marco/Pixelorama/" [node name="ScaleImage" parent="." instance=ExtResource( 63 )] @@ -1720,8 +1791,8 @@ visible = false [node name="PaletteImportFileDialog" parent="." instance=ExtResource( 69 )] filters = PoolStringArray( "*.json ; JavaScript Object Notation", "*.gpl ; Gimp Palette Library" ) -current_dir = "/home/marco/Pixelorama" -current_path = "/home/marco/Pixelorama/" +current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama" +current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/" [node name="AnimationTimer" type="Timer" parent="."] @@ -1738,30 +1809,32 @@ visible = false [connection signal="popup_closed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorButtonsVertical/ColorPickersCenter/ColorPickersHorizontal/RightColorPickerButton" to="." method="_can_draw_true"] [connection signal="pressed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorButtonsVertical/ColorPickersCenter/ColorPickersHorizontal/RightColorPickerButton" to="." method="_can_draw_false"] [connection signal="pressed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorButtonsVertical/ColorDefaultsCenter/ColorDefaults" to="." method="_on_ColorDefaults_pressed"] -[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftIndicatorCheckbox" to="." method="_on_LeftIndicatorCheckbox_toggled"] -[connection signal="pressed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushType/LeftBrushTypeButton" to="." method="_on_LeftBrushTypeButton_pressed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushSize/LeftBrushSizeSlider" to="." method="_on_LeftBrushSizeEdit_value_changed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftBrushSize/LeftBrushSizeEdit" to="." method="_on_LeftBrushSizeEdit_value_changed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftColorInterpolation/LeftInterpolateSlider" to="." method="_on_LeftInterpolateFactor_value_changed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftColorInterpolation/LeftInterpolateFactor" to="." method="_on_LeftInterpolateFactor_value_changed"] -[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftFillArea/LeftFillAreaOptions" to="." method="_on_LeftFillAreaOptions_item_selected"] -[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftLDOptions/LeftLightenDarken" to="." method="_on_LeftLightenDarken_item_selected"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount/LeftLDAmountSlider" to="." method="_on_LeftLDAmountSpinbox_value_changed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount/LeftLDAmountSpinbox" to="." method="_on_LeftLDAmountSpinbox_value_changed"] -[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons/LeftHorizontalMirroring" to="." method="_on_LeftHorizontalMirroring_toggled"] -[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons/LeftVerticalMirroring" to="." method="_on_LeftVerticalMirroring_toggled"] -[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightIndicatorCheckbox" to="." method="_on_RightIndicatorCheckbox_toggled"] -[connection signal="pressed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushType/RightBrushTypeButton" to="." method="_on_RightBrushTypeButton_pressed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushSize/RightBrushSizeSlider" to="." method="_on_RightBrushSizeEdit_value_changed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightBrushSize/RightBrushSizeEdit" to="." method="_on_RightBrushSizeEdit_value_changed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightColorInterpolation/RightInterpolateSlider" to="." method="_on_RightInterpolateFactor_value_changed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightColorInterpolation/RightInterpolateFactor" to="." method="_on_RightInterpolateFactor_value_changed"] -[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightFillArea/RightFillAreaOptions" to="." method="_on_RightFillAreaOptions_item_selected"] -[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightLDOptions/RightLightenDarken" to="." method="_on_RightLightenDarken_item_selected"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightLDOptions/RightLDAmount/RightLDAmountSlider" to="." method="_on_RightLDAmountSpinbox_value_changed"] -[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightLDOptions/RightLDAmount/RightLDAmountSpinbox" to="." method="_on_RightLDAmountSpinbox_value_changed"] -[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons/RightHorizontalMirroring" to="." method="_on_RightHorizontalMirroring_toggled"] -[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons/RightVerticalMirroring" to="." method="_on_RightVerticalMirroring_toggled"] +[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftIndicatorCheckbox" to="." method="_on_LeftIndicatorCheckbox_toggled"] +[connection signal="pressed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushType/LeftBrushTypeButton" to="." method="_on_LeftBrushTypeButton_pressed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushSize/HBoxContainer/LeftBrushSizeSlider" to="." method="_on_LeftBrushSizeEdit_value_changed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftBrushSize/HBoxContainer/LeftBrushSizeEdit" to="." method="_on_LeftBrushSizeEdit_value_changed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorInterpolation/HBoxContainer/LeftInterpolateSlider" to="." method="_on_LeftInterpolateFactor_value_changed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorInterpolation/HBoxContainer/LeftInterpolateFactor" to="." method="_on_LeftInterpolateFactor_value_changed"] +[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftFillArea/LeftFillAreaOptions" to="." method="_on_LeftFillAreaOptions_item_selected"] +[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftLDOptions/LeftLightenDarken" to="." method="_on_LeftLightenDarken_item_selected"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount/LeftLDAmountSlider" to="." method="_on_LeftLDAmountSpinbox_value_changed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftLDOptions/LeftLDAmount/LeftLDAmountSpinbox" to="." method="_on_LeftLDAmountSpinbox_value_changed"] +[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftColorPickerOptions/LeftForColorOptions" to="." method="_on_LeftForColorOptions_item_selected"] +[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons/LeftHorizontalMirroring" to="." method="_on_LeftHorizontalMirroring_toggled"] +[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/LeftToolOptions/LeftMirroring/LeftMirrorButtons/LeftVerticalMirroring" to="." method="_on_LeftVerticalMirroring_toggled"] +[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightIndicatorCheckbox" to="." method="_on_RightIndicatorCheckbox_toggled"] +[connection signal="pressed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushType/RightBrushTypeButton" to="." method="_on_RightBrushTypeButton_pressed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushSize/HBoxContainer/RightBrushSizeSlider" to="." method="_on_RightBrushSizeEdit_value_changed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightBrushSize/HBoxContainer/RightBrushSizeEdit" to="." method="_on_RightBrushSizeEdit_value_changed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorInterpolation/HBoxContainer/RightInterpolateSlider" to="." method="_on_RightInterpolateFactor_value_changed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorInterpolation/HBoxContainer/RightInterpolateFactor" to="." method="_on_RightInterpolateFactor_value_changed"] +[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightFillArea/RightFillAreaOptions" to="." method="_on_RightFillAreaOptions_item_selected"] +[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightLDOptions/RightLightenDarken" to="." method="_on_RightLightenDarken_item_selected"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightLDOptions/RightLDAmount/RightLDAmountSlider" to="." method="_on_RightLDAmountSpinbox_value_changed"] +[connection signal="value_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightLDOptions/RightLDAmount/RightLDAmountSpinbox" to="." method="_on_RightLDAmountSpinbox_value_changed"] +[connection signal="item_selected" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightColorPickerOptions/RightForColorOptions" to="." method="_on_RightForColorOptions_item_selected"] +[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons/RightHorizontalMirroring" to="." method="_on_RightHorizontalMirroring_toggled"] +[connection signal="toggled" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ScrollContainer/ToolOptions/RightToolOptions/RightMirroring/RightMirrorButtons/RightVerticalMirroring" to="." method="_on_RightVerticalMirroring_toggled"] [connection signal="pressed" from="MenuAndUI/UI/CanvasAndTimeline/HViewportContainer/ViewportAndRulers/HorizontalRuler" to="MenuAndUI/UI/CanvasAndTimeline/HViewportContainer/ViewportAndRulers/HorizontalRuler" method="_on_HorizontalRuler_pressed"] [connection signal="pressed" from="MenuAndUI/UI/CanvasAndTimeline/HViewportContainer/ViewportAndRulers/HSplitContainer/ViewportandVerticalRuler/VerticalRuler" to="MenuAndUI/UI/CanvasAndTimeline/HViewportContainer/ViewportAndRulers/HSplitContainer/ViewportandVerticalRuler/VerticalRuler" method="_on_VerticalRuler_pressed"] [connection signal="mouse_entered" from="MenuAndUI/UI/CanvasAndTimeline/HViewportContainer/ViewportAndRulers/HSplitContainer/ViewportandVerticalRuler/ViewportContainer" to="." method="_on_ViewportContainer_mouse_entered"] From 518ba2b1769bd10492895e136a736eecb04b235c Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:02:22 +0200 Subject: [PATCH 05/13] Update project.godot For some reason space was removed --- project.godot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project.godot b/project.godot index 0306d3d90..adeb14e99 100644 --- a/project.godot +++ b/project.godot @@ -216,7 +216,8 @@ delete={ } space={ "deadzone": 0.5, -"events": [ ] +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null) + ] } [locale] From 6dfa3ac9b775f224c29db6c5521c26f6cedbf617 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:08:24 +0200 Subject: [PATCH 06/13] Fixed issue where the size wouldn't change if the user modified only the width or the height --- Scripts/Canvas.gd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Scripts/Canvas.gd b/Scripts/Canvas.gd index 888422432..ee203e0a6 100644 --- a/Scripts/Canvas.gd +++ b/Scripts/Canvas.gd @@ -34,8 +34,10 @@ func _ready() -> void: if layers.empty(): var sprite := Image.new() if Global.is_default_image: - if Global.config_cache.has_section_key("preferences", "default_width") && Global.config_cache.has_section_key("preferences", "default_height"): - size = Vector2(Global.config_cache.get_value("preferences", "default_width"), Global.config_cache.get_value("preferences", "default_height")) + if Global.config_cache.has_section_key("preferences", "default_width"): + size.x = Global.config_cache.get_value("preferences", "default_width") + if Global.config_cache.has_section_key("preferences", "default_height"): + size.y = Global.config_cache.get_value("preferences", "default_height") if Global.config_cache.has_section_key("preferences", "default_fill_color"): fill_color = Global.config_cache.get_value("preferences", "default_fill_color") Global.is_default_image = !Global.is_default_image From c59182019c4b99cf554cc2d1103c554dcfa6b84a Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:11:36 +0200 Subject: [PATCH 07/13] Fixed "fill_color variable already declared" warning --- Scripts/Dialogs/CreateNewImage.gd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Scripts/Dialogs/CreateNewImage.gd b/Scripts/Dialogs/CreateNewImage.gd index 5f2fe44cd..6ed60781b 100644 --- a/Scripts/Dialogs/CreateNewImage.gd +++ b/Scripts/Dialogs/CreateNewImage.gd @@ -2,12 +2,12 @@ extends ConfirmationDialog onready var width_value = $VBoxContainer/OptionsContainer/WidthValue onready var height_value = $VBoxContainer/OptionsContainer/HeightValue -onready var fill_color = $VBoxContainer/OptionsContainer/FillColor +onready var fill_color_node = $VBoxContainer/OptionsContainer/FillColor func _on_CreateNewImage_confirmed() -> void: - var width : int = $VBoxContainer/OptionsContainer/WidthValue.value - var height : int = $VBoxContainer/OptionsContainer/HeightValue.value - var fill_color : Color = $VBoxContainer/OptionsContainer/FillColor.color + var width : int = width_value.value + var height : int = height_value.value + var fill_color : Color = fill_color_node.color Global.control.clear_canvases() Global.canvas = load("res://Prefabs/Canvas.tscn").instance() Global.canvas.size = Vector2(width, height).floor() @@ -23,4 +23,4 @@ func _on_CreateNewImage_confirmed() -> void: func _on_CreateNewImage_about_to_show() -> void: width_value.value = Global.default_image_width height_value.value = Global.default_image_height - fill_color.color = Global.default_fill_color + fill_color_node.color = Global.default_fill_color From d817f2e5d378074e88babfe2b5f9b5374d8fe76c Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:14:56 +0200 Subject: [PATCH 08/13] Fixed same issue as 6dfa3ac9b775f224c29db6c5521c26f6cedbf617 --- Scripts/Dialogs/PreferencesDialog.gd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Scripts/Dialogs/PreferencesDialog.gd b/Scripts/Dialogs/PreferencesDialog.gd index b4ccfb17e..04e848598 100644 --- a/Scripts/Dialogs/PreferencesDialog.gd +++ b/Scripts/Dialogs/PreferencesDialog.gd @@ -54,12 +54,14 @@ func _ready() -> void: guide_color.color = Global.guide_color # Set default values for Image - if Global.config_cache.has_section_key("preferences", "default_width") && Global.config_cache.has_section_key("preferences", "default_height"): + if Global.config_cache.has_section_key("preferences", "default_width"): var default_width = Global.config_cache.get_value("preferences", "default_width") - var default_height = Global.config_cache.get_value("preferences", "default_height") Global.default_image_width = int(default_width) - Global.default_image_height = int(default_height) default_width_value.value = Global.default_image_width + + if Global.config_cache.has_section_key("preferences", "default_height"): + var default_height = Global.config_cache.get_value("preferences", "default_height") + Global.default_image_height = int(default_height) default_height_value.value = Global.default_image_height if Global.config_cache.has_section_key("preferences", "default_fill_color"): From 31836fa5792f5450cfe0f0adee0b7d7115ab5035 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:18:16 +0200 Subject: [PATCH 09/13] Leave translations blank so people will know that they haven't been translated yet --- Translations/de.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Translations/de.po b/Translations/de.po index ab23ceff0..61c75c10d 100644 --- a/Translations/de.po +++ b/Translations/de.po @@ -730,13 +730,13 @@ msgstr "" #~ "Verstecke zweite Leinwand" msgid "Image Options" -msgstr "Image Options" +msgstr "" msgid "Default Width:" -msgstr "Default Width" +msgstr "" msgid "Default Height:" -msgstr "Default Height:" +msgstr "" msgid "Default Fill Color:" -msgstr "Default Fill Color:" \ No newline at end of file +msgstr "" From 3041c6b3096163351b7a58017c5f3cdc99339b09 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:18:45 +0200 Subject: [PATCH 10/13] Leave translations blank so people will know that they haven't been translated yet --- Translations/fr.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Translations/fr.po b/Translations/fr.po index 538c8866a..4d2dd5439 100644 --- a/Translations/fr.po +++ b/Translations/fr.po @@ -745,13 +745,13 @@ msgstr "" #~ "Cacher le second canevas" msgid "Image Options" -msgstr "Image Options" +msgstr "" msgid "Default Width:" -msgstr "Default Width" +msgstr "" msgid "Default Height:" -msgstr "Default Height:" +msgstr "" msgid "Default Fill Color:" -msgstr "Default Fill Color:" \ No newline at end of file +msgstr "" From cdc67bc87b3c21ab3f26d37d1c3d46b67cbba73c Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:19:14 +0200 Subject: [PATCH 11/13] Leave translations blank so people will know that they haven't been translated yet --- Translations/pt_BR.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Translations/pt_BR.po b/Translations/pt_BR.po index aa4c95a26..d7a1c1ed3 100644 --- a/Translations/pt_BR.po +++ b/Translations/pt_BR.po @@ -711,13 +711,13 @@ msgid "Take this spot!" msgstr "Peque este lugar!" msgid "Image Options" -msgstr "Image Options" +msgstr "" msgid "Default Width:" -msgstr "Default Width" +msgstr "" msgid "Default Height:" -msgstr "Default Height:" +msgstr "" msgid "Default Fill Color:" -msgstr "Default Fill Color:" \ No newline at end of file +msgstr "" From 8c113b715acc8b4b6a6fcf1823b06e60f4c07e9c Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:19:41 +0200 Subject: [PATCH 12/13] Leave translations blank so people will know that they haven't been translated yet --- Translations/ru.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Translations/ru.po b/Translations/ru.po index 0619a1548..9bf99dc41 100644 --- a/Translations/ru.po +++ b/Translations/ru.po @@ -733,13 +733,13 @@ msgstr "" #~ "Скрыть второй холст" msgid "Image Options" -msgstr "Image Options" +msgstr "" msgid "Default Width:" -msgstr "Default Width" +msgstr "" msgid "Default Height:" -msgstr "Default Height:" +msgstr "" msgid "Default Fill Color:" -msgstr "Default Fill Color:" \ No newline at end of file +msgstr "" From 5ae6f25da0f9cabf21e086d540a1e46926cfb273 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 11 Jan 2020 00:21:20 +0200 Subject: [PATCH 13/13] Provided Greek translations for the new strings --- Translations/el.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Translations/el.po b/Translations/el.po index 15e3d71e9..4f7231ef9 100644 --- a/Translations/el.po +++ b/Translations/el.po @@ -729,13 +729,13 @@ msgstr "Πάρτε αυτή τη θέση!" #~ "Απόκρυψη δεύτερου καμβάf" msgid "Image Options" -msgstr "" +msgstr "Επιλογές εικόνας" msgid "Default Width:" -msgstr "" +msgstr "Προεπιλεγμένο πλάτος:" msgid "Default Height:" -msgstr "" +msgstr "Προεπιλεγμένο ύψος:" msgid "Default Fill Color:" -msgstr "" \ No newline at end of file +msgstr "Προεπιλεγμένο γέμισμα με χρώμα:"