From 5f08467c83f1d1b0c53032b83796f646af12d492 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Thu, 30 Aug 2018 01:23:31 -0700 Subject: [PATCH] Added new MODE_...'s to magic tool docs Added documentation for "MODE_ONECLICK" and "MODE_PAINT_WITH_PREVIEW", which were added to Tux Paint magic API 0x00000003 in Tux Paint 0.9.22) to Tux Paint magic tool development docs. --- magic/docs/html/README.html | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/magic/docs/html/README.html b/magic/docs/html/README.html index 6523caee7..a83ffa026 100644 --- a/magic/docs/html/README.html +++ b/magic/docs/html/README.html @@ -9,13 +9,10 @@ alink="#FF00FF">

Creating Tux Paint Magic Tool Plugins

-

Copyright 2007-2008 by Bill Kendrick and others
-New Breed Software

- -

bill@newbreedsoftware.com
+

Copyright 2007-2018 by various contributors; see AUTHORS.txt
http://www.tuxpaint.org/

-

July 5, 2007 - July 19, 2008

+

July 5, 2007 - August 30, 2018


@@ -315,15 +312,17 @@ then the names of your functions must begin with "zoom_"
  • int modes(magic_api * api, int which)
    - This lets you tell Tux Paint what modes your tool can be used in - (either as a tool the user can paint with, or a tool that affects - the entire drawing at once)
    + This lets you tell Tux Paint what modes your tool can be used in; + either as a tool the user can paint with, or a tool that affects + the entire drawing at once.

    You must return a value that's some combination of one or more of available modes: e.g., if your tool is only one that the user can paint with, return "MODE_PAINT". If the user can do both,