コード例 #1
0
 def __init__(self, btnType, tooltipType, linkage, hideActionBlock=False):
     super(HeaderMoneyAndXpBuilder, self).__init__(
         tooltipType, linkage,
         common.HeaderMoneyAndXpTooltipData(contexts.ToolTipContext(None)))
     self.__btnType = btnType
     self.__hideActionBlock = hideActionBlock
     return
コード例 #2
0
 def __init__(self, btnType, tooltipType, linkage):
     super(AdvancedHeaderMoneyAndXpBuilder, self).__init__(
         tooltipType, linkage,
         common.HeaderMoneyAndXpTooltipData(contexts.ToolTipContext(None)),
         advanced.MoneyAndXpAdvanced(contexts.ToolTipContext(None)))
     self.__btnType = btnType
     return
コード例 #3
0
 },
 TOOLTIPS_CONSTANTS.CREDITS_STATS: {
     'tooltip':
     TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
     'method':
     lambda btnType=CURRENCIES_CONSTANTS.CREDITS: DYNAMIC_TOOLTIPS[
         TOOLTIPS_CONSTANTS.CREDITS_STATS].buildToolTip(btnType=btnType),
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.CRYSTAL_INFO: {
     'tooltip':
     TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
     'method':
     lambda btnType=CURRENCIES_CONSTANTS.
     CRYSTAL: common.HeaderMoneyAndXpTooltipData(
         contexts.ToolTipContext(None)).buildToolTip(btnType=btnType),
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.CREDITS_INFO: {
     'tooltip':
     TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
     'method':
     lambda btnType=CURRENCIES_CONSTANTS.
     CREDITS: common.HeaderMoneyAndXpTooltipData(
         contexts.ToolTipContext(None)).buildToolTip(btnType=btnType),
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.GOLD_INFO: {
     'tooltip':