Palette now uses RGB components in the full 0-255 range instead of 0-63.
All palette functions can be used in HSL color space too (multi-select, etc). Fixed some more missing refreshes in Palette screen. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@368 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -4362,7 +4362,7 @@ void Calculer_les_tables_de_Colorize(void)
|
||||
Facteur_A=256*(100-Colorize_Opacite)/100;
|
||||
Facteur_B=256*( Colorize_Opacite)/100;
|
||||
|
||||
for (Indice=0;Indice<64;Indice++)
|
||||
for (Indice=0;Indice<256;Indice++)
|
||||
{
|
||||
Table_de_multiplication_par_Facteur_A[Indice]=Indice*Facteur_A;
|
||||
Table_de_multiplication_par_Facteur_B[Indice]=Indice*Facteur_B;
|
||||
|
||||
Reference in New Issue
Block a user