master
yumoqing 2022-11-16 15:37:23 +08:00
parent ce2765afb1
commit e4921b4a45
1 changed files with 7 additions and 1 deletions

View File

@ -56,10 +56,16 @@ def SUPER(klass, obj, kw):
mixin_behaviors(obj, mixins_kw)
def blockImage(name):
def blocksImage(name):
p = os.path.dirname(os.path.abspath(__file__))
return os.path.join(p,'imgs',name)
blockImage = blocksImage
def blocksttf(name):
p = os.path_dirname(os.path.abspath(__file__))
return os.path.join(p, 'ttf', name)
def loaded(widget):
widget.loadingwidget.dismiss()
# widget.remove_widget(widget.loadingwidget)