Minor tweaks to pygauge's colors

Brightened the 105-epsilon, darkened the 105+epsilon
This commit is contained in:
Corollax
2010-12-06 14:41:40 -06:00
parent 90033511c9
commit 3ed507bd74

View File

@@ -62,7 +62,7 @@ class PyGauge(wx.PyWindow):
self.transitionsColors = [( (191, 191, 191, 255) , (128, 255, 0, 255) ),
( (191, 167, 96, 255) , (255, 191, 0, 255) ),
( (255, 191, 0, 255) , (255, 128, 0, 255) ),
( (255, 128, 0, 255) , (191, 48, 48, 255) )]
( (255, 128, 0, 255) , (255, 64, 64, 255) )]
self.gradientEffect = 95
self._percentage = 0
@@ -350,7 +350,7 @@ class PyGauge(wx.PyWindow):
colorS,colorE = self.transitionsColors[transition]
color = self.CalculateTransitionColor(colorS, colorE, xv)
else:
color = wx.Colour(240,0,0)
color = wx.Colour(191,48,48)
gcolor = self.CalculateGColor(color, -self.gradientEffect)