1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-22 13:33:13 +00:00
Commit graph

207 commits

Author SHA1 Message Date
luiq54
73891af597 Brush Selection Fix 2020-04-17 22:33:52 +05:30
OverloadedOrama
4068330e26 Improved "Fit to Frame" button
Also set the default mode for the right zoom tool to zoom out.
2020-04-16 18:34:57 +03:00
Manolis Papadeas
88dff6cf46
Merge pull request #203 from novhack/preferences-cleanup
Cleanup preference dialog
2020-04-16 18:12:04 +03:00
novhack
bfbe76ab79 Cleanup preference dialog visuals a little bit. Add missing hints. 2020-04-15 19:44:34 +02:00
OverloadedOrama
4e33775c84 Fixed bug where the user could drag the guides when the canvas had no focus 2020-04-15 19:54:59 +03:00
Manolis Papadeas
f27a3be6ae
Merge pull request #199 from luiq54/devel
Added HSV Adjust Dialog
2020-04-15 16:05:44 +03:00
luiq54
8fdeb63778 Fix minor bugs and cleanup 2020-04-15 15:19:29 +05:30
OverloadedOrama
ab6e1bc384 Fixed issue with undo/redo selecting the Zoom tool
If undo, redo or redo_secondary are pressed, no tool won't be selected.
2020-04-14 17:03:16 +03:00
luiq54
2b8796aacc Added HSV Adjust Dialog 2020-04-13 20:49:28 +05:30
OverloadedOrama
bdd3cdf45e Improved the "fit to frame" zoom button
The resulting camera zoom now depends on the window size. More specifically, the main viewport's x size. This formula is purely trial-and-error, and it may not work perfectly, or properly for some screen sizes.

If anyone wants to improve it, feel free to do so!
2020-04-13 16:39:18 +03:00
OverloadedOrama
21dd3f2e2d Added a zoom tool
Makes it easier to zoom for people with tablets and touch screens in general
2020-04-13 05:07:52 +03:00
sapient_cogbag
516723d125
Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama into xdg-standard
Getting ourselves up to date with upstream for easy merge! nya ^.^
2020-04-11 23:38:53 +01:00
sapient_cogbag
efa0529360
Made the brush XDG overrides work properly\!, and consequently it works as-if the randomised brushes are separated out from all the other brushes in directories nyaaaa ^.^ 2020-04-11 23:36:58 +01:00
OverloadedOrama
ba8d01333e Changed hint_tooltips for the tool buttons, they now change based on selected keybindings 2020-04-12 00:08:45 +03:00
OverloadedOrama
d0c4fbc6eb Made some UI changes to the tool options 2020-04-11 18:45:32 +03:00
OverloadedOrama
3f1c81ac13 Fixed crash when creating a new image and a layer had opacity less than 100%
Caused in CreateNewImage.gd, Global.current_layer = 0 should be under Global.canvas gets set to a new canvas, and after its _ready() method gets executed. The crash occurred when a layer above 0 had transparency less than 100, and a new image was created. _on_OpacitySlider_value_changed() in AnimationTimeline.gd was executed on the old canvas right before it was destroyed, while Global.layers had been cleared.

Also removed _on_OpacitySlider_value_changed() from Main.gd, it served no purpose there.
2020-04-11 05:36:51 +03:00
novhack
237b8c1507 Move open/save related code to a separate file. 2020-04-09 22:54:05 +02:00
novhack
e6233a37d5 Add shortcuts binding to preferences. 2020-04-08 00:57:37 +02:00
OverloadedOrama
6056ff4857 Changed which tool options are visible for when each tool is selected 2020-04-08 00:43:43 +03:00
OverloadedOrama
83188a54d9 When the palette, outline and rotate image dialogs are open, the user can't zoom in the canvas anymore. 2020-04-07 18:13:35 +03:00
OverloadedOrama
f5ab5c3987 Frame tags are saved in .pxos
And are also cleared on clear_canvases()
2020-04-07 00:23:30 +03:00
OverloadedOrama
4bfe199cf0 Changed default and min window sizes
The new default window size is 1280x720, and the new minimum window size is 1024x576.
2020-04-05 00:45:19 +03:00
OverloadedOrama
30e8522677 Set Global.saved = true when creating a new image 2020-04-02 15:28:47 +03:00
luiq54
dee0d0696d Add WarningDialog for unsaved Image before creating a new Image 2020-04-02 15:26:26 +05:30
OverloadedOrama
e072b95727 Pattern filling - Partially addresses #130
If the user chooses a brush that is not the pixel or a circle brush and uses the bucket tool, the brush image is used as a pattern that fills the area.
2020-03-28 05:15:09 +02:00
OverloadedOrama
61c4ea7aa1 Major UI changes in Main.tscn
More changes will happen
2020-03-27 03:40:23 +02:00
OverloadedOrama
d974d3f76a Implemented Esperanto 2020-03-25 04:42:03 +02:00
novhack
169efa29d5 Replace ExportSprites with a new ExportDialog. 2020-03-23 23:09:37 +01:00
OverloadedOrama
a60efccbfd Added a boolean to check if new frames will be linked and an array of linked frames to Global.layers
This doesn't add any new functionality right now
2020-03-14 21:40:10 +02:00
Marco
54ed08357d LineEdit release focus on Enter key pressed 2020-03-13 19:51:39 +01:00
OverloadedOrama
550da1e961 Can't delete and apply effects to locked layers
By effects I mean the selections of the Image menu
2020-03-10 01:42:50 +02:00
OverloadedOrama
87b22e7d6d Fixed crash when loading a .pxo file from an earlier version 2020-03-09 21:22:25 +02:00
OverloadedOrama
7a008cfc3f Implemented locking/unlocking layers
When a layer is locked, no changes can be made to it.
2020-03-09 03:26:13 +02:00
OverloadedOrama
1e5c674673 Fixed spacing between some comments 2020-03-09 02:17:49 +02:00
OverloadedOrama
0619d0e1ad Opening and saving .pxo file should now work
This should be all of the functionality restored. This commit makes the branch stable, in theory.
2020-03-07 16:43:28 +02:00
OverloadedOrama
2f07259389 Importing PNGs should now work 2020-03-07 16:43:27 +02:00
OverloadedOrama
18356d4408 UndoRedo and Image effects work per layer
Basically just replaced Global.canvas.current_layer_index with Global.current_layer
2020-03-07 16:43:23 +02:00
OverloadedOrama
60aed9efba Use setter method for layers to update the UI
Instead of updating it in undo and redo methods
2020-03-07 16:43:22 +02:00
OverloadedOrama
a2893e1c1c Store layer visibility on Global.layers instead
This way, toggling visibility in a layers works for all frames in that layer.
2020-03-07 16:43:19 +02:00
OverloadedOrama
953d002d91 [EXPERIMENTAL] Re-making the timeline
Trying to merge layers into the timeline, and eventually add more features like "share layer with all frames", among others. THIS IS NOT FINISHED, IT WILL *NOT* WORK PROPERLY. Once it is finished, this branch will be merged onto master.

So far only add layer and add frame work, and even they may have some issues. Undoing also does not work properly yet.

The UI is also not finished, as it currently has problems with the scroll containers.
2020-03-07 16:43:17 +02:00
OverloadedOrama
5a44f3f4d5 Use a different dialog for when quitting while there is unsaved progress
It now also works when quitting from File > Quit (or Control + Q)
2020-02-23 02:11:52 +02:00
OverloadedOrama
105d612fcd Changed quit message when there is unsaved progress
Also, when saving on quit, Pixelorama now actually quits after the user saves.
2020-02-23 00:52:51 +02:00
OverloadedOrama
40d1da66c8 Add "(*)" to the window title when file is not saved 2020-02-22 17:32:16 +02:00
OverloadedOrama
eab3669eb2 Use new window_title variable to change window's title
Will be used later to get the current window title. Godot doesn't seem to have a built-in way to get the window's title.
2020-02-22 17:21:52 +02:00
OverloadedOrama
52fa460876 Saved is false after any action and is true at the beginning
Also hide QuitDialog after saving
2020-02-22 17:14:32 +02:00
Schweini07
3ea3bd7b40
Ask for Confirmation when Pixelorama is about to quit and the Sprite is unsaved (#165) 2020-02-22 17:02:56 +02:00
OverloadedOrama
f0c0176080 Fixed issue where splash screen was appearing even though it should not 2020-02-19 01:13:29 +02:00
OverloadedOrama
b656d4976b Commit from which v0.6.2 will be build on - hopefully 2020-02-17 16:38:24 +02:00
OverloadedOrama
30ce04b7f3 Set SaveSprite's current path when opening a project 2020-02-16 18:18:12 +02:00
OverloadedOrama
5a5484d4e0 Merge branch 'master' of https://github.com/Orama-Interactive/Pixelorama 2020-02-16 15:19:43 +02:00