improved color code of previous commit

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-05-28 22:29:06 +00:00
parent 429d6f2dc3
commit 68e679873d

View File

@ -17,7 +17,7 @@ class TRHistogram
QColor colorScale(float f) QColor colorScale(float f)
{ {
if(f == 0) if(f == 0)
return QColor::fromHsv(0,0,128) ; return QColor::fromHsv(0,0,192) ;
else else
return QColor::fromHsv((int)((1.0-f)*280),200,255) ; return QColor::fromHsv((int)((1.0-f)*280),200,255) ;
} }