skillQueueLastDropEntry.py (919B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\skillPlan\skillQueuePanel\skillQueueLastDropEntry.py 2 from carbonui import const as uiconst 3 from carbonui.control.scrollentries import SE_BaseClassCore 4 from carbonui.primitives.line import Line 5 6 class SkillQueueLastDropEntry(SE_BaseClassCore): 7 __guid__ = 'SkillQueueLastDropEntry' 8 default_state = uiconst.UI_DISABLED 9 10 def ApplyAttributes(self, attributes): 11 SE_BaseClassCore.ApplyAttributes(self, attributes) 12 self.posIndicator = Line(parent=self, state=uiconst.UI_HIDDEN, align=uiconst.TOTOP, weight=2) 13 14 def Load(self, node): 15 pass 16 17 def ShowIndicator(self, color): 18 self.posIndicator.SetRGBA(*color) 19 self.posIndicator.state = uiconst.UI_DISABLED 20 21 def HideIndicator(self): 22 self.posIndicator.Hide() 23 24 def GetDynamicHeight(self, width): 25 return 2