mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-23 20:32:45 +01:00
replace all MyIconPool._Icons to be MyIconPool.GiveIconSurface
This commit is contained in:
@@ -155,7 +155,7 @@ class TinyCloudPage(Page):
|
||||
self._PngSize["online"] = (75,122)
|
||||
|
||||
bgpng = IconItem()
|
||||
bgpng._ImgSurf = MyIconPool._Icons["needwifi_bg"]
|
||||
bgpng._ImgSurf = MyIconPool.GiveIconSurface("needwifi_bg")
|
||||
bgpng._MyType = ICON_TYPES["STAT"]
|
||||
bgpng._Parent = self
|
||||
bgpng.Adjust(0,0,self._PngSize["bg"][0],self._PngSize["bg"][1],0)
|
||||
@@ -163,7 +163,7 @@ class TinyCloudPage(Page):
|
||||
self._Icons["bg"] = bgpng
|
||||
|
||||
onlinepng = IconItem()
|
||||
onlinepng._ImgSurf = MyIconPool._Icons["online"]
|
||||
onlinepng._ImgSurf = MyIconPool.GiveIconSurface("online")
|
||||
onlinepng._MyType = ICON_TYPES["STAT"]
|
||||
onlinepng._Parent = self
|
||||
onlinepng.Adjust(0,0,self._PngSize["online"][0], self._PngSize["online"][1],0)
|
||||
|
||||
Reference in New Issue
Block a user