From 5602142e7fd48cb9234865b9bcdb79ae7e359993 Mon Sep 17 00:00:00 2001 From: Corollax Date: Mon, 6 Dec 2010 18:15:48 -0600 Subject: [PATCH] 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. --- gui/builtinPreferenceViews/pyfaGaugePreferences.py | 6 +++--- gui/pygauge.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/builtinPreferenceViews/pyfaGaugePreferences.py b/gui/builtinPreferenceViews/pyfaGaugePreferences.py index b81798841..9360da7ba 100755 --- a/gui/builtinPreferenceViews/pyfaGaugePreferences.py +++ b/gui/builtinPreferenceViews/pyfaGaugePreferences.py @@ -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() \ No newline at end of file +PFGaugePref.register() diff --git a/gui/pygauge.py b/gui/pygauge.py index b61ba4e25..3eedbb08a 100644 --- a/gui/pygauge.py +++ b/gui/pygauge.py @@ -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