[Tuxpaint-devel] Magic API updated: modes (paint vs. entire-image)
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2008-07-09 02:53:43
|
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. The current options are simply: MODE_PAINT MODE_FULLSCREEN and, of course, both: MODE_PAINT | MODE_FULLSCREEN Users are presented with two buttons, below the scroling list of tools, one for each of these modes. (One or the other appears greyed out if your Magic tool only supports one mode. "Flowers", for example, will only ever do MODE_PAINT, I think.) I expanded the "Negative" tool to utilize this new feature. A number of other tools could benefit, too. For simplifyng the UI for younger kids, you can use "--nomagiccontrols" (or "nomagiccontrols=yes" in the config file.) (I still need to add an option to control this feature in Tux Paint Config.) It's in CVS. Enjoy! -- -bill! "Tux Paint" - free children's drawing software for Windows / Mac OS X / Linux! Download it today! http://www.tuxpaint.org/ |