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

2153 commits

Author SHA1 Message Date
Manolis Papadeas
3876c97674 Resizing gizmos with Shift keeps the aspect ratio of the selection
This was harder to implement than I thought. It may need some more testing.
2021-05-08 03:40:28 +03:00
Manolis Papadeas
356ddc0038 Implement moving selections with arrow keys
Moves selection with contents by default.
Control + arrow keys = Moves & snaps selection to grid.
Alt + arrow keys = Moves the selection itself without the contents.
2021-05-07 04:33:28 +03:00
Manolis Papadeas
0c1f839d34 Update CHANGELOG.md 2021-05-06 00:02:15 +03:00
Manolis Papadeas
e75b6e7d67 Made Rectangle Selection and Magic Wand tools work with symmetry 2021-05-04 21:26:04 +03:00
Manolis Papadeas
ea8bfcd25d Remove drawn_rect from Selection.gd and use draw_preview() in RectSelect.gd instead 2021-05-04 19:26:06 +03:00
Manolis Papadeas
5f84629144 Update AboutDialog.gd 2021-05-04 13:57:40 +03:00
Manolis Papadeas
3db2673309 Prepare for v0.8.3-stable 2021-05-04 13:44:06 +03:00
Manolis Papadeas
6203b3a71c Minor UI changes in the tool options of shape tools 2021-05-04 13:26:07 +03:00
Manolis Papadeas
0ba940c886 Implement snap to grid while moving selections and using the Move tool
Mouse click + Ctrl to snap to grid while moving.
2021-05-04 02:45:14 +03:00
Manolis Papadeas
7cbbf4399d Implement Alt + mouse movement to quickly copy & move selection contents without cutting them from their original position 2021-05-03 21:10:49 +03:00
Manolis Papadeas
20275fc465 Snap movement to axis by holding Shift after mouse clicking
Works with the Move tool and with the Selection tools.
2021-05-03 18:33:51 +03:00
Manolis Papadeas
0a35615c24 Added a displace origin option to Rectangle, Ellipse and Rectangle Selection tools
Works with Mouse Click + Alt. Needs to be documented in the tooltips.
2021-05-03 03:11:12 +03:00
Manolis Papadeas
8f846fe04a Fix out of bounds errors with selection intersection 2021-05-03 03:09:32 +03:00
Manolis Papadeas
3ad3697c84 Fix issue with gizmos not working if the user has moved the selection with contents first 2021-05-03 02:08:53 +03:00
Manolis Papadeas
8f1c6bb3d3 Move selection with contents by default with all selection tools
Now, if you want to move the selection itself without its contents, you have to do Ctrl + Alt + Mouse click. Works the same with all selection tools.
2021-05-03 02:00:07 +03:00
Manolis Papadeas
4a1fcc4ca7 Add position and size as selection tool options
This allows the user to easily move and resize selections
2021-05-01 03:10:23 +03:00
Xenofon Konitsas
011aed6004
Update dev-desktop-builds.yml (#476)
* Update dev-desktop-builds.yml

Changed download location for Godot headless binary

* Update dev-desktop-builds.yml

* Update dev-desktop-builds.yml

Replaced curl with wget on headless binary download

* Removed wget installation command

* Update release.yml
2021-04-29 12:42:10 -07:00
Manolis Papadeas
0b3424be80 Make selection tool scenes inherit from SelectionTool.tscn
Useful for them to be able to share common tool options
2021-04-28 04:00:40 +03:00
Manolis Papadeas
708a1ddc20 Organize the selection tool files in a new folder 2021-04-28 03:06:03 +03:00
Manolis Papadeas
b3d581bad4 Create a parent SelectTool script where all selection tools extend from 2021-04-28 02:57:48 +03:00
Manolis Papadeas
4c40d7586c
New Crowdin updates (#468)
* New translations Translations.pot (Hebrew)

* New translations installer.pot (Hebrew)

* New translations Translations.pot (Hebrew)

* New translations installer.pot (Hebrew)

* New translations Translations.pot (Vietnamese)

* New translations Translations.pot (Russian)

* New translations Translations.pot (Hungarian)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (French)

* New translations Translations.pot (Spanish)

* New translations Translations.pot (Afrikaans)

* New translations Translations.pot (Arabic)

* New translations Translations.pot (Catalan)

* New translations Translations.pot (Czech)

* New translations Translations.pot (Danish)

* New translations Translations.pot (German)

* New translations Translations.pot (Greek)

* New translations Translations.pot (Finnish)

* New translations Translations.pot (Hebrew)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (Dutch)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Norwegian)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Portuguese)

* New translations Translations.pot (Serbian (Cyrillic))

* New translations Translations.pot (Swedish)

* New translations Translations.pot (Turkish)

* New translations Translations.pot (Ukrainian)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Chinese Traditional)

* New translations Translations.pot (Vietnamese)

* New translations Translations.pot (Portuguese, Brazilian)

* New translations Translations.pot (Indonesian)

* New translations Translations.pot (Latvian)

* New translations Translations.pot (Hindi)

* New translations Translations.pot (Greek)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (German)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Russian)

* New translations Translations.pot (Dutch)

* New translations Translations.pot (Hindi)

* New translations Translations.pot (Latvian)

* New translations Translations.pot (Indonesian)

* New translations Translations.pot (Portuguese, Brazilian)

* New translations Translations.pot (Vietnamese)

* New translations Translations.pot (Chinese Traditional)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Ukrainian)

* New translations Translations.pot (Turkish)

* New translations Translations.pot (Swedish)

* New translations Translations.pot (Serbian (Cyrillic))

* New translations Translations.pot (Portuguese)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Norwegian)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Hungarian)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Hebrew)

* New translations Translations.pot (Finnish)

* New translations Translations.pot (Greek)

* New translations Translations.pot (German)

* New translations Translations.pot (Danish)

* New translations Translations.pot (Czech)

* New translations Translations.pot (Catalan)

* New translations Translations.pot (Arabic)

* New translations Translations.pot (Afrikaans)

* New translations Translations.pot (Spanish)

* New translations Translations.pot (French)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (German)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (Hindi)

* New translations Translations.pot (Hindi)

* New translations Translations.pot (Russian)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Russian)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (Latvian)

* New translations Translations.pot (Indonesian)

* New translations Translations.pot (Portuguese, Brazilian)

* New translations Translations.pot (Vietnamese)

* New translations Translations.pot (Chinese Traditional)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Ukrainian)

* New translations Translations.pot (Turkish)

* New translations Translations.pot (Swedish)

* New translations Translations.pot (Serbian (Cyrillic))

* New translations Translations.pot (Portuguese)

* New translations Translations.pot (Norwegian)

* New translations Translations.pot (Dutch)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Hungarian)

* New translations Translations.pot (Hebrew)

* New translations Translations.pot (Finnish)

* New translations Translations.pot (Greek)

* New translations Translations.pot (German)

* New translations Translations.pot (Danish)

* New translations Translations.pot (Czech)

* New translations Translations.pot (Catalan)

* New translations Translations.pot (Arabic)

* New translations Translations.pot (Afrikaans)

* New translations Translations.pot (Spanish)

* New translations Translations.pot (French)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Hindi)

* New translations Translations.pot (Esperanto)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Romanian)

* New translations Translations.pot (Italian)

* New translations Translations.pot (Russian)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Chinese Simplified)

* New translations Translations.pot (Japanese)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Polish)

* New translations Translations.pot (Korean)

* New translations Translations.pot (Greek)
2021-04-27 07:54:51 -07:00
Manolis Papadeas
f686f5dc63 Update CHANGELOG & export_presets 2021-04-26 01:23:25 +03:00
Manolis Papadeas
d9c79ea871 [CI - macOS] Remove the -size parameter from the hdiutil command 2021-04-25 19:35:38 +03:00
Manolis Papadeas
3a2560f636 [CI] Bump Godot's version to 3.3 for macOS binaries 2021-04-25 15:52:32 +03:00
Manolis Papadeas
a7cec3424a Restore project brush creation when copying 2021-04-24 14:50:36 +03:00
Manolis Papadeas
320c538bc3 Add enter and escape as input actions 2021-04-23 23:47:42 +03:00
Manolis Papadeas
afd7cc43c9 Rename move_content methods to transform_content 2021-04-23 23:37:07 +03:00
Manolis Papadeas
83d9800fc1 Fix selection being moved by one pixel when being resized & temp_rect has negative size 2021-04-23 19:18:41 +03:00
Manolis Papadeas
ae48907660 Bump version to v0.9-dev and use Godot 3.3 in GitHub Actions 2021-04-23 18:31:12 +03:00
Manolis Papadeas
64cb2bfbff Update the tool icons 2021-04-22 20:52:22 +03:00
Manolis Papadeas
4412671a08 Add selection intersection with Ctrl + Shift + Mouse click 2021-04-22 18:12:45 +03:00
Manolis Papadeas
ecdf689afd Add 1:1 rectangle tool creation and expanding from click position as its center
Works similar to the rectangle & ellipse drawing tools. Shift for 1:1, Ctrl for expanding from center.

Shift + mouse click = add to selection
Ctrl + mouse click = subtract from selection
Mouse click + Shift = Create a 1:1 (square) selection
Mouse click + Ctrl = Create a selection that expands from center
Mouse click + Shift + Ctrl = Create a 1:1 (square) selection that expands from center

A combination like Shift + Mouse Click + Shift will add to selection while also making a 1:1 selection
2021-04-22 16:45:26 +03:00
Manolis Papadeas
58ef2420c9 Fix issue when resizing selection after moving it 2021-04-22 03:50:16 +03:00
Manolis Papadeas
687f2619a1 Change the order of the top menus 2021-04-22 03:34:04 +03:00
Manolis Papadeas
28cfe9bf77 Got rid of the deprecated enabled_focus_mode
Godot 3.3 has arrived!
2021-04-22 02:11:35 +03:00
Manolis Papadeas
dbda57396b Fix selection_offset not being reset to 0 when the bitmap's position is back to positive coordinates 2021-04-21 18:22:43 +03:00
Manolis Papadeas
515e75f3dd Gizmos resizing no longer re-flips the image when temp_rect is negative 2021-04-21 18:16:42 +03:00
Manolis Papadeas
b420bebb3e Fix gizmos being able to get edited when there is no selection 2021-04-21 17:35:37 +03:00
Darshan Phaldesai
dca76afe17
Shader based invert, desaturate and HSV dialogs (#475)
* Shader based invert, desaturate and HSV dialogs

* Bug fixes
2021-04-21 05:31:33 -07:00
Manolis Papadeas
a712f822d7 Fixed bug when copying while moving content 2021-04-21 15:25:17 +03:00
Manolis Papadeas
3852b419dd Image effects will not longer get applied to locked and/or hidden layers. 2021-04-21 00:48:36 +03:00
Manolis Papadeas
ea606a072a Make layers uneditable when they're invisible 2021-04-21 00:12:05 +03:00
Manolis Papadeas
d70c6a22c4 New tool: Magic Wand (temporary icon) 2021-04-20 15:53:16 +03:00
Manolis Papadeas
f1b98f662e Call move_content_confirm() when layers and frames change 2021-04-19 19:55:29 +03:00
Manolis Papadeas
1d5b44fad2 Fix Copy & Delete to work on the currently selected parts of the image
This also fixed a crash when deleting while content is being moved/resized
2021-04-19 19:05:05 +03:00
Manolis Papadeas
fccd37360a New tool: Select by Color (temporary icon)
When the user clicks on a pixel, all pixels of the same color are being selected. Shift adds to the selection, Ctrl subtracts. The icon and the hint tooltip are temporary.
2021-04-19 18:50:43 +03:00
Manolis Papadeas
dd2bec4c19 Pasting does not directly paste on the canvas, it is now confirmable instead
This lets the user easily cancel the pasting and move just the pasted area around.
2021-04-19 14:39:58 +03:00
Manolis Papadeas
baba43d274 Change the way of how tool icon blue-orange backgrounds work
Instead of having a gazillion icons for each tool and its blue-orange variations, which led us to create 4 different textures for each tool, now we only need one texture for each tool and each theme. The blue-orange background has been made into a different TextureRect for each button.

This makes it easier for people to create new tools. Now, each new tool requires 3 textures (to cover every theme), instead of 12(!). I'm hoping to bring the number down to 1 in a future commit, by automating the theme color converting process.
2021-04-18 15:36:08 +03:00
Manolis Papadeas
b735bc760f Optimize Project.get_selection_rectangle
It doesn't call bitmap_to_image() anymore.
2021-04-18 15:26:15 +03:00
Manolis Papadeas
38711d2ccf Fix HTML5 shader issue
The MarchingAntsOutline was failing to compile on the Web platform due to the for loop not having constant expressions inside the shader. "Loop index cannot be initialized with non-constant expression"
2021-04-17 22:33:13 +03:00