Added color highlight for stats window.

high and low threshold and color can be set in the xml file
This commit is contained in:
Gerko de Roo
2009-12-28 10:16:48 +08:00
committed by Worros
parent f66b8307d3
commit 2cd57e826d
3 changed files with 63 additions and 48 deletions
+4
View File
@@ -267,6 +267,10 @@ class Game:
stat.hudprefix = stat_node.getAttribute("hudprefix")
stat.hudsuffix = stat_node.getAttribute("hudsuffix")
stat.hudcolor = stat_node.getAttribute("hudcolor")
stat.stat_loth = stat_node.getAttribute("stat_loth")
stat.stat_hith = stat_node.getAttribute("stat_hith")
stat.stat_locolor = stat_node.getAttribute("stat_locolor")
stat.stat_hicolor = stat_node.getAttribute("stat_hicolor")
self.stats[stat.stat_name] = stat