just showed up the screen,like python's launcher

This commit is contained in:
cuu
2018-06-18 19:52:42 +08:00
parent c9de67c78f
commit 85b9423b0d
21 changed files with 77 additions and 17 deletions

View File

@@ -24,7 +24,7 @@ func NewMultiIconItem() *MultiIconItem {
return m
}
func (self * MultiIconItem) CreateImageSurf() {
func (self * MultiIconItem) CreateImgSurf() {
if self.ImgSurf == nil && self.ImageName != "" {
self.ImgSurf = image.Load(self.ImageName)
}