mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-16 19:58:51 +01:00
Line color
This commit is contained in:
parent
bceb9a372e
commit
63d1af1337
@ -8,6 +8,8 @@ import pygame
|
|||||||
from UI.page import Page
|
from UI.page import Page
|
||||||
from UI.label import Label
|
from UI.label import Label
|
||||||
from UI.lang_manager import MyLangManager
|
from UI.lang_manager import MyLangManager
|
||||||
|
from UI.skin_manager import MySkinManager
|
||||||
|
|
||||||
# a item for List
|
# a item for List
|
||||||
# - - - - - - - - - - - --
|
# - - - - - - - - - - - --
|
||||||
# | Icon Text..... > |
|
# | Icon Text..... > |
|
||||||
@ -50,6 +52,6 @@ class ListItem(object):
|
|||||||
self._Labels["Text"]._PosY = self._PosY + (self._Height - self._Labels["Text"]._Height)/2
|
self._Labels["Text"]._PosY = self._PosY + (self._Height - self._Labels["Text"]._Height)/2
|
||||||
self._Labels["Text"].Draw()
|
self._Labels["Text"].Draw()
|
||||||
|
|
||||||
pygame.draw.line(self._Parent._CanvasHWND,(169,169,169),(self._PosX,self._PosY+self._Height-1),(self._PosX+self._Width,self._PosY+self._Height-1),1)
|
pygame.draw.line(self._Parent._CanvasHWND,MySkinManager.GiveColor('Line'),(self._PosX,self._PosY+self._Height-1),(self._PosX+self._Width,self._PosY+self._Height-1),1)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -88,7 +88,7 @@ class SkinManager(object):
|
|||||||
Colors["ReadOnlyText"] = pygame.Color(130,130,130)
|
Colors["ReadOnlyText"] = pygame.Color(130,130,130)
|
||||||
Colors["Front"] = pygame.Color(131, 199, 219)
|
Colors["Front"] = pygame.Color(131, 199, 219)
|
||||||
Colors["URL"] = pygame.Color(51, 166, 255)
|
Colors["URL"] = pygame.Color(51, 166, 255)
|
||||||
Colors["Line"] = pygame.Color(169, 169, 169)
|
Colors["Line"] = pygame.Color(42, 140, 121)
|
||||||
Colors["TitleBg"] = pygame.Color(11, 16, 22)
|
Colors["TitleBg"] = pygame.Color(11, 16, 22)
|
||||||
Colors["Active"] = pygame.Color(175, 90, 0)
|
Colors["Active"] = pygame.Color(175, 90, 0)
|
||||||
Colors["Inactive"] = pygame.Color(27,78,72)
|
Colors["Inactive"] = pygame.Color(27,78,72)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user