Merge pull request #143 from azagaya/master

Added 2 rotation algorithms and popup for rotating current layer
This commit is contained in:
Manolis Papadeas 2020-02-04 18:14:32 +02:00 committed by GitHub
commit c4229e1759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 359 additions and 9 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=64 format=2]
[gd_scene load_steps=65 format=2]
[ext_resource path="res://Themes & Styles/Dark Theme/Dark Theme.tres" type="Theme" id=1]
[ext_resource path="res://Scripts/Main.gd" type="Script" id=2]
@ -53,6 +53,7 @@
[ext_resource path="res://Prefabs/EditPalettePopup.tscn" type="PackedScene" id=51]
[ext_resource path="res://Prefabs/NewPaletteDialog.tscn" type="PackedScene" id=52]
[ext_resource path="res://Prefabs/PaletteImportFileDialog.tscn" type="PackedScene" id=53]
[ext_resource path="res://Prefabs/Dialogs/RotateImage.tscn" type="PackedScene" id=54]
[sub_resource type="InputEventKey" id=1]
scancode = 88
@ -1401,17 +1402,18 @@ columns = 5
[node name="SplashDialog" parent="." instance=ExtResource( 43 )]
[node name="CreateNewImage" parent="." instance=ExtResource( 44 )]
window_title = "Confirmá, por favor..."
[node name="OpenSprite" type="FileDialog" parent="."]
margin_right = 515.0
margin_bottom = 348.0
window_title = "Open a File"
window_title = "Abrir un Archivo"
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/azagaya/Documentos/VJ/Pixelorama"
current_path = "/home/azagaya/Documentos/VJ/Pixelorama/"
[node name="SaveSprite" type="FileDialog" parent="."]
anchor_left = 0.5
@ -1426,12 +1428,17 @@ 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/azagaya/Documentos/VJ/Pixelorama"
current_path = "/home/azagaya/Documentos/VJ/Pixelorama/"
[node name="ImportSprites" parent="." instance=ExtResource( 45 )]
window_title = "Abrir Archivo(s)"
current_dir = "/home/azagaya/Documentos/VJ/Pixelorama"
current_path = "/home/azagaya/Documentos/VJ/Pixelorama/"
[node name="ExportSprites" parent="." instance=ExtResource( 46 )]
current_dir = "/home/azagaya/Documentos/VJ/Pixelorama"
current_path = "/home/azagaya/Documentos/VJ/Pixelorama/"
[node name="ScaleImage" parent="." instance=ExtResource( 47 )]
@ -1439,12 +1446,14 @@ current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρι
[node name="OutlineDialog" parent="." instance=ExtResource( 49 )]
visible = false
window_title = "Confirmá, por favor..."
[node name="AboutDialog" parent="." instance=ExtResource( 50 )]
[node name="QuitDialog" type="ConfirmationDialog" parent="."]
margin_right = 200.0
margin_bottom = 70.0
window_title = "Confirmá, por favor..."
resizable = true
dialog_text = "QUIT_LABEL"
@ -1460,15 +1469,19 @@ visible = false
[node name="NewPaletteDialog" parent="." instance=ExtResource( 52 )]
[node name="PaletteImportFileDialog" parent="." instance=ExtResource( 53 )]
window_title = "Abrir un Archivo"
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/azagaya/Documentos/VJ/Pixelorama"
current_path = "/home/azagaya/Documentos/VJ/Pixelorama/"
[node name="LeftCursor" type="Sprite" parent="."]
visible = false
[node name="RightCursor" type="Sprite" parent="."]
visible = false
[node name="RotateImage" parent="." instance=ExtResource( 54 )]
visible = false
[connection signal="pressed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorButtonsVertical/ColorSwitchCenter/ColorSwitch" to="." method="_on_ColorSwitch_pressed"]
[connection signal="color_changed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorButtonsVertical/ColorPickersCenter/ColorPickersHorizontal/LeftColorPickerButton" to="." method="_on_LeftColorPickerButton_color_changed"]
[connection signal="popup_closed" from="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/ColorButtonsVertical/ColorPickersCenter/ColorPickersHorizontal/LeftColorPickerButton" to="." method="_can_draw_true"]