WIP: Shape controls -- center vs corner

Adding control buttons to the Shapes tool, allowing for shapes
to be drawn from the center (as before) or from a corner
(more like other paint packages).  The controls do nothing
at this time, but are visible and can be clicked.  This is a
work in progress.

The controls may be removed using a configuration option.
This commit is contained in:
Bill Kendrick 2020-08-15 00:55:31 -07:00
parent d5b020520d
commit 2159f8616b
12 changed files with 168 additions and 48 deletions

View file

@ -6,7 +6,7 @@ Options Documentation
Copyright (c) 2002-2020 by various contributors; see AUTHORS.txt
http://www.tuxpaint.org/
July 27, 2020
August 14, 2020
----------------------------------------------------------------------
@ -358,6 +358,12 @@ Windows Users
controls, and only provides the default functionality (usually
paint-mode).
noshapecontrols=yes
Disable the control buttons shown when using the Shapes tool
that allow changing how shapes are drawn — centered around the
initial mouse click, or with a corner at the initial mouse
click.
nolabel=yes
Disables the Label tool: the tool that allows text entry which
can be edited later.
@ -1018,6 +1024,7 @@ Windows Users
--nostamps
--nostampcontrols
--nomagiccontrols
--noshapecontrols
--nolabel
--newcolorslast
--mouse-accessibility
@ -1091,6 +1098,7 @@ Windows Users
--stamps
--stampcontrols
--magiccontrols
--shapecontrols
--label
--newcolorsfirst
--nosysfonts