[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Tweak background color selection algorithm for invalid filter

From: Alexander Klenin <klenin_at_gmail.com>
Date: 2007-09-03 18:31:21 CEST

The current algorithm has following problems:
1) It does not work for background colors with low values of red, in
particular for black background.
2) The 'red shift' is too small to notice for white background, at
least on my LCD displays both at home and at work.

If you think the shift value in the patch is excessive, you can easily
lower it via SHIFT_PERCENTAGE constant, but please do not set it below
5.

P.S. I hope I generated the patch correctly this time.

-- 
Alexander S. Klenin
Insight Experts Ltd.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Mon Sep 3 18:28:22 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.