Opened 5 years ago

Last modified 4 months ago

#23 assigned enhancement

Inline Fill Tool

Reported by: ilija.melentijevic Owned by: PulkoMandy
Priority: major Milestone: 2.8
Component: GrafX2 Version: 2.4
Keywords: Cc:

Description

This is an idea for a new tool.

I haven't seen it in any other pixelling program ever but it would be a HUGE time-saver for me.

It would work like this:
You click somewhere on the picture and similar to the fill bucket it would affect the single-coloured area around the pixel you clicked on. It would draw a single-pixel line INSIDE this area using the FG colour. So it would work like the opposite of the brush outline function.

You could also use it for quick outlining without picking a brush first by clicking outside the shape to be outlined.

It could be another state for the fill-bucket button.

I am attaching images to illustrate the behaviour.

Attachments (1)

inlinefill.png (1.3 KB) - added by ilija.melentijevic 5 years ago.

Download all attachments as: .zip

Change History (10)

Changed 5 years ago by ilija.melentijevic

Attachment: inlinefill.png added

comment:1 Changed 5 years ago by DawnBringer

Here you go...

http://hem.bredband.net/ricfha/script/pic_db_floodInline.lua

Assign script to a key.

I've only tested it quickly, but it seem to work fine. Let me know if there's any problems...

comment:2 Changed 5 years ago by ilija.melentijevic

It works! \o/ Thanks!

Does anyone have good suggestion for script shortcuts? I tend to use ctrl+F-keys but that's not too quick to press

comment:3 Changed 5 years ago by DawnBringer

Well, I use Alt-# for most since they are free (I think) and can be entered with one hand; Alt-1 for the Toolbox (can hit that combo blindfolded on my keyboard) and Alt-2 to 6 are various key-only scripts. I also have the adjacent keys Shift-"<" for brush-grab and Ctrl-"<" for brush-grab-remove.

comment:4 Changed 5 years ago by ilija.melentijevic

Good call, ta!

comment:5 Changed 2 years ago by PulkoMandy

Milestone: 2.52.6

comment:6 Changed 2 years ago by PulkoMandy

Owner: changed from Adrien Destugues to PulkoMandy
Status: newassigned

comment:7 Changed 21 months ago by Thomas Bernard

PulkoMandy?: we could add the .lua to the sample directory and mark this ticket as resolved, right ? ;)

comment:8 Changed 17 months ago by PulkoMandy

Milestone: 2.62.7

Move open tickets to 2.7 milestone

comment:9 Changed 4 months ago by PulkoMandy

Milestone: 2.72.8
Note: See TracTickets for help on using tickets.