Created ColorAndToolOptions script and scene

Removed the tool option signals from Main.gd and put them to ColorAndToolOptions.gd. Instead of having 2 methods for left and right, they are now in one method, using a boolean to differentiate between left and right.
This commit is contained in:
OverloadedOrama 2020-05-19 03:51:16 +03:00
parent c1db72865f
commit 1e114d6f4f
8 changed files with 1201 additions and 1277 deletions

View file

@ -346,8 +346,8 @@ window_title = "Open a Directory"
resizable = true
mode = 2
access = 2
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 = "C:/Users"
current_path = "C:/Users/"
[node name="PathValidationAlert" type="AcceptDialog" parent="Popups"]
margin_left = 8.0

View file

@ -2,8 +2,6 @@
[ext_resource path="res://src/UI/Dialogs/ImportSprites.gd" type="Script" id=1]
[node name="ImportSprites" type="FileDialog"]
margin_right = 515.0
margin_bottom = 348.0
@ -12,8 +10,8 @@ resizable = true
mode = 1
access = 2
filters = PoolStringArray( "*.bmp ; BMP Image", "*.hdr ; Radiance HDR Image", "*.jpg,*.jpeg ; JPEG Image", "*.png ; PNG Image", "*.svg ; SVG Image", "*.tga ; TGA Image", "*.webp ; WebP Image" )
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 = "C:/Users"
current_path = "C:/Users/"
script = ExtResource( 1 )
[node name="HBoxContainer2" type="HBoxContainer" parent="."]