mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -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
|
||||
|
||||
|
||||
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):
|
||||
|
||||
logging.info("shadowImage: ")
|
||||
|
|
|
@ -159,6 +159,11 @@ def createImage(width, height, fill, outline=None):
|
|||
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):
|
||||
# FIXME
|
||||
return None
|
||||
|
|
Loading…
Add table
Reference in a new issue