Zoom/Perspective: Support background color changes

When in the middle of adjusting a drawing with Zoom or Perspective,
you could change the color.  However, the background would not
relfect this until you further adjusted the zoom/perspective.

Now, a color change causes the background to update immediately.

This involved updating the Tux Paint Magic API to send more
arguments to each Magic tool's "XYZ_set_color()" function,
which means a bump in the API version.

(Forthcoming, all other Magic tools will have their set_color()
functions updated.)
This commit is contained in:
Bill Kendrick 2023-01-25 02:12:57 -08:00
parent 5e829819aa
commit 34de8311db
4 changed files with 69 additions and 31 deletions

View file

@ -4,7 +4,7 @@
# Various contributors (see AUTHORS.txt)
# https://tuxpaint.org/
# June 14, 2002 - January 10, 2023
# June 14, 2002 - January 25, 2023
# The version number, for release:
@ -16,7 +16,7 @@ ifdef SOURCE_DATE_EPOCH
else
VER_DATE=$(shell date "+%Y-%m-%d")
endif
MAGIC_API_VERSION:=0x00000006
MAGIC_API_VERSION:=0x00000007
# Need to know the OS