mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 18:28:50 +01:00
cursor color and icons
This commit is contained in:
parent
0ead001f80
commit
6ef89ddbff
Binary file not shown.
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 602 B |
@ -122,7 +122,7 @@ class Textarea(Widget):
|
||||
linenumber = 0
|
||||
self._TextFull = len(self._MyWords) > self._TextLimit
|
||||
for i, v in enumerate(self._BlitWords):
|
||||
t = self._FontObj.render(v,True,(8,135,174))
|
||||
t = self._FontObj.render(v,True,MySkinManager.GiveColor("Text"))
|
||||
w += t.get_width()
|
||||
|
||||
if w >= self._Width-endmargin and linenumber == 0:
|
||||
@ -142,7 +142,7 @@ class Textarea(Widget):
|
||||
y = self._PosY
|
||||
linenumber = 0
|
||||
for i,v in enumerate(self._BlitWords[:self._BlitIndex]):
|
||||
t = self._FontObj.render(v,True,(8,135,174))
|
||||
t = self._FontObj.render(v,True,MySkinManager.GiveColor("Text"))
|
||||
w += t.get_width()
|
||||
|
||||
if w >= self._Width-endmargin and linenumber == 0:
|
||||
@ -156,7 +156,7 @@ class Textarea(Widget):
|
||||
break
|
||||
x += t.get_width()
|
||||
|
||||
self._CanvasHWND.blit(self._FontObj.render("_",True,(0,0,0)),(x+1,y-2))
|
||||
self._CanvasHWND.blit(self._FontObj.render("_",True,MySkinManager.GiveColor("Text")),(x+1,y-2))
|
||||
|
||||
def Draw(self):
|
||||
#aa_round_rect(self._CanvasHWND, (4,24.5+6,312,60),self._BackgroundColor,4,0,self._BackgroundColor)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user