get_description() gets mode, so tools can provide diff. instructions.

This commit is contained in:
William Kendrick 2008-07-09 04:37:08 +00:00
parent c9dfc4d1d8
commit 2e5508842f
32 changed files with 102 additions and 50 deletions

View file

@ -27,6 +27,14 @@ $Id$
* Added "_modes()" function to Magic tool API, so Magic tool plugins
can tell Tux Paint what modes it accepts, 'paint' or 'fullscreen'.
* "_click()" function is now given a 'mode' value, corresponding to the
mode the current tool is in.
* "_get_description()" function is now given a 'mode' value, and is
called once for each mode a particular tool claims to support.
(e.g., "which=0,mode=MODE_PAINT", then "which=1,mode=MODE_PAINT",
then "which=1,mode=MODE_FULLSCREEN")
* "Paint" and "Fullscreen" control buttons added to Magic tool
selector UI. Can be disabled with "--nomagiccontrols".