Elevate "Fill" from Magic Tool to real Tool

Replace the somewhat-recently-added "nothing" item in the tool bar
with the "Fill" tool, which has been converted back from a Magic tool
to a regular tool.

Also, change bash "==" to sh "=" in "if [ ... ]" tests in Makefile.

Also, link to math library (via "-lm") to make sure "max()" is available to
magic tools.

Also, add missing mention of "--newcolorslast" and "--newcolorsfirst" to manpage.
This commit is contained in:
Bill Kendrick 2019-09-12 23:04:13 -07:00
parent d79173eae4
commit 2911b35a50
15 changed files with 295 additions and 304 deletions

View file

@ -6,7 +6,7 @@
Copyright 2002-2019 by various contributors; see AUTHORS.txt
http://www.tuxpaint.org/
June 14, 2002 - April 3, 2019
June 14, 2002 - September 12, 2019
----------------------------------------------------------------------
@ -375,6 +375,16 @@ Available Tools
left [Alt]
* Thai — right [Alt]
----------------------------------------------------------------------
Fill
The 'Fill' tool 'flood-fills' a contiguous area of your
drawing with a solid color of your choice.
Note: Prior to Tux Paint 0.9.24, this was a "Magic" tool
(see below).
----------------------------------------------------------------------
Magic (Special Effects)

View file

@ -22,7 +22,7 @@ version
<p>June 14, 2002 -
April 3, 2019</p>
September 12, 2019</p>
</center>
@ -507,6 +507,17 @@ version
<hr size=1>
</dd>
<dt><b>Fill</b></dt>
<dd>
<img src="../../html/images/tool_fill.png" width=48 height=48 alt="" align=right>
<p>The 'Fill' tool 'flood-fills' a contiguous area of your drawing
with a solid color of your choice.</p>
<p>Note: Prior to Tux&nbsp;Paint 0.9.24, this was a "Magic" tool (see below).</p>
<hr size=1>
</dd>
<dt><b>Magic (Special Effects)</b></dt>
<dd>