More todos on the tool:
- we need a better icon for it - icon artists anyone?
- we need a matching b/w mouse cursor for the tool
- we also need some kind of "hourglass" mouse cursor that is displayed as soon as you click on the canvas until the shape creation is finished (it may well be used for some other tools/commands as well)
- we need a toolbar control for setting sensitivity threshold of the flood
- do we decide to call it "Flood tool"? or better "Paintbucket"?
- please add a section to doc/keys.xml describing all the shortcuts of the tool
Also I think we should do the right thing when one drags, not clicks, with this tool. Namely, it should convert the path along which the user dragged into a sequence of points (distanced no farther apart than 1 screen pixel at the current zoom) and make flooding from ALL these points, presenting the combined result. This way, if you have an area filled with some gradient, you just drag _along_ the gradient, and the entire area gets filled without the need to lower sensitivity of the flooding to cover the gradient.