Alpha + channels tweak for inactive tabs

This commit is contained in:
HomeWorld
2010-12-04 18:06:34 +02:00
parent 2edb31fdba
commit 77437ab72b

View File

@@ -1022,7 +1022,7 @@ class PFTabsContainer(wx.Panel):
# if not 'wxMac' in wx.PlatformInfo:
mdc.DrawBitmap(self.efxBmp, posx, posy, True )
img = tab.Render().ConvertToImage()
img = img.AdjustChannels(1, 1, 1, 0.9)
img = img.AdjustChannels(0.95, 0.95, 0.95, 0.75)
bmp = wx.BitmapFromImage(img)
mdc.DrawBitmap(bmp, posx, posy, True)
else: