Opened 7 years ago

Last modified 21 months ago

#23 assigned enhancement

Inline Fill Tool

Reported by: ilija.melentijevic Owned by: PulkoMandy
Priority: major Milestone: 2.9
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 7 years ago.

Download all attachments as: .zip

Change History (11)

by ilija.melentijevic, 7 years ago

Attachment: inlinefill.png added

comment:1 by DawnBringer, 7 years ago

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 by ilija.melentijevic, 7 years ago

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 by DawnBringer, 7 years ago

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 by ilija.melentijevic, 7 years ago

Good call, ta!

comment:5 by PulkoMandy, 5 years ago

Milestone: 2.52.6

comment:6 by PulkoMandy, 5 years ago

Owner: changed from Adrien Destugues to PulkoMandy
Status: newassigned

comment:7 by Thomas Bernard, 4 years ago

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

comment:8 by PulkoMandy, 4 years ago

Milestone: 2.62.7

Move open tickets to 2.7 milestone

comment:9 by PulkoMandy, 3 years ago

Milestone: 2.72.8

comment:10 by PulkoMandy, 21 months ago

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