Final tweak to the pygauge colors

Made the red a little brighter, to differentiate it from the orange (Salmonish color was too close). Also checked to make sure that the pygauge preferences default colors matched what we were actually using.
This commit is contained in:
Corollax
2010-12-06 18:15:48 -06:00
parent d5f6eb032b
commit 5602142e7f
2 changed files with 4 additions and 4 deletions

View File

@@ -334,7 +334,7 @@ class PFGaugePref ( PreferenceView):
def InitDefaultColours(self):
self.c0100S = wx.Colour(191, 191, 191, 255)
self.c0100E = wx.Colour(128, 255, 0, 255)
self.c0100E = wx.Colour(96, 191, 0, 255)
self.c100101S = wx.Colour(191, 167, 96, 255)
self.c100101E = wx.Colour(255, 191, 0, 255)
@@ -343,7 +343,7 @@ class PFGaugePref ( PreferenceView):
self.c101103E = wx.Colour(255, 128, 0, 255)
self.c103105S = wx.Colour(255, 128, 0, 255)
self.c103105E = wx.Colour(191, 48, 48, 255)
self.c103105E = wx.Colour(255, 0, 0, 255)
self.gradientStart = 95
def SetColours(self):
@@ -498,4 +498,4 @@ class PFGaugePref ( PreferenceView):
def __del__( self ):
pass
PFGaugePref.register()
PFGaugePref.register()

View File

@@ -62,7 +62,7 @@ class PyGauge(wx.PyWindow):
self.transitionsColors = [( (191, 191, 191, 255) , (96, 191, 0, 255) ),
( (191, 167, 96, 255) , (255, 191, 0, 255) ),
( (255, 191, 0, 255) , (255, 128, 0, 255) ),
( (255, 128, 0, 255) , (255, 64, 64, 255) )]
( (255, 128, 0, 255) , (255, 0, 0, 255) )]
self.gradientEffect = 95
self._percentage = 0