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
|
|
@ -1,5 +1,5 @@
|
|||
.\" tuxpaint.1 - 2009.07.01
|
||||
.TH TUXPAINT 1 "1 July 2009" "0.9.22" "Tux Paint"
|
||||
.\" tuxpaint.1 - 2009.10.03
|
||||
.TH TUXPAINT 1 "3 October 2009" "0.9.22" "Tux Paint"
|
||||
.SH NAME
|
||||
tuxpaint -- "Tux Paint", a drawing program for young children.
|
||||
|
||||
|
|
@ -59,6 +59,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
|
|||
.br
|
||||
[\-\-nomagiccontrols]
|
||||
.br
|
||||
[\-\-nolabel]
|
||||
.br
|
||||
[\-\-mirrorstamps]
|
||||
.br
|
||||
[\-\-stampsize=\fISIZE\fP]
|
||||
|
|
@ -131,6 +133,8 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
|
|||
.br
|
||||
[\-\-magiccontrols]
|
||||
.br
|
||||
[\-\-label]
|
||||
.br
|
||||
[\-\-dontmirrorstamps]
|
||||
.br
|
||||
[\-\-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
|
||||
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
|
||||
.B \-\-mirrorstamps \-\-dontmirrorstamps
|
||||
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 [--nostampcontrols | --stampcontrols]\n"
|
||||
" %s [--nomagiccontrols | --magiccontrols]\n"
|
||||
" %s [--nolabel | --label]\n"
|
||||
" %s [--mirrorstamps | --dontmirrorstamps]\n"
|
||||
" %s [--stampsize=[0-10] | --stampsize=default]\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,
|
||||
#ifdef WIN32
|
||||
|
|
@ -7000,7 +7001,7 @@ static void setup(int argc, char *argv[])
|
|||
}
|
||||
else if (strcmp(argv[i], "--label") == 0)
|
||||
{
|
||||
disable_label = 1;
|
||||
disable_label = 0;
|
||||
}
|
||||
else if (strcmp(argv[i], "--noshortcuts") == 0)
|
||||
{
|
||||
|
|
@ -16869,6 +16870,15 @@ static void parse_options(FILE * fi)
|
|||
{
|
||||
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)
|
||||
{
|
||||
mirrorstamps = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue