baseSidePanel.py (1582B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\login\charcreation_new\baseSidePanel.py 2 import math 3 from carbonui import uiconst 4 from carbonui.primitives.container import Container 5 from carbonui.primitives.gradientSprite import GradientSprite 6 from eveui import Sprite 7 8 class BaseSidePanel(Container): 9 default_mainContPadding = None 10 11 def ApplyAttributes(self, attributes): 12 super(BaseSidePanel, self).ApplyAttributes(attributes) 13 self.mainCont = Container(name='mainCont', parent=self, padding=self.default_mainContPadding) 14 bgCont = Container(name='bgCont', parent=self) 15 GradientSprite(name='bgGradient', bgParent=bgCont, rgbData=((0, (0.0, 0.0, 0.0)),), alphaData=((0.0, 0.0), 16 (0.25, 0.8), 17 (0.75, 0.8), 18 (1.0, 0.0))) 19 Sprite(name='topLine', parent=bgCont, align=uiconst.TOTOP, height=2, texturePath='res:/UI/Texture/Classes/CharacterSelection/EmpireSelection/selectionGradientLine.png') 20 Sprite(name='topNotch', parent=bgCont, align=uiconst.CENTERTOP, pos=(0, 2, 50, 4), texturePath='res:/UI/Texture/Classes/CharacterSelection/EmpireSelection/selectionNotch.png') 21 Sprite(name='bottomLine', parent=bgCont, align=uiconst.TOBOTTOM, height=2, texturePath='res:/UI/Texture/Classes/CharacterSelection/EmpireSelection/selectionGradientLine.png') 22 Sprite(name='bottomNotch', parent=bgCont, align=uiconst.CENTERBOTTOM, pos=(0, 2, 50, 4), texturePath='res:/UI/Texture/Classes/CharacterSelection/EmpireSelection/selectionNotch.png', rotation=math.pi)