Release commit
This commit is contained in:
@@ -229,6 +229,8 @@ class MainWindow(wx.Frame):
|
|||||||
img = img.Scale(120,120)
|
img = img.Scale(120,120)
|
||||||
self.icon = wx.StaticBitmap(self, bitmap=wx.BitmapFromImage(img))
|
self.icon = wx.StaticBitmap(self, bitmap=wx.BitmapFromImage(img))
|
||||||
if t["duration"] - t["position"] <= 30:
|
if t["duration"] - t["position"] <= 30:
|
||||||
|
if self.soundbool:
|
||||||
|
wx.Bell()
|
||||||
if self.flashbool:
|
if self.flashbool:
|
||||||
self.panel.SetBackgroundColour(wx.NullColour)
|
self.panel.SetBackgroundColour(wx.NullColour)
|
||||||
self.panel.Refresh()
|
self.panel.Refresh()
|
||||||
@@ -238,8 +240,9 @@ class MainWindow(wx.Frame):
|
|||||||
self.panel.Refresh()
|
self.panel.Refresh()
|
||||||
self.flashbool = True
|
self.flashbool = True
|
||||||
else:
|
else:
|
||||||
self.panel.SetBackgroundColour(wx.NullColour)
|
self.soundbool = True
|
||||||
self.panel.Refresh()
|
self.panel.SetBackgroundColour(wx.NullColour)
|
||||||
|
self.panel.Refresh()
|
||||||
|
|
||||||
|
|
||||||
#--------------------------------------------------------------
|
#--------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user