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:
parent
20d45409ce
commit
d4869ac062
12 changed files with 21 additions and 266 deletions
|
|
@ -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:
|
||||
---------------------------
|
||||
|
|
|
|||
|
|
@ -91,21 +91,6 @@ Interface Problems
|
|||
"Low Quality Thumbnails" is probably enabled. See: "Stamp
|
||||
thumbnails in the Stamp Selector look bad", above.
|
||||
|
||||
The color picker buttons are ugly squares, not pretty buttons!
|
||||
|
||||
Tux Paint was probably compiled with the nice looking color
|
||||
selector buttons disabled. Run the command: "tuxpaint
|
||||
--verbose-version" from a command line. If, amongst the other
|
||||
output, you see the text: "Low Quality Color Selector enabled",
|
||||
then this is what's happening.
|
||||
|
||||
To change this, you must rebuild Tux Paint from source. Be sure to
|
||||
remove or comment out any line that says:
|
||||
|
||||
#define LOW_QUALITY_COLOR_SELECTOR
|
||||
|
||||
in the "tuxpaint.c" file in the "src" directory.
|
||||
|
||||
All of the text is in uppercase!
|
||||
|
||||
The "uppercase" option is on.
|
||||
|
|
|
|||
|
|
@ -163,26 +163,6 @@
|
|||
<dd>
|
||||
"Low Quality Thumbnails" is probably enabled. See: "Stamp thumbnails in the Stamp Selector look bad", above. </dd>
|
||||
|
||||
<dt>
|
||||
The color picker buttons are ugly squares, not pretty buttons! </dt>
|
||||
|
||||
<dd>
|
||||
<p>
|
||||
Tux Paint was probably compiled with the nice looking color selector buttons disabled. Run the command: "<code>tuxpaint --verbose-version</code>" from a command line. If, amongst the other output, you see the text: "Low Quality Color Selector enabled", then this is what's happening. </p>
|
||||
|
||||
<p>
|
||||
To change this, you must rebuild Tux Paint from source. Be sure to remove or comment out any line that says: </p>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
<code>#define LOW_QUALITY_COLOR_SELECTOR</code>
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
in the "tuxpaint.c" file in the "src" directory. </p>
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
All of the text is in uppercase! </dt>
|
||||
|
||||
|
|
|
|||
|
|
@ -91,21 +91,6 @@ Interface Problems
|
|||
"Low Quality Thumbnails" is probably enabled. See: "Stamp
|
||||
thumbnails in the Stamp Selector look bad", above.
|
||||
|
||||
The color picker buttons are ugly squares, not pretty buttons!
|
||||
|
||||
Tux Paint was probably compiled with the nice looking color
|
||||
selector buttons disabled. Run the command: "tuxpaint
|
||||
--verbose-version" from a command line. If, amongst the other
|
||||
output, you see the text: "Low Quality Color Selector enabled",
|
||||
then this is what's happening.
|
||||
|
||||
To change this, you must rebuild Tux Paint from source. Be sure to
|
||||
remove or comment out any line that says:
|
||||
|
||||
#define LOW_QUALITY_COLOR_SELECTOR
|
||||
|
||||
in the "tuxpaint.c" file in the "src" directory.
|
||||
|
||||
All of the text is in uppercase!
|
||||
|
||||
The "uppercase" option is on.
|
||||
|
|
|
|||
|
|
@ -163,26 +163,6 @@
|
|||
<dd>
|
||||
"Low Quality Thumbnails" is probably enabled. See: "Stamp thumbnails in the Stamp Selector look bad", above. </dd>
|
||||
|
||||
<dt>
|
||||
The color picker buttons are ugly squares, not pretty buttons! </dt>
|
||||
|
||||
<dd>
|
||||
<p>
|
||||
Tux Paint was probably compiled with the nice looking color selector buttons disabled. Run the command: "<code>tuxpaint --verbose-version</code>" from a command line. If, amongst the other output, you see the text: "Low Quality Color Selector enabled", then this is what's happening. </p>
|
||||
|
||||
<p>
|
||||
To change this, you must rebuild Tux Paint from source. Be sure to remove or comment out any line that says: </p>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
<code>#define LOW_QUALITY_COLOR_SELECTOR</code>
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
in the "tuxpaint.c" file in the "src" directory. </p>
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
All of the text is in uppercase! </dt>
|
||||
|
||||
|
|
|
|||
|
|
@ -100,23 +100,6 @@ Problèmes d'interface
|
|||
"Les vignettes de tampon dans le sélecteur de tampon ne sont pas
|
||||
jolies", ci-dessus.
|
||||
|
||||
Les boutons du sélecteur de couleurs sont des carrés affreux, pas de jolis
|
||||
boutons !
|
||||
|
||||
Tux Paint a probablement été compilé avec les jolis boutons de
|
||||
sélection de couleur désactivés. Exécutez la commande: "tuxpaint
|
||||
--verbose-version" à partir d'une ligne de commande. Si, parmi les
|
||||
résultats, vous voyez le texte: "Low Quality Color Selector
|
||||
enabled", c'est ce qui se passe.
|
||||
|
||||
Pour changer cela, vous devez reconstruire Tux Paint à partir des
|
||||
sources. Assurez-vous de supprimer ou de commenter toute ligne qui
|
||||
dit :
|
||||
|
||||
#define LOW_QUALITY_COLOR_SELECTOR
|
||||
|
||||
dans le fichier "tuxpaint.c" du répertoire "src".
|
||||
|
||||
Tout le texte est en majuscule !
|
||||
|
||||
L'option "majuscule" est activée.
|
||||
|
|
|
|||
|
|
@ -163,26 +163,6 @@
|
|||
<dd>
|
||||
"Miniatures de faible qualité" a été probablement activé. Voir: "Les vignettes de tampon dans le sélecteur de tampon ne sont pas jolies", ci-dessus. </dd>
|
||||
|
||||
<dt>
|
||||
Les boutons du sélecteur de couleurs sont des carrés affreux, pas de jolis boutons ! </dt>
|
||||
|
||||
<dd>
|
||||
<p>
|
||||
Tux Paint a probablement été compilé avec les jolis boutons de sélection de couleur désactivés. Exécutez la commande: "<code>tuxpaint --verbose-version</code>" à partir d'une ligne de commande. Si, parmi les résultats, vous voyez le texte: "Low Quality Color Selector enabled", c'est ce qui se passe. </p>
|
||||
|
||||
<p>
|
||||
Pour changer cela, vous devez reconstruire Tux Paint à partir des sources. Assurez-vous de supprimer ou de commenter toute ligne qui dit : </p>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
<code>#define LOW_QUALITY_COLOR_SELECTOR</code>
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
dans le fichier "tuxpaint.c" du répertoire "src". </p>
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
Tout le texte est en majuscule ! </dt>
|
||||
|
||||
|
|
|
|||
|
|
@ -96,21 +96,6 @@ Problemas de interface
|
|||
calidade». Vexa: «As miniaturas dos selos no selector de selos
|
||||
vense mal», arriba.
|
||||
|
||||
Os botóns de selección de cores son cadrados feos, e non botóns bonitos.
|
||||
|
||||
Tux Paint probabelmente compilado desactivando os fermosos botóns
|
||||
de selección de cor. Executa a orde: «tuxpaint --verbose-version»
|
||||
dende unha liña de ordes. Se, entre outras saídas, ves o texto:
|
||||
«Low Quality Color Selector enabled», entón é isto o que está a
|
||||
suceder.
|
||||
|
||||
Para cambialo, debe volver compilar Tux Paint dende o código
|
||||
fonte. Asegúrese de eliminar ou comentar calquera liña que diga:
|
||||
|
||||
#define LOW_QUALITY_COLOR_SELECTOR
|
||||
|
||||
no ficheiro «tuxpaint.c» no directorio «src».
|
||||
|
||||
Todo o texto está en maiúscula.
|
||||
|
||||
Está activada a opción «maiúsculas».
|
||||
|
|
|
|||
|
|
@ -163,26 +163,6 @@
|
|||
<dd>
|
||||
Probabelmente estea activada a opción «Miniaturas de baixa calidade». Vexa: «As miniaturas dos selos no selector de selos vense mal», arriba. </dd>
|
||||
|
||||
<dt>
|
||||
Os botóns de selección de cores son cadrados feos, e non botóns bonitos. </dt>
|
||||
|
||||
<dd>
|
||||
<p>
|
||||
Tux Paint probabelmente compilado desactivando os fermosos botóns de selección de cor. Executa a orde: «<code>tuxpaint --verbose-version</code>» dende unha liña de ordes. Se, entre outras saídas, ves o texto: «Low Quality Color Selector enabled», entón é isto o que está a suceder. </p>
|
||||
|
||||
<p>
|
||||
Para cambialo, debe volver compilar Tux Paint dende o código fonte. Asegúrese de eliminar ou comentar calquera liña que diga: </p>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
<code>#define LOW_QUALITY_COLOR_SELECTOR</code>
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
no ficheiro «tuxpaint.c» no directorio «src». </p>
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
Todo o texto está en maiúscula. </dt>
|
||||
|
||||
|
|
|
|||
|
|
@ -91,21 +91,6 @@ Interface Problems
|
|||
"Low Quality Thumbnails" is probably enabled. See: "Stamp
|
||||
thumbnails in the Stamp Selector look bad", above.
|
||||
|
||||
The color picker buttons are ugly squares, not pretty buttons!
|
||||
|
||||
Tux Paint was probably compiled with the nice looking color
|
||||
selector buttons disabled. Run the command: "tuxpaint
|
||||
--verbose-version" from a command line. If, amongst the other
|
||||
output, you see the text: "Low Quality Color Selector enabled",
|
||||
then this is what's happening.
|
||||
|
||||
To change this, you must rebuild Tux Paint from source. Be sure to
|
||||
remove or comment out any line that says:
|
||||
|
||||
#define LOW_QUALITY_COLOR_SELECTOR
|
||||
|
||||
in the "tuxpaint.c" file in the "src" directory.
|
||||
|
||||
All of the text is in uppercase!
|
||||
|
||||
The "uppercase" option is on.
|
||||
|
|
|
|||
|
|
@ -163,26 +163,6 @@
|
|||
<dd>
|
||||
"Low Quality Thumbnails" is probably enabled. See: "Stamp thumbnails in the Stamp Selector look bad", above. </dd>
|
||||
|
||||
<dt>
|
||||
The color picker buttons are ugly squares, not pretty buttons! </dt>
|
||||
|
||||
<dd>
|
||||
<p>
|
||||
Tux Paint was probably compiled with the nice looking color selector buttons disabled. Run the command: "<code>tuxpaint --verbose-version</code>" from a command line. If, amongst the other output, you see the text: "Low Quality Color Selector enabled", then this is what's happening. </p>
|
||||
|
||||
<p>
|
||||
To change this, you must rebuild Tux Paint from source. Be sure to remove or comment out any line that says: </p>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
<code>#define LOW_QUALITY_COLOR_SELECTOR</code>
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
in the "tuxpaint.c" file in the "src" directory. </p>
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
All of the text is in uppercase! </dt>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue