Disabled efx
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user