Mend color picker on label change; drop LOW_QUALITY_COLOR_SELECTOR

When selecting a label that has a color not found in the built-ins,
we change to the color picker; however, when rendering its button,
it looked wrong and would not fit to the right size (had 48x48
hard-coder in there, still!)  Instead, using `render_color_button()`
to just re-render it.

Also, dropping LOW_QUALITY_COLOR_SELECTOR which had been used by
some embedded platforms we don't seem to support any more (Nokia Maemo
and OLPC XO-1).
This commit is contained in:
Bill Kendrick 2023-06-19 12:02:01 -07:00
parent 20d45409ce
commit d4869ac062
12 changed files with 21 additions and 266 deletions

View file

@ -6,7 +6,7 @@ Copyright (c) 2002-2023
Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/
2023.June.18 (0.9.31)
2023.June.19 (0.9.31)
* New Magic Tools:
----------------
* Loops - Draw loop-the-loops.
@ -110,6 +110,10 @@ https://tuxpaint.org/
(e.g., Windows)
Bill Kendrick <bill@newbreedsoftware.com>
* Mended bad rendering of color-picker (HSV palette) button when
selecting a Label text with a color not found in built-in colors.
Bill Kendrick <bill@newbreedsoftware.com>
* Localization Updates:
---------------------
* Russian translaton
@ -145,6 +149,9 @@ https://tuxpaint.org/
https://sourceforge.net/p/tuxpaint/bugs/278/
Bill Kendrick <bill@newbreedsoftware.com>
* Removed LOW_QUALITY_COLOR_SELECTOR compile-time option
Bill Kendrick <bill@newbreedsoftware.com>
2023.May.18 (0.9.30)
* Improvements to Stamp tool:
---------------------------