Add missing Fretwork magic tool docs

This commit is contained in:
Bill Kendrick 2021-09-20 22:42:45 -07:00
parent 8f31459990
commit 0ed588521f
8 changed files with 38 additions and 3 deletions

View file

@ -4,7 +4,7 @@
# Various contributors (see AUTHORS.txt) # Various contributors (see AUTHORS.txt)
# http://www.tuxpaint.org/ # http://www.tuxpaint.org/
# June 14, 2002 - September 17, 2021 # June 14, 2002 - September 20, 2021
# The version number, for release: # The version number, for release:
@ -15,7 +15,7 @@ ifdef SOURCE_DATE_EPOCH
else else
VER_DATE=$(shell date "+%Y-%m-%d") VER_DATE=$(shell date "+%Y-%m-%d")
endif endif
MAGIC_API_VERSION:=0x00000004 MAGIC_API_VERSION:=0x00000005
# Need to know the OS # Need to know the OS

View file

@ -36,6 +36,10 @@ $Id$
* Other Improvements: * Other Improvements:
------------------- -------------------
* WIP - Group Magic tools into sub-sections.
(Closes https://sourceforge.net/p/tuxpaint/feature-requests/201/)
Note: Bumps `TP_MAGIC_API_VERSION` to 0x00000005.
* Rotational brushes now supported. Unlike "directional" * Rotational brushes now supported. Unlike "directional"
brushes, in which a 3x3 grid representing the 8 cardinal brushes, in which a 3x3 grid representing the 8 cardinal
directions (45 degree steps) is used, only a single brush image directions (45 degree steps) is used, only a single brush image

View file

@ -0,0 +1,5 @@
Tux Paint "Magic" Tool: Fretwork
By Pere Pujal i Carabantes <pere@fornol.no-ip.org>
Draw an interlaced decorative design that looks like wooden fretwork.

View file

@ -0,0 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body><html><head><title>Tux Paint "Magic" Tool: Fretwork</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000" alink="#FF00FF">
<h1 align="center">Tux Paint "Magic" Tool: Fretwork</h1>
<h2 align="center">By Pere Pujal i Carabantes &lt;<a href="mailto:pere@fornol.no-ip.org">pere@fornol.no-ip.org</a>&gt;</h2>
<p>Draw an interlaced decorative design that looks like wooden fretwork.</p>
</body></html>

View file

@ -26,6 +26,7 @@
<li><a href="flower.html">Flower</a></li> <li><a href="flower.html">Flower</a></li>
<li><a href="foam.html">Foam</a></li> <li><a href="foam.html">Foam</a></li>
<li><a href="fold.html">Fold</a></li> <li><a href="fold.html">Fold</a></li>
<li><a href="fretwork.html">Fretwork</a></li>
<li><a href="glass_tile.html">Glass Tile</a></li> <li><a href="glass_tile.html">Glass Tile</a></li>
<li><a href="grass.html">Grass</a></li> <li><a href="grass.html">Grass</a></li>
<li><a href="halftone.html">Halftone</a></li> <li><a href="halftone.html">Halftone</a></li>

View file

@ -22,6 +22,7 @@
* Flower * Flower
* Foam * Foam
* Fold * Fold
* Fretwork
* Glass Tile * Glass Tile
* Grass * Grass
* Halftone * Halftone

View file

@ -5,7 +5,7 @@ individual HTML files for each of them, and an index.html that links to
them all. */ them all. */
/* Bill Kendrick <bill@newbreedsoftware.com> */ /* Bill Kendrick <bill@newbreedsoftware.com> */
/* Oct. 8, 2009 - September 6, 2021 */ /* Oct. 8, 2009 - September 20, 2021 */
/* Authors of the Magic tools: */ /* Authors of the Magic tools: */
@ -145,6 +145,10 @@ $tools = array(
'desc'=>'Click a corner of your picture and drag towards the center to fold it up like a piece of paper.', 'desc'=>'Click a corner of your picture and drag towards the center to fold it up like a piece of paper.',
'author'=>array($AUTHOR_ADAMR, $AUTHOR_KENDRICK, $AUTHOR_PERE)), 'author'=>array($AUTHOR_ADAMR, $AUTHOR_KENDRICK, $AUTHOR_PERE)),
array('name'=>'Fretwork',
'desc'=>'Draw an interlaced decorative design that looks like wooden fretwork.',
'author'=>$AUTHOR_PERE),
array('name'=>'Glass Tile', array('name'=>'Glass Tile',
'desc'=>'Click and drag over your picture to make it look like it\'s being seen through glass tiles.', 'desc'=>'Click and drag over your picture to make it look like it\'s being seen through glass tiles.',
'author'=>$AUTHOR_KENDRICK), 'author'=>$AUTHOR_KENDRICK),

View file

@ -168,5 +168,16 @@ typedef struct magic_api_t {
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) #define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#endif /* ATTRIBUTE_UNUSED */ #endif /* ATTRIBUTE_UNUSED */
/* Pre-defined Magic tool grouping codes */
enum {
MAGIC_TYPE_DISTORTS,
MAGIC_TYPE_COLOR_FILTERS,
MAGIC_TYPE_PICTURE_WARPS,
MAGIC_TYPE_PAINTING,
MAGIC_TYPE_PATTERN_PAINTING,
MAGIC_TYPE_PICTURE_DECORATIONS,
MAGIC_TYPE_ARTISTIC
};
#endif #endif