mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 16:08:52 +01:00
ReadTheDirIntoPages add for all-in-one folder's icon
This commit is contained in:
parent
68ccbd33d7
commit
6bfe64c59b
0
Menu/GameShell/10_Settings/Blueutooth/net_item.go
Normal file
0
Menu/GameShell/10_Settings/Blueutooth/net_item.go
Normal file
@ -88,7 +88,10 @@ func ReadTheDirIntoPages(self *UI.MainScreen, _dir string, pglevel int, cur_page
|
||||
iconitem := UI.NewIconItem()
|
||||
iconitem.FileName = f.Name()
|
||||
iconitem.AddLabel(i2,self.IconFont)
|
||||
if UI.FileExists( UI.SkinMap(_dir+"/"+i2+".png")) {
|
||||
if UI.FileExists(filepath.Join(_dir,f.Name(),i2+".png")) { //eg: 20_Prog/Prog.png , cut 20_
|
||||
iconitem.ImageName = filepath.Join(_dir,f.Name(),i2+".png")
|
||||
|
||||
}else if UI.FileExists( UI.SkinMap(_dir+"/"+i2+".png")) {
|
||||
iconitem.ImageName = UI.SkinMap(_dir+"/"+i2+".png")
|
||||
}else {
|
||||
//fmt.Println( UI.SkinMap(_dir+"/"+i2+".png") )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user