Add files via upload
This commit is contained in:
parent
f40412c645
commit
d8ad27c1b6
3 changed files with 6 additions and 4 deletions
|
@ -14,14 +14,15 @@ import tempfile as _tf
|
|||
import pickle as _p
|
||||
|
||||
class win(_surface):
|
||||
def __init__(self, iconpath):
|
||||
def __init__(self, iconpath=None):
|
||||
self._orig = _pg.display.get_surface()
|
||||
super().__init__(self._orig.get_size())
|
||||
self._orig = _pg.display.get_surface()
|
||||
self._clock = _pg.time.Clock()
|
||||
self._withfps = False
|
||||
self._iconpath = iconpath
|
||||
self.tray = _tray(self.title,iconpath)
|
||||
if iconpath != None:
|
||||
self.tray = _tray(self.title,iconpath)
|
||||
def update(self, fps=-1):
|
||||
if fps != -1:
|
||||
self._clock.tick(fps)
|
||||
|
|
BIN
dist/pygwin-0.1.0-py3.7.egg
vendored
BIN
dist/pygwin-0.1.0-py3.7.egg
vendored
Binary file not shown.
|
@ -14,14 +14,15 @@ import tempfile as _tf
|
|||
import pickle as _p
|
||||
|
||||
class win(_surface):
|
||||
def __init__(self, iconpath):
|
||||
def __init__(self, iconpath=None):
|
||||
self._orig = _pg.display.get_surface()
|
||||
super().__init__(self._orig.get_size())
|
||||
self._orig = _pg.display.get_surface()
|
||||
self._clock = _pg.time.Clock()
|
||||
self._withfps = False
|
||||
self._iconpath = iconpath
|
||||
self.tray = _tray(self.title,iconpath)
|
||||
if iconpath != None:
|
||||
self.tray = _tray(self.title,iconpath)
|
||||
def update(self, fps=-1):
|
||||
if fps != -1:
|
||||
self._clock.tick(fps)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue