OMG I HAVE A SHIP BROWSER NOW :3 (replace old instances of GetSuitableColor with GetSuitable)

This commit is contained in:
Ryan Holmes
2017-06-12 21:25:07 -04:00
parent 0e7dccccfe
commit 7e86cb0f84
6 changed files with 9 additions and 9 deletions

View File

@@ -58,7 +58,7 @@ class LoadAnimation(wx.Window):
dc.Clear()
barColor = wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOWTEXT)
shadeColor = colorUtils.GetSuitableColor(barColor, 0.75)
shadeColor = colorUtils.GetSuitable(barColor, 0.75)
barWidth = rect.width / self.bars
barHeight = rect.height - self.padding * 2
@@ -72,7 +72,7 @@ class LoadAnimation(wx.Window):
bh = barHeight
y = self.padding
else:
barColor = colorUtils.GetSuitableColor(barColor, float(self.animCount / 2) / 10)
barColor = colorUtils.GetSuitable(barColor, float(self.animCount / 2) / 10)
dc.SetPen(wx.Pen(barColor))
dc.SetBrush(wx.Brush(barColor))
bh = rect.height