Default color scheme unusable for progress bars

Waldo Bastian bastian at kde.org
Wed Dec 10 22:45:10 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed December 10 2003 22:38, Ravi wrote:
>   (2) or make sure the colors are different in KProgress
>
> Suggestions? My vote is for (1) since computing color distances to
> determine legibility is not easy.

We actually have code for exactly that. 
See hasSufficientContrast in khtml/rendering/render_text.cpp

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/16H2N4pvrENfboIRAr95AJ9lCdsrR0SoiWGX+29qor7BL0/SuQCgorn2
qlijiHtcer0K1Rdhoe7+lIs=
=hTUB
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list