Fixed command-line options for disable/enable Label tool.
Added config-file option for disable/enable Label tool. Documented options to disable/enable Label tool.
This commit is contained in:
parent
a90f2548dc
commit
59fc4cacb0
4 changed files with 39 additions and 6 deletions
|
|
@ -9,7 +9,7 @@ Options Documentation
|
||||||
bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
http://www.tuxpaint.org/
|
http://www.tuxpaint.org/
|
||||||
|
|
||||||
July 1, 2009
|
October 3, 2009
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
@ -357,6 +357,10 @@ Windows Users
|
||||||
the controls, and only provides the default functionality
|
the controls, and only provides the default functionality
|
||||||
(usually paint-mode).
|
(usually paint-mode).
|
||||||
|
|
||||||
|
nolabel=yes
|
||||||
|
Disables the Label tool: the tool that allows text entry which
|
||||||
|
can be edited later.
|
||||||
|
|
||||||
mirrorstamps=yes
|
mirrorstamps=yes
|
||||||
|
|
||||||
For stamps that can be mirrored, this option sets them to
|
For stamps that can be mirrored, this option sets them to
|
||||||
|
|
@ -742,6 +746,7 @@ Windows Users
|
||||||
--nostamps
|
--nostamps
|
||||||
--nostampcontrols
|
--nostampcontrols
|
||||||
--nomagiccontrols
|
--nomagiccontrols
|
||||||
|
--nolabel
|
||||||
--sysfonts
|
--sysfonts
|
||||||
--alllocalefonts
|
--alllocalefonts
|
||||||
--mirrorstamps
|
--mirrorstamps
|
||||||
|
|
@ -784,6 +789,7 @@ Windows Users
|
||||||
--stamps
|
--stamps
|
||||||
--stampcontrols
|
--stampcontrols
|
||||||
--magiccontrols
|
--magiccontrols
|
||||||
|
--label
|
||||||
--nosysfonts
|
--nosysfonts
|
||||||
--currentlocalefont
|
--currentlocalefont
|
||||||
--dontmirrorstamps
|
--dontmirrorstamps
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ New Breed Software</p>
|
||||||
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a></p>
|
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a></p>
|
||||||
|
|
||||||
|
|
||||||
<p>July 1, 2009</p>
|
<p>October 3, 2009</p>
|
||||||
|
|
||||||
|
|
||||||
</center>
|
</center>
|
||||||
|
|
@ -445,6 +445,12 @@ New Breed Software</p>
|
||||||
functionality (usually paint-mode).
|
functionality (usually paint-mode).
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
<dt><code><b>nolabel=yes</b></code></dt>
|
||||||
|
<dd>
|
||||||
|
Disables the <b>Label</b> tool: the tool that allows text entry
|
||||||
|
which can be edited later.
|
||||||
|
</dd>
|
||||||
|
|
||||||
<dt><code><b>mirrorstamps=yes</b></code></dt>
|
<dt><code><b>mirrorstamps=yes</b></code></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p>For stamps that can be mirrored, this option sets them to their
|
<p>For stamps that can be mirrored, this option sets them to their
|
||||||
|
|
@ -1125,6 +1131,7 @@ New Breed Software</p>
|
||||||
--nostamps<br>
|
--nostamps<br>
|
||||||
--nostampcontrols<br>
|
--nostampcontrols<br>
|
||||||
--nomagiccontrols<br>
|
--nomagiccontrols<br>
|
||||||
|
--nolabel<br>
|
||||||
--sysfonts<br>
|
--sysfonts<br>
|
||||||
--alllocalefonts<br>
|
--alllocalefonts<br>
|
||||||
--mirrorstamps<br>
|
--mirrorstamps<br>
|
||||||
|
|
@ -1170,6 +1177,7 @@ New Breed Software</p>
|
||||||
--stamps<br>
|
--stamps<br>
|
||||||
--stampcontrols<br>
|
--stampcontrols<br>
|
||||||
--magiccontrols<br>
|
--magiccontrols<br>
|
||||||
|
--label<br>
|
||||||
--nosysfonts<br>
|
--nosysfonts<br>
|
||||||
--currentlocalefont<br>
|
--currentlocalefont<br>
|
||||||
--dontmirrorstamps<br>
|
--dontmirrorstamps<br>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.\" tuxpaint.1 - 2009.07.01
|
.\" tuxpaint.1 - 2009.10.03
|
||||||
.TH TUXPAINT 1 "1 July 2009" "0.9.22" "Tux Paint"
|
.TH TUXPAINT 1 "3 October 2009" "0.9.22" "Tux Paint"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
tuxpaint -- "Tux Paint", a drawing program for young children.
|
tuxpaint -- "Tux Paint", a drawing program for young children.
|
||||||
|
|
||||||
|
|
@ -59,6 +59,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
|
||||||
.br
|
.br
|
||||||
[\-\-nomagiccontrols]
|
[\-\-nomagiccontrols]
|
||||||
.br
|
.br
|
||||||
|
[\-\-nolabel]
|
||||||
|
.br
|
||||||
[\-\-mirrorstamps]
|
[\-\-mirrorstamps]
|
||||||
.br
|
.br
|
||||||
[\-\-stampsize=\fISIZE\fP]
|
[\-\-stampsize=\fISIZE\fP]
|
||||||
|
|
@ -131,6 +133,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
|
||||||
.br
|
.br
|
||||||
[\-\-magiccontrols]
|
[\-\-magiccontrols]
|
||||||
.br
|
.br
|
||||||
|
[\-\-label]
|
||||||
|
.br
|
||||||
[\-\-dontmirrorstamps]
|
[\-\-dontmirrorstamps]
|
||||||
.br
|
.br
|
||||||
[\-\-stampsize=default]
|
[\-\-stampsize=default]
|
||||||
|
|
@ -347,6 +351,11 @@ controlling whether a Magic tool is used like a paint brush, or if it
|
||||||
affects the entire image at once. (Note: Not all Magic tools will be
|
affects the entire image at once. (Note: Not all Magic tools will be
|
||||||
controllable.)
|
controllable.)
|
||||||
|
|
||||||
|
.TP 8
|
||||||
|
.B \-\-nolabel \-\-label
|
||||||
|
Disable or enable (default) the \fILabel\fP tool, which lets you create
|
||||||
|
text which can be altered or moved later.
|
||||||
|
|
||||||
.TP 8
|
.TP 8
|
||||||
.B \-\-mirrorstamps \-\-dontmirrorstamps
|
.B \-\-mirrorstamps \-\-dontmirrorstamps
|
||||||
With \fImirrorstamps\fP set, stamps which can be mirrored will appear
|
With \fImirrorstamps\fP set, stamps which can be mirrored will appear
|
||||||
|
|
|
||||||
|
|
@ -5612,6 +5612,7 @@ static void show_usage(FILE * f, char *prg)
|
||||||
" %s [--sysfonts | --nosysfonts]\n"
|
" %s [--sysfonts | --nosysfonts]\n"
|
||||||
" %s [--nostampcontrols | --stampcontrols]\n"
|
" %s [--nostampcontrols | --stampcontrols]\n"
|
||||||
" %s [--nomagiccontrols | --magiccontrols]\n"
|
" %s [--nomagiccontrols | --magiccontrols]\n"
|
||||||
|
" %s [--nolabel | --label]\n"
|
||||||
" %s [--mirrorstamps | --dontmirrorstamps]\n"
|
" %s [--mirrorstamps | --dontmirrorstamps]\n"
|
||||||
" %s [--stampsize=[0-10] | --stampsize=default]\n"
|
" %s [--stampsize=[0-10] | --stampsize=default]\n"
|
||||||
" %s [--saveoverask | --saveover | --saveovernew]\n"
|
" %s [--saveoverask | --saveover | --saveovernew]\n"
|
||||||
|
|
@ -5636,7 +5637,7 @@ static void show_usage(FILE * f, char *prg)
|
||||||
blank, blank, blank, blank,
|
blank, blank, blank, blank,
|
||||||
blank, blank, blank, blank,
|
blank, blank, blank, blank,
|
||||||
blank, blank, blank, blank,
|
blank, blank, blank, blank,
|
||||||
blank, blank, blank,
|
blank, blank, blank, blank,
|
||||||
blank, blank, blank,
|
blank, blank, blank,
|
||||||
blank, blank, blank, blank, blank, blank, blank, blank, blank,
|
blank, blank, blank, blank, blank, blank, blank, blank, blank,
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
|
@ -7000,7 +7001,7 @@ static void setup(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
else if (strcmp(argv[i], "--label") == 0)
|
else if (strcmp(argv[i], "--label") == 0)
|
||||||
{
|
{
|
||||||
disable_label = 1;
|
disable_label = 0;
|
||||||
}
|
}
|
||||||
else if (strcmp(argv[i], "--noshortcuts") == 0)
|
else if (strcmp(argv[i], "--noshortcuts") == 0)
|
||||||
{
|
{
|
||||||
|
|
@ -16869,6 +16870,15 @@ static void parse_options(FILE * fi)
|
||||||
{
|
{
|
||||||
disable_magic_controls = 0;
|
disable_magic_controls = 0;
|
||||||
}
|
}
|
||||||
|
else if (strcmp(str, "nolabel=yes") == 0)
|
||||||
|
{
|
||||||
|
disable_label = 1;
|
||||||
|
}
|
||||||
|
else if (strcmp(str, "nolabel=no") == 0 ||
|
||||||
|
strcmp(str, "label=yes") == 0)
|
||||||
|
{
|
||||||
|
disable_label = 0;
|
||||||
|
}
|
||||||
else if (strcmp(str, "mirrorstamps=yes") == 0)
|
else if (strcmp(str, "mirrorstamps=yes") == 0)
|
||||||
{
|
{
|
||||||
mirrorstamps = 1;
|
mirrorstamps = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue