def getTooltipBuilders():
    return (DefaultFormatBuilder(
        TOOLTIPS_CONSTANTS.SETTINGS_CONTROL, TOOLTIPS_CONSTANTS.COMPLEX_UI,
        common.SettingsControlTooltipData(contexts.HangarContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_BUTTON,
                TOOLTIPS_CONSTANTS.SETTINGS_BUTTON_UI,
                common.SettingsButtonTooltipData(
                    contexts.HangarServerStatusContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES,
                TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES_UI,
                common.SettingsMinimapCircles(
                    contexts.SettingsMinimapContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_FOLLOW_ME,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_FOLLOW_ME_UI,
                common.SettingsKeyFollowMe(contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_TURN_BACK,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_TURN_BACK_UI,
                common.SettingsKeyTurnBack(contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_NEED_HELP,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_NEED_HELP_UI,
                common.SettingsKeyNeedHelp(contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_RELOAD,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_RELOAD_UI,
                common.SettingsKeyReload(contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_SWITCH_MODE,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_SWITCH_MODE_UI,
                common.SettingKeySwitchMode(contexts.ToolTipContext(None))))
示例#2
0
def getTooltipBuilders():
    return (DefaultFormatBuilder(
        TOOLTIPS_CONSTANTS.SETTINGS_CONTROL, TOOLTIPS_CONSTANTS.COMPLEX_UI,
        common.SettingsControlTooltipData(contexts.HangarContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_BUTTON,
                TOOLTIPS_CONSTANTS.SETTINGS_BUTTON_UI,
                common.SettingsButtonTooltipData(
                    contexts.HangarServerStatusContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES,
                TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES_UI,
                common.SettingsMinimapCircles(
                    contexts.SettingsMinimapContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_SWITCH_MODE,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_SWITCH_MODE_UI,
                common.SettingKeySwitchMode(contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_HIGHLIGHTLOCATION,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_HIGHLIGHTLOCATION_UI,
                common.SettingsKeyHighlightLocation(
                    contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_HIGHLIGHTTARGET,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_HIGHLIGHTTARGET_UI,
                common.SettingsKeyHighlightTarget(
                    contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_SHOWRADIALMENU,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_SHOWRADIALMENU_UI,
                common.SettingsKeyShowRadialMenu(
                    contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_SHOW_LOCATION_MARKERS,
                TOOLTIPS_CONSTANTS.SETTINGS_SHOW_LOCATION_MARKERS_UI,
                common.SettingsShowLocationMarkers(
                    contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_CHARGE_FIRE,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_CHARGE_FIRE_UI,
                common.SettingsKeyChargeFire(contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_SWITCH_EQUIPMENT,
                TOOLTIPS_CONSTANTS.SETTINGS_SWITCH_EQUIPMENT_UI,
                common.SettingsSwitchEquipment(contexts.ToolTipContext(None))))
示例#3
0
     'tooltip': TOOLTIPS_CONSTANTS.FORT_SORTIE_UI,
     'method':
     common.FortSortieTooltipData(contexts.HangarContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.ENVIRONMENT: {
     'tooltip': TOOLTIPS_CONSTANTS.ENVIRONMENT_UI,
     'method':
     common.EnvironmentTooltipData(contexts.HangarContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES: {
     'tooltip':
     TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES_UI,
     'method':
     common.SettingsMinimapCircles(
         contexts.SettingsMinimapContext(None)).buildToolTip,
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO: {
     'tooltip':
     TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO_UI,
     'method':
     common.SquadRestrictionsInfo(
         contexts.SquadRestrictionContext(None)).buildToolTip,
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO: {
     'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
     'method':