On Tue, Jul 08, 2008 at 07:53:52PM -0700, Bill Kendrick wrote:
> Tux Paint's Magic tools now have _modes() functions, which act
> similar to the "_requires_colors()" function. It tells Tux Paint what
> mode(s) the tool can work in.
Furthermore, "_get_description()" is now given a 'mode' value
(and called that many more times, if your plugin's tool(s) supports
more than one tool).
This lets your tool have diff. descriptions depending on the mode
(i.e., "Click and drag to ..." vs. "Click to ... the entire picture.")