def ApplyAttributes(self, attributes): self.blinkEditBG = None SellBuyItemsWindow.ApplyAttributes(self, attributes) self.dropCont.OnDropData = self.DropItems self.infoCont.height = 40 self.totalAmt.LoadTooltipPanel = self.LoadTotalTooltip self.itemsScroll.OnDropData = self.DropItems self.AddImportButton() self.DrawStationWarning() self.AddToLocationCont() self.StartAddItemsThread()
def ApplyAttributes(self, attributes): SellBuyItemsWindow.ApplyAttributes(self, attributes) if self.useCorp: top = 48 else: top = 30 self.orderCountLabel = EveLabelSmall(parent=self.bottomLeft, top=top, left=2) self.maxCount = self.GetMaxOrderCount() self.myOrderCount = self.GetCurrentOrderCount() self.UpdateOrderCount() self.DrawDurationCombo() self.StartAddItemsThread()