[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 178470] Configure colors for directory coverage percentages
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-12-23 17:09:24
Message-ID: 20081223170924.46B3513F93 () immanuel ! kde ! org
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=178470





--- Comment #4 from Andreas Pakulat <apaku gmx de>  2008-12-23 18:09:23 ---
Yes, the percentage should be configurable, however the colors themselves need
no configuration. Instead the proper KDE API for determining colors should be
used. For details see:

http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKColorScheme.html
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKStatefulBrush.html

In particular IMHO instead of black, green, orange and red one should use
NormalText, PositiveText, NeutralText and NegativeText (for foreground). That
way we re-use colors that the user has set for an apropriate meaning. I also
don't think more than 4 are needed, if you need to have such fine-grained
control you should look at the percentages or we could have a way of grouping
into 10% groups. More than 4 colours will simply get too colourful.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic