Disabled efx

This commit is contained in:
HomeWorld
2010-11-12 16:19:01 +02:00
parent c4ca8dbfea
commit 383604715c

View File

@@ -737,7 +737,7 @@ class PFTabsContainer(wx.Window):
width = tab.tabWidth - self.inclination*2
posx, posy = tab.GetPosition()
if not tab.IsSelected():
mdc.DrawBitmap(self.efxBmp, posx, posy - 1, True )
# mdc.DrawBitmap(self.efxBmp, posx, posy - 1, True )
# img = tab.Render().ConvertToImage()
# img = img.AdjustChannels(1, 1, 1, 0.8)
# bmp = wx.BitmapFromImage(img)
@@ -746,7 +746,7 @@ class PFTabsContainer(wx.Window):
selected = tab
if selected:
posx, posy = selected.GetPosition()
mdc.DrawBitmap(self.efxBmp, posx, posy - 1, True)
# mdc.DrawBitmap(self.efxBmp, posx, posy - 1, True)
bmp = selected.Render()
if self.dragging:
img = bmp.ConvertToImage()