mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-15 02:54:09 -04:00
Added missing methods causing a crash in Kivy.
This commit is contained in:
parent
56a49f124f
commit
ff4bd148fa
2 changed files with 10 additions and 0 deletions
|
@ -329,6 +329,11 @@ def createImage(width, height, fill, outline=None, outwidth=1):
|
||||||
return image
|
return image
|
||||||
|
|
||||||
|
|
||||||
|
def createImagePIL(width, height, fill, outline=None, outwidth=1):
|
||||||
|
# Is this needed for Kivy?
|
||||||
|
createImage(width, height, fill, outline=outline, outwidth=outwidth)
|
||||||
|
|
||||||
|
|
||||||
def shadowImage(image, color='#3896f8', factor=0.3):
|
def shadowImage(image, color='#3896f8', factor=0.3):
|
||||||
|
|
||||||
logging.info("shadowImage: ")
|
logging.info("shadowImage: ")
|
||||||
|
|
|
@ -159,6 +159,11 @@ def createImage(width, height, fill, outline=None):
|
||||||
return _PysolPixmap(width=width, height=height, fill=fill, outline=outline)
|
return _PysolPixmap(width=width, height=height, fill=fill, outline=outline)
|
||||||
|
|
||||||
|
|
||||||
|
def createImagePIL(width, height, fill, outline=None):
|
||||||
|
# Is this needed for GTK?
|
||||||
|
createImage(width, height, fill, outline=outline)
|
||||||
|
|
||||||
|
|
||||||
def shadowImage(image):
|
def shadowImage(image):
|
||||||
# FIXME
|
# FIXME
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Add table
Reference in a new issue