Magic tools can now be both painted and full-image.
Negative tool now does this.
This commit is contained in:
parent
8c6fbb8cf5
commit
472692fbab
38 changed files with 453 additions and 79 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/* tp_magic_example.c
|
||||
|
||||
An example of a "Magic" tool plugin for Tux Paint
|
||||
Last modified: 2008.07.07
|
||||
Last modified: 2008.07.08
|
||||
*/
|
||||
|
||||
|
||||
|
|
@ -282,6 +282,17 @@ int example_requires_colors(magic_api * api, int which)
|
|||
}
|
||||
|
||||
|
||||
// Report what modes we work in
|
||||
|
||||
int example_modes(magic_api * api, int which)
|
||||
{
|
||||
// Both of our tools are painted (neither affect the full-screen),
|
||||
// so we're always returning 'MODE_PAINT'
|
||||
|
||||
return MODE_PAINT;
|
||||
}
|
||||
|
||||
|
||||
// Shut down
|
||||
//
|
||||
// Tux Paint is quitting. When it quits, it asks all of the plugins
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue