sile / pixcil

Pixel art editor
Apache License 2.0
70 stars 3 forks source link

[Feature Request] Classic Macintosh style "toggle" pen #10

Open gingerbeardman opened 1 month ago

gingerbeardman commented 1 month ago

Request

So, this is a pen that operates with XOR function.

Benefits

Example

Try it yourself I added this as the default tool in my build of Piskel: https://github.com/gingerbeardman/piskel-playdate

sile commented 1 month ago

Thank you for your feature request.

This feature sounds useful. However, the current version of Pixcil does not have a concept of a "2nd colour." Implementing this feature could require considerable work, especially in terms of UI design. (I want to design this tool with minimal features and UI, while maintaining maximum convenience.)

I will review this feature in more detail when I have the time, possibly within this month.

gingerbeardman commented 1 month ago

No worries, it would be worthwhile (at least for me) if it was a toggle pen for one colour and transparent.

ephetic commented 1 month ago

Maybe not as old a resEdit, but I remember pencil tools that defaulted to erase if you started on a drawn pixel. That might catch me off guard sometimes, but a hotkey toggle would be good. Are there hotkeys for the tools now? I noticed that the line and shape tools got removed. It'd be nice if holding shift toggled the line mode back in.

sile commented 1 month ago

Are there hotkeys for the tools now?

No, but I'm not negative to implementing a hotkey feature. Are there any references for well-known hotkey mappings?

I noticed that the line and shape tools got removed. It'd be nice if holding shift toggled the line mode back in.

Okay. I feel that the previous UI wasn’t very intuitive, so I plan to redesign the interface to better support multiple drawing modes before reintroducing the tools.

ephetic commented 1 month ago

I'm not sure if there is a standard for hotkeys, but it's often like (p)encil or (b)rush, (e)raser, (s)elect, (f)ill or (b)ucket, but I've never loved those because they're spread all over the place. My preference would be to have them all on the left side of the keyboard, but not everyone uses the same layout, so I'd think the way to go would be:

sile commented 1 month ago

I see. Thank you. Making it configurable seems like a good idea.

gingerbeardman commented 1 month ago

Photoshop keys are what I would expect (even though it's decades since I used it, these keys are prevalent across apps)

zoom tool = z zoom in = cmd + zoom out = cmd - eye dropper = i pencil = b fill = g eraser = e wand = w move/hand = h (or hold space for temporary toggle)

https://helpx.adobe.com/uk/photoshop-elements/using/keys-selecting-tools.html

Piskel has them user-configurable.