mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-22 11:52:46 +01:00
replace all MyIconPool._Icons to be MyIconPool.GiveIconSurface
This commit is contained in:
@@ -43,7 +43,7 @@ class SoundSlider(Slider):
|
||||
self._Height = self._Parent._Height
|
||||
|
||||
self._BGpng = IconItem()
|
||||
self._BGpng._ImgSurf = MyIconPool._Icons["vol"]
|
||||
self._BGpng._ImgSurf = MyIconPool.GiveIconSurface("vol")
|
||||
self._BGpng._MyType = ICON_TYPES["STAT"]
|
||||
self._BGpng._Parent = self
|
||||
self._BGpng.Adjust(0,0,self._BGwidth,self._BGheight,0)
|
||||
@@ -53,7 +53,7 @@ class SoundSlider(Slider):
|
||||
self._Scale = MultiIconItem()
|
||||
self._Scale._MyType = ICON_TYPES["STAT"]
|
||||
self._Scale._Parent = self
|
||||
self._Scale._ImgSurf = MyIconPool._Icons["scale"]
|
||||
self._Scale._ImgSurf = MyIconPool.GiveIconSurface("scale")
|
||||
self._Scale._IconWidth = 82
|
||||
self._Scale._IconHeight = 63
|
||||
self._Scale.Adjust(0,0,82,63,0)
|
||||
|
||||
Reference in New Issue
Block a user