Exemplo n.º 1
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.fortifications.components.StrongholdBattlesListView import StrongholdBattlesListView
    from gui.Scaleform.daapi.view.lobby.fortifications.StrongholdBattleRoom import StrongholdBattleRoom
    from gui.Scaleform.daapi.view.lobby.fortifications.StrongholdBattleRoomWindow import StrongholdBattleRoomWindow
    from gui.Scaleform.daapi.view.lobby.fortifications.FortReserveSelectPopover import FortReserveSelectPopover
    from gui.Scaleform.daapi.view.lobby.fortifications.StrongholdSendInvitesWindow import StrongholdSendInvitesWindow
    return (GroupedViewSettings(
        FORTIFICATION_ALIASES.STRONGHOLD_SEND_INVITES_WINDOW_PY,
        StrongholdSendInvitesWindow, 'sendInvitesWindow.swf', ViewTypes.WINDOW,
        '', FORTIFICATION_ALIASES.STRONGHOLD_SEND_INVITES_WINDOW_PY,
        ScopeTemplates.DEFAULT_SCOPE, True),
            GroupedViewSettings(
                FORTIFICATION_ALIASES.FORT_RESERVE_SELECT_POPOVER_ALIAS,
                FortReserveSelectPopover,
                FORTIFICATION_ALIASES.FORT_FITTING_SELECT_POPOVER_UI,
                ViewTypes.WINDOW,
                FORTIFICATION_ALIASES.FORT_RESERVE_SELECT_POPOVER_ALIAS,
                FORTIFICATION_ALIASES.FORT_RESERVE_SELECT_POPOVER_ALIAS,
                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(
                FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_WINDOW_ALIAS,
                StrongholdBattleRoomWindow,
                FORTIFICATION_ALIASES.FORT_BATTLE_ROOM_WINDOW_UI,
                ViewTypes.WINDOW, '',
                FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_WINDOW_ALIAS,
                ScopeTemplates.DEFAULT_SCOPE, True),
            ViewSettings(
                FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_LIST_VIEW_PY,
                StrongholdBattlesListView, None, ViewTypes.COMPONENT, None,
                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_VIEW_PY,
                         StrongholdBattleRoom, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 2
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.exchange.ConfirmExchangeDialog import ConfirmExchangeDialog
    from gui.Scaleform.daapi.view.lobby.exchange.ExchangeWindow import ExchangeWindow
    from gui.Scaleform.daapi.view.lobby.exchange.ExchangeXPWindow import ExchangeXPWindow
    from gui.Scaleform.daapi.view.lobby.exchange.ExchangeFreeToTankmanXpWindow import ExchangeFreeToTankmanXpWindow
    return (GroupedViewSettings(VIEW_ALIAS.CONFIRM_EXCHANGE_DIALOG,
                                ConfirmExchangeDialog,
                                'confirmExchangeDialog.swf', ViewTypes.WINDOW,
                                'confirmExchangeDialog', None,
                                ScopeTemplates.LOBBY_SUB_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EXCHANGE_WINDOW, ExchangeWindow,
                                'exchangeWindow.swf', ViewTypes.WINDOW,
                                'exchangeWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EXCHANGE_XP_WINDOW,
                                ExchangeXPWindow, 'exchangeXPWindow.swf',
                                ViewTypes.WINDOW, 'exchangeXPWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EXCHANGE_FREE_TO_TANKMAN_XP_WINDOW,
                                ExchangeFreeToTankmanXpWindow,
                                'exchangeFreeToTankmanXpWindow.swf',
                                ViewTypes.WINDOW,
                                'exchangeFreeToTankmanXpWindow',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                isModal=True,
                                canDrag=False))
Exemplo n.º 3
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.clans.invites.ClanPersonalInvitesView import ClanPersonalInvitesView
    from gui.Scaleform.daapi.view.lobby.clans.invites.ClanPersonalInvitesWindow import ClanPersonalInvitesWindow
    from gui.Scaleform.daapi.view.lobby.clans.invites.ClanSendInvitesWindow import ClanSendInvitesWindow
    from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfileGlobalMapInfoView import ClanProfileGlobalMapInfoView
    from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfileGlobalMapPromoView import ClanProfileGlobalMapPromoView
    from gui.Scaleform.daapi.view.lobby.clans.search.ClanSearchInfo import ClanSearchInfo
    from gui.Scaleform.daapi.view.lobby.clans.search.ClanSearchWindow import ClanSearchWindow
    from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfileStrongholdsView import ClanProfileStrongholdsView
    from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfileGlobalMapView import ClanProfileGlobalMapView
    from gui.Scaleform.daapi.view.lobby.clans.invites.ClanInvitesView import ClanInvitesView
    from gui.Scaleform.daapi.view.lobby.clans.invites.ClanInvitesWindow import ClanInvitesWindow
    from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfileMainWindow import ClanProfileMainWindow
    from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfilePersonnelView import ClanProfilePersonnelView
    from gui.Scaleform.daapi.view.lobby.clans.invites.ClanRequestsView import ClanRequestsView
    from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfileSummaryView import ClanProfileSummaryView
    from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfileTableStatisticsView import ClanProfileTableStatisticsView
    return (GroupedViewSettings(CLANS_ALIASES.CLAN_PROFILE_MAIN_WINDOW_PY, ClanProfileMainWindow, CLANS_ALIASES.CLAN_PROFILE_MAIN_WINDOW_UI, ViewTypes.WINDOW, '', CLANS_ALIASES.CLAN_PROFILE_MAIN_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True),
     GroupedViewSettings(CLANS_ALIASES.CLAN_PROFILE_INVITES_WINDOW_PY, ClanInvitesWindow, 'clanInvitesWindow.swf', ViewTypes.WINDOW, CLANS_ALIASES.CLAN_PROFILE_INVITES_WINDOW_PY, None, ScopeTemplates.LOBBY_SUB_SCOPE),
     GroupedViewSettings(CLANS_ALIASES.CLAN_PROFILE_SEND_INVITES_WINDOW_PY, ClanSendInvitesWindow, 'sendInvitesWindow.swf', ViewTypes.WINDOW, '', CLANS_ALIASES.CLAN_PROFILE_SEND_INVITES_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(CLANS_ALIASES.CLAN_PERSONAL_INVITES_WINDOW_PY, ClanPersonalInvitesWindow, CLANS_ALIASES.CLAN_PERSONAL_INVITES_WINDOW_UI, ViewTypes.WINDOW, CLANS_ALIASES.CLAN_PERSONAL_INVITES_WINDOW_PY, None, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_SUMMARY_VIEW_ALIAS, ClanProfileSummaryView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_PERSONNEL_VIEW_ALIAS, ClanProfilePersonnelView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_STRONGHOLDS_VIEW_ALIAS, ClanProfileStrongholdsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_GLOBALMAP_VIEW_ALIAS, ClanProfileGlobalMapView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_GLOBALMAP_PROMO_VIEW_ALIAS, ClanProfileGlobalMapPromoView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_GLOBALMAP_INFO_VIEW_ALIAS, ClanProfileGlobalMapInfoView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_REQUESTS_VIEW_ALIAS, ClanRequestsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_INVITES_VIEW_ALIAS, ClanInvitesView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PROFILE_TABLE_STATISTICS_VIEW_ALIAS, ClanProfileTableStatisticsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_PERSONAL_INVITES_VIEW_ALIAS, ClanPersonalInvitesView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(CLANS_ALIASES.CLAN_SEARCH_WINDOW_PY, ClanSearchWindow, 'clanSearchWindow.swf', ViewTypes.WINDOW, CLANS_ALIASES.CLAN_SEARCH_WINDOW_PY, None, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(CLANS_ALIASES.CLAN_SEARCH_INFO_PY, ClanSearchInfo, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 4
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.server_events.EventsWindow import EventsWindow
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsPersonalWelcomeView import QuestsPersonalWelcomeView
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsSeasonAwardsWindow import QuestsSeasonAwardsWindow
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsContentTabs import QuestsContentTabs
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsSeasonsView import QuestsSeasonsView
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsTileChainsView import FalloutQuestsTileChainsView, RandomQuestsTileChainsView
    from gui.Scaleform.genConsts.QUESTS_ALIASES import QUESTS_ALIASES
    return (GroupedViewSettings(VIEW_ALIAS.EVENTS_WINDOW, EventsWindow,
                                'questsWindow.swf', ViewTypes.WINDOW, '', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.QUESTS_SEASON_AWARDS_WINDOW,
                                QuestsSeasonAwardsWindow,
                                'questsSeasonAwardsWindow.swf',
                                ViewTypes.WINDOW, 'pqSeasonAwards', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.PERSONAL_WELCOME_VIEW_ALIAS,
                         QuestsPersonalWelcomeView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.SEASONS_VIEW_ALIAS, QuestsSeasonsView,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.RANDOM_TILE_CHAINS_VIEW_ALIAS,
                         RandomQuestsTileChainsView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.FALLOUT_TILE_CHAINS_VIEW_ALIAS,
                         FalloutQuestsTileChainsView, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.QUESTS_CONTENT_TABS_PY_ALIAS,
                         QuestsContentTabs, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 5
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.hangar.AmmunitionPanel import AmmunitionPanel
    from gui.Scaleform.daapi.view.lobby.hangar.Crew import Crew
    from gui.Scaleform.daapi.view.lobby.hangar.CrewAboutDogWindow import CrewAboutDogWindow
    from gui.Scaleform.daapi.view.lobby.hangar.Hangar import Hangar
    from gui.Scaleform.daapi.view.lobby.hangar.ResearchPanel import ResearchPanel
    from gui.Scaleform.daapi.view.lobby.hangar.SwitchModePanel import SwitchModePanel
    from gui.Scaleform.daapi.view.lobby.hangar.TechnicalMaintenance import TechnicalMaintenance
    from gui.Scaleform.daapi.view.lobby.hangar.TmenXpPanel import TmenXpPanel
    from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehicleParameters
    from gui.Scaleform.daapi.view.lobby.hangar.filter_popover import FilterPopover
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import TankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import FalloutTankCarousel
    return (ViewSettings(VIEW_ALIAS.LOBBY_HANGAR, Hangar, 'hangar.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_HANGAR, ScopeTemplates.LOBBY_SUB_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.CREW_ABOUT_DOG_WINDOW, CrewAboutDogWindow, 'simpleWindow.swf', ViewTypes.WINDOW, 'aboutDogWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.TECHNICAL_MAINTENANCE, TechnicalMaintenance, 'technicalMaintenance.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER, FilterPopover, 'filtersPopoverView.swf', ViewTypes.WINDOW, VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER, VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.FITTING_SELECT_POPOVER, FittingSelectPopover, 'fittingSelectPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.FITTING_SELECT_POPOVER, VIEW_ALIAS.FITTING_SELECT_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(HANGAR_ALIASES.AMMUNITION_PANEL, AmmunitionPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(HANGAR_ALIASES.RESEARCH_PANEL, ResearchPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.SWITCH_MODE_PANEL, SwitchModePanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(HANGAR_ALIASES.TANK_CAROUSEL, TankCarousel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(HANGAR_ALIASES.FALLOUT_TANK_CAROUSEL, FalloutTankCarousel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(HANGAR_ALIASES.TMEN_XP_PANEL, TmenXpPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(HANGAR_ALIASES.VEHICLE_PARAMETERS, VehicleParameters, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(HANGAR_ALIASES.CREW, Crew, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 6
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_add_vehicle_popover import VehicleCompareAddVehiclePopover
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_cart_popover import VehicleCompareCartPopover
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_modules_view import VehicleModulesView
    return (ViewSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_MODULES_VIEW,
                         VehicleModulesView, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_CONFIGURATOR_VIEW,
                         VehicleCompareConfiguratorView, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(
                VEHICLE_COMPARE_CONSTANTS.VEHICLE_CMP_ADD_VEHICLE_POPOVER,
                VehicleCompareAddVehiclePopover,
                'vehicleCompareAddVehiclePopover.swf', ViewTypes.WINDOW,
                'VehicleCompareAddVehiclePopover',
                VEHICLE_COMPARE_CONSTANTS.VEHICLE_CMP_ADD_VEHICLE_POPOVER,
                ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
            GroupedViewSettings(
                VEHICLE_COMPARE_CONSTANTS.VEHICLE_COMPARE_CART_POPOVER,
                VehicleCompareCartPopover, 'vehicleCompareCartPopover.swf',
                ViewTypes.WINDOW, 'vehicleCompareCartPopover',
                VEHICLE_COMPARE_CONSTANTS.VEHICLE_COMPARE_CART_POPOVER,
                ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
            ViewSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_COMPARE_PARAMS,
                         VehicleCompareParameters, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 7
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.header.AccountPopover import AccountPopover
    from gui.Scaleform.daapi.view.lobby.header.BattleTypeSelectPopover import BattleTypeSelectPopover
    from gui.Scaleform.daapi.view.lobby.header.SquadTypeSelectPopover import SquadTypeSelectPopover
    from gui.Scaleform.daapi.view.lobby.header.QuestsControl import QuestsControl
    from gui.Scaleform.daapi.view.lobby.header.LobbyTicker import LobbyTicker
    from gui.Scaleform.daapi.view.lobby.header.LobbyHeader import LobbyHeader
    from gui.Scaleform.daapi.view.bootcamp.BCLobbyHeader import BCLobbyHeader
    return (GroupedViewSettings(VIEW_ALIAS.ACCOUNT_POPOVER, AccountPopover,
                                'accountPopover.swf', ViewTypes.WINDOW,
                                'accountPopover', VIEW_ALIAS.ACCOUNT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER,
                                BattleTypeSelectPopover,
                                'itemSelectorPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER,
                                VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER,
                                SquadTypeSelectPopover,
                                'itemSelectorPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER,
                                VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.QUESTS_CONTROL, QuestsControl, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                VIEW_ALIAS.LOBBY_HEADER,
                BootcampComponentOverride(LobbyHeader, BCLobbyHeader), None,
                ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.TICKER, LobbyTicker, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 8
0
def getViewSettings():
    from gui.Scaleform.daapi.view.login.EULA import EULADlg
    from gui.Scaleform.daapi.view.login.IntroPage import IntroPage
    from gui.Scaleform.daapi.view.login.LegalInfoWindow import LegalInfoWindow
    from gui.Scaleform.daapi.view.login.LoginQueue import LoginQueue
    from gui.Scaleform.daapi.view.login.RssNewsFeed import RssNewsFeed
    if GUI_SETTINGS.socialNetworkLogin['enabled']:
        from SocialLoginView import SocialLoginView as LoginView
    else:
        from LoginView import LoginView
    return (ViewSettings(VIEW_ALIAS.INTRO_VIDEO, IntroPage, 'introPage.swf',
                         ViewTypes.DEFAULT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.LOGIN, LoginView, 'login.swf',
                         ViewTypes.DEFAULT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EULA, EULADlg, 'EULADlg.swf',
                                ViewTypes.TOP_WINDOW, '', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EULA_FULL, EULADlg,
                                'EULAFullDlg.swf', ViewTypes.TOP_WINDOW, '',
                                None, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.LOGIN_QUEUE, LoginQueue,
                                'LoginQueueWindow.swf', ViewTypes.TOP_WINDOW,
                                '', None, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.LEGAL_INFO_WINDOW, LegalInfoWindow,
                                'legalInfoWindow.swf', ViewTypes.WINDOW,
                                'legalInfoWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.RSS_NEWS_FEED, RssNewsFeed, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 9
0
def getViewSettings():
    from gui.Scaleform.daapi.view.common.report_bug import ReportBugPanel
    from gui.Scaleform.daapi.view.common.settings import SettingsWindow
    from gui.Scaleform.daapi.view.common.settings.acoustic_popover import AcousticPopover
    from gui.Scaleform.daapi.view.dialogs.SimpleDialog import SimpleDialog
    from gui.Scaleform.framework.WaitingView import WaitingView
    from gui.Scaleform.managers.Cursor import Cursor
    return (ViewSettings(VIEW_ALIAS.CURSOR, Cursor, 'cursor.swf',
                         ViewTypes.CURSOR, None, ScopeTemplates.GLOBAL_SCOPE),
            ViewSettings(VIEW_ALIAS.WAITING, WaitingView, 'waiting.swf',
                         ViewTypes.WAITING, None, ScopeTemplates.GLOBAL_SCOPE),
            ViewSettings(VIEW_ALIAS.REPORT_BUG, ReportBugPanel, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.SIMPLE_DIALOG, SimpleDialog,
                                'simpleDialog.swf', ViewTypes.TOP_WINDOW, '',
                                None, ScopeTemplates.DYNAMIC_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.SETTINGS_WINDOW, SettingsWindow,
                                'settingsWindow.swf', ViewTypes.TOP_WINDOW,
                                'settingsWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.ACOUSTIC_POPOVER, AcousticPopover,
                                'acousticPopover.swf', ViewTypes.TOP_WINDOW,
                                VIEW_ALIAS.ACOUSTIC_POPOVER,
                                VIEW_ALIAS.ACOUSTIC_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 10
0
def getViewSettings():
    from gui.Scaleform.daapi.view.common.report_bug import ReportBugPanel
    from gui.Scaleform.daapi.view.common.settings import SettingsWindow
    from gui.Scaleform.daapi.view.common.settings.gamma_wizard import GammaWizardView
    from gui.Scaleform.daapi.view.common.settings.color_settings_view import ColorSettingsView
    from gui.Scaleform.daapi.view.common.settings.acoustic_popover import AcousticPopover
    from gui.Scaleform.daapi.view.dialogs.SimpleDialog import SimpleDialog
    from gui.Scaleform.daapi.view.dialogs.bootcamp_dialogs import ExecutionChooserDialog
    from gui.Scaleform.framework.WaitingView import WaitingView
    from gui.Scaleform.managers.Cursor import Cursor
    SETTINGS_WINDOW_SCOPE = ScopeTemplates.SimpleScope(
        VIEW_ALIAS.SETTINGS_WINDOW, ScopeTemplates.DEFAULT_SCOPE)
    return (ViewSettings(VIEW_ALIAS.CURSOR, Cursor, 'cursor.swf',
                         ViewTypes.CURSOR, None, ScopeTemplates.GLOBAL_SCOPE),
            ViewSettings(VIEW_ALIAS.WAITING, WaitingView, 'waiting.swf',
                         ViewTypes.WAITING, None, ScopeTemplates.GLOBAL_SCOPE),
            ViewSettings(VIEW_ALIAS.REPORT_BUG, ReportBugPanel, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.SIMPLE_DIALOG,
                                SimpleDialog,
                                'simpleDialog.swf',
                                ViewTypes.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DYNAMIC_SCOPE,
                                isModal=True,
                                canDrag=False),
            GroupedViewSettings(VIEW_ALIAS.SETTINGS_WINDOW,
                                SettingsWindow,
                                'settingsWindow.swf',
                                ViewTypes.TOP_WINDOW,
                                'settingsWindow',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                isModal=True,
                                canDrag=False),
            ViewSettings(VIEW_ALIAS.GAMMA_WIZARD, GammaWizardView,
                         'gammaWizard.swf', ViewTypes.OVERLAY,
                         VIEW_ALIAS.GAMMA_WIZARD,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.COLOR_SETTING, ColorSettingsView,
                         'colorSettings.swf', ViewTypes.OVERLAY,
                         VIEW_ALIAS.COLOR_SETTING,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_EXECUTION_CHOOSER,
                         ExecutionChooserDialog,
                         'BCDialogWindow.swf',
                         ViewTypes.TOP_WINDOW,
                         None,
                         ScopeTemplates.DYNAMIC_SCOPE,
                         isModal=True),
            GroupedViewSettings(VIEW_ALIAS.ACOUSTIC_POPOVER, AcousticPopover,
                                'acousticPopover.swf', ViewTypes.TOP_WINDOW,
                                VIEW_ALIAS.ACOUSTIC_POPOVER,
                                VIEW_ALIAS.ACOUSTIC_POPOVER,
                                SETTINGS_WINDOW_SCOPE))
Exemplo n.º 11
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.customization.customization_properties_sheet import CustomizationPropertiesSheet
    from gui.Scaleform.daapi.view.lobby.customization.customization_bottom_panel import CustomizationBottomPanel
    from gui.Scaleform.daapi.view.lobby.customization.filter_popover import FilterPopover
    from gui.Scaleform.daapi.view.lobby.customization.installed_items_popover import InstalledItemsPopover
    from gui.Scaleform.daapi.view.lobby.customization.installed_kit_popover import InstalledKitPopover
    from gui.Scaleform.daapi.view.lobby.customization.purchase_window import PurchaseWindow
    from gui.Scaleform.daapi.view.dialogs.confirm_customization_item_dialog import ConfirmCustomizationItemDialog
    return (GroupedViewSettings(
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, FilterPopover,
        'customizationFiltersPopoverView.swf', ViewTypes.WINDOW,
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER,
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER,
                                InstalledItemsPopover,
                                'customizationItemsPopover.swf',
                                ViewTypes.WINDOW,
                                VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER,
                                VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER,
                                InstalledKitPopover,
                                'customizationKitPopover.swf',
                                ViewTypes.WINDOW,
                                VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER,
                                VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_PURCHASE_WINDOW,
                                PurchaseWindow,
                                'customizationBuyWindow.swf',
                                ViewTypes.LOBBY_TOP_SUB,
                                'customizationBuyWindow',
                                None,
                                ScopeTemplates.LOBBY_SUB_SCOPE,
                                isModal=True,
                                canDrag=False),
            GroupedViewSettings(
                CUSTOMIZATION_ALIASES.CONFIRM_CUSTOMIZATION_ITEM_DIALOG,
                ConfirmCustomizationItemDialog,
                'confirmCustomizationItemDialog.swf',
                ViewTypes.TOP_WINDOW,
                'confirmCustomizationItemDialog',
                None,
                ScopeTemplates.DEFAULT_SCOPE,
                isModal=True,
                canDrag=False),
            ViewSettings(VIEW_ALIAS.CUSTOMIZATION_PROPERTIES_SHEET,
                         CustomizationPropertiesSheet, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.CUSTOMIZATION_BOTTOM_PANEL,
                         CustomizationBottomPanel, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 12
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.server_events.EventsWindow import EventsWindow
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsCurrentTab import QuestsCurrentTab
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsLadderTab import QuestsLadderTab
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsPersonalWelcomeView import QuestsPersonalWelcomeView
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsSeasonAwardsWindow import QuestsSeasonAwardsWindow
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsContentTabs import QuestsContentTabs
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsSeasonsView import QuestsSeasonsView
    from gui.Scaleform.daapi.view.lobby.server_events.QuestsTileChainsView import FalloutQuestsTileChainsView, RandomQuestsTileChainsView
    from gui.Scaleform.daapi.view.lobby.server_events.TutorialHangarQuestDetails import TutorialHangarQuestDetails
    from gui.Scaleform.daapi.view.lobby.server_events.MotiveQuestsDetails import MotiveQuestDetails
    from gui.Scaleform.daapi.view.lobby.server_events.TutorialQuestsTab import TutorialQuestsTab
    from gui.Scaleform.genConsts.QUESTS_ALIASES import QUESTS_ALIASES
    return (GroupedViewSettings(VIEW_ALIAS.EVENTS_WINDOW, EventsWindow,
                                'questsWindow.swf', ViewTypes.WINDOW, '', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.QUESTS_SEASON_AWARDS_WINDOW,
                                QuestsSeasonAwardsWindow,
                                'questsSeasonAwardsWindow.swf',
                                ViewTypes.WINDOW, 'pqSeasonAwards', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.BEGINNER_QUESTS_VIEW_ALIAS,
                         TutorialQuestsTab, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.COMMON_QUESTS_VIEW_ALIAS,
                         QuestsCurrentTab, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.LADDER_QUESTS_VIEW_ALIAS,
                         QuestsLadderTab, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.PERSONAL_WELCOME_VIEW_ALIAS,
                         QuestsPersonalWelcomeView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.SEASONS_VIEW_ALIAS, QuestsSeasonsView,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.RANDOM_TILE_CHAINS_VIEW_ALIAS,
                         RandomQuestsTileChainsView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.FALLOUT_TILE_CHAINS_VIEW_ALIAS,
                         FalloutQuestsTileChainsView, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.TUTORIAL_HANGAR_QUEST_DETAILS_PY_ALIAS,
                         TutorialHangarQuestDetails, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.QUESTS_CONTENT_TABS_PY_ALIAS,
                         QuestsContentTabs, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(
                QUESTS_ALIASES.TUTORIAL_HANGAR_MOTIVE_QUEST_DETAILS_PY_ALIAS,
                MotiveQuestDetails, None, ViewTypes.COMPONENT, None,
                ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 13
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.customization.filter_popover import FilterPopover
    from gui.Scaleform.daapi.view.lobby.customization.purchase_window import PurchaseWindow
    return (GroupedViewSettings(
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, FilterPopover,
        'customizationFiltersPopoverView.swf', ViewTypes.WINDOW,
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER,
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_PURCHASE_WINDOW,
                                PurchaseWindow, 'customizationBuyWindow.swf',
                                ViewTypes.TOP_WINDOW, 'customizationBuyWindow',
                                None, ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 14
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.hangar.filter_popover import VehiclesFilterPopover
    from gui.Scaleform.daapi.view.lobby.missions.mission_details_container_view import MissionDetailsContainerView
    from gui.Scaleform.daapi.view.lobby.missions.missions_filter_popover import MissionsFilterPopoverView
    from gui.Scaleform.daapi.view.lobby.missions.missions_page import MissionsPage
    from gui.Scaleform.daapi.view.lobby.missions.missions_token_popover import MissionsTokenPopover
    from gui.Scaleform.daapi.view.lobby.missions.missions_vehicle_selector import MissionsVehicleSelector, VehicleSelectorCarousel
    from gui.Scaleform.daapi.view.lobby.missions.missions_views import MissionsMarathonsView, MissionsCategoriesView, CurrentVehicleMissionsView
    return (ViewSettings(VIEW_ALIAS.LOBBY_MISSIONS, MissionsPage,
                         'missionsPage.swf', ViewTypes.LOBBY_SUB,
                         VIEW_ALIAS.LOBBY_MISSIONS,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.LOBBY_MISSION_DETAILS,
                         MissionDetailsContainerView, 'missionsDetails.swf',
                         ViewTypes.LOBBY_TOP_SUB,
                         VIEW_ALIAS.LOBBY_MISSION_DETAILS,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            ViewSettings(QUESTS_ALIASES.MISSIONS_MARATHONS_VIEW_PY_ALIAS,
                         MissionsMarathonsView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.VIEW_SCOPE),
            ViewSettings(QUESTS_ALIASES.MISSIONS_CATEGORIES_VIEW_PY_ALIAS,
                         MissionsCategoriesView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.VIEW_SCOPE),
            ViewSettings(QUESTS_ALIASES.CURRENT_VEHICLE_MISSIONS_VIEW_PY_ALIAS,
                         CurrentVehicleMissionsView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.VIEW_SCOPE),
            ViewSettings(QUESTS_ALIASES.MISSIONS_VEHICLE_SELECTOR_ALIAS,
                         MissionsVehicleSelector, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(QUESTS_ALIASES.VEHICLE_SELECTOR_CAROUSEL_ALIAS,
                         VehicleSelectorCarousel, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(QUESTS_ALIASES.MISSIONS_FILTER_POPOVER_ALIAS,
                                MissionsFilterPopoverView,
                                'missionsFilterPopoverView.swf',
                                ViewTypes.WINDOW,
                                QUESTS_ALIASES.MISSIONS_FILTER_POPOVER_ALIAS,
                                QUESTS_ALIASES.MISSIONS_FILTER_POPOVER_ALIAS,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(QUESTS_ALIASES.MISSIONS_TOKEN_POPOVER_ALIAS,
                                MissionsTokenPopover,
                                'missionsTokenPopover.swf', ViewTypes.WINDOW,
                                QUESTS_ALIASES.MISSIONS_TOKEN_POPOVER_ALIAS,
                                QUESTS_ALIASES.MISSIONS_TOKEN_POPOVER_ALIAS,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.VEHICLES_FILTER_POPOVER,
                                VehiclesFilterPopover,
                                'vehiclesFiltersPopoverView.swf',
                                ViewTypes.WINDOW,
                                VIEW_ALIAS.VEHICLES_FILTER_POPOVER,
                                VIEW_ALIAS.VEHICLES_FILTER_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 15
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.crewOperations.CrewOperationsPopOver import CrewOperationsPopOver
    from gui.Scaleform.daapi.view.lobby.crewOperations.RetrainCrewWindow import RetrainCrewWindow
    return (GroupedViewSettings(VIEW_ALIAS.CREW_OPERATIONS_POPOVER,
                                CrewOperationsPopOver,
                                'crewOperationsPopOver.swf', ViewTypes.WINDOW,
                                'crewOperationsPopOver',
                                VIEW_ALIAS.CREW_OPERATIONS_POPOVER,
                                ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
            GroupedViewSettings(VIEW_ALIAS.RETRAIN_CREW, RetrainCrewWindow,
                                'retrainCrewWindow.swf', ViewTypes.TOP_WINDOW,
                                'retrainCrewWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 16
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_table_view import EventBoardsTableView
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_award_group import EventBoardsAwardGroup
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_pagination import EventBoardsPagination
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_maintenance import EventBoardsMaintenance
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_filter_popover import EventBoardsFilterPopover
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_filter_vehicles_popover import EventBoardsFilterVehiclesPopover
    return (ViewSettings(VIEW_ALIAS.LOBBY_EVENT_BOARDS_TABLE, EventBoardsTableView, 'eventBoardsTable.swf', WindowLayer.TOP_SUB_VIEW, VIEW_ALIAS.LOBBY_EVENT_BOARDS_TABLE, ScopeTemplates.LOBBY_SUB_SCOPE, True),
     ComponentSettings(VIEW_ALIAS.LOBBY_EVENT_BOARDS_AWARDGROUP, EventBoardsAwardGroup, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.LOBBY_EVENT_BOARDS_PAGINATION, EventBoardsPagination, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.LOBBY_EVENT_BOARDS_MAINTENANCE, EventBoardsMaintenance, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(EVENTBOARDS_ALIASES.RESULT_FILTER_POPOVER_ALIAS, EventBoardsFilterPopover, 'FilterPopoverView.swf', WindowLayer.WINDOW, VIEW_ALIAS.VEHICLES_FILTER_POPOVER, EVENTBOARDS_ALIASES.RESULT_FILTER_POPOVER_ALIAS, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(EVENTBOARDS_ALIASES.RESULT_FILTER_POPOVER_VEHICLES_ALIAS, EventBoardsFilterVehiclesPopover, 'FilterVehiclesPopoverView.swf', WindowLayer.WINDOW, VIEW_ALIAS.VEHICLES_FILTER_POPOVER, EVENTBOARDS_ALIASES.RESULT_FILTER_POPOVER_VEHICLES_ALIAS, ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 17
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.cyberSport.CyberSportMainWindow import CyberSportMainWindow
    from gui.Scaleform.daapi.view.lobby.cyberSport.CyberSportIntroView import CyberSportIntroView
    from gui.Scaleform.daapi.view.lobby.cyberSport.CyberSportUnitsListView import CyberSportUnitsListView
    from gui.Scaleform.daapi.view.lobby.cyberSport.CyberSportUnitView import CyberSportUnitView
    from gui.Scaleform.daapi.view.dialogs.CyberSportDialog import CyberSportDialog
    from gui.Scaleform.daapi.view.lobby.cyberSport.RosterSlotSettingsWindow import RosterSlotSettingsWindow
    from gui.Scaleform.daapi.view.lobby.cyberSport.VehicleSelectorPopup import VehicleSelectorPopup
    return (GroupedViewSettings(CYBER_SPORT_ALIASES.CYBER_SPORT_WINDOW_PY,
                                CyberSportMainWindow,
                                CYBER_SPORT_ALIASES.CYBER_SPORT_WINDOW_UI,
                                ViewTypes.WINDOW, '',
                                CYBER_SPORT_ALIASES.CYBER_SPORT_WINDOW_PY,
                                ScopeTemplates.DEFAULT_SCOPE, True),
            GroupedViewSettings(
                CYBER_SPORT_ALIASES.ROSTER_SLOT_SETTINGS_WINDOW_PY,
                RosterSlotSettingsWindow,
                CYBER_SPORT_ALIASES.ROSTER_SLOT_SETTINGS_WINDOW_UI,
                ViewTypes.TOP_WINDOW,
                '',
                None,
                ScopeTemplates.DEFAULT_SCOPE,
                True,
                isModal=True),
            GroupedViewSettings(CYBER_SPORT_ALIASES.VEHICLE_SELECTOR_POPUP_PY,
                                VehicleSelectorPopup,
                                CYBER_SPORT_ALIASES.VEHICLE_SELECTOR_POPUP_UI,
                                ViewTypes.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                True,
                                isModal=True),
            GroupedViewSettings(CYBER_SPORT_ALIASES.CYBER_SPORT_DIALOG_PY,
                                CyberSportDialog,
                                CYBER_SPORT_ALIASES.CYBER_SPORT_DIALOG_UI,
                                ViewTypes.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DYNAMIC_SCOPE,
                                True,
                                isModal=True),
            ViewSettings(CYBER_SPORT_ALIASES.INTRO_VIEW_PY,
                         CyberSportIntroView, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(CYBER_SPORT_ALIASES.UNITS_LIST_VIEW_PY,
                         CyberSportUnitsListView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(CYBER_SPORT_ALIASES.UNIT_VIEW_PY, CyberSportUnitView,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings():
    from gui.Scaleform.daapi.view.login.EULA import EULADlg
    from gui.Scaleform.daapi.view.login.IntroPage import IntroPage
    from gui.Scaleform.daapi.view.login.LegalInfoWindow import LegalInfoWindow
    from gui.Scaleform.daapi.view.login.LoginQueue import LoginQueue
    from gui.Scaleform.daapi.view.login.RssNewsFeed import RssNewsFeed
    from gui.Scaleform.daapi.view.bootcamp.bc_intro_page import BCIntroPage
    if GUI_SETTINGS.socialNetworkLogin['enabled']:
        from SocialLoginView import SocialLoginView as LoginView
    else:
        from LoginView import LoginView
    return (ViewSettings(VIEW_ALIAS.INTRO_VIDEO, IntroPage, 'introPage.swf',
                         WindowLayer.VIEW, None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.LOGIN, LoginView, 'login.swf',
                         WindowLayer.VIEW, None, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EULA,
                                EULADlg,
                                'EULADlg.swf',
                                WindowLayer.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                isModal=True,
                                canDrag=False),
            GroupedViewSettings(VIEW_ALIAS.LEGAL_INFO_WINDOW, LegalInfoWindow,
                                'legalInfoWindow.swf', WindowLayer.WINDOW,
                                'legalInfoWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EULA_FULL,
                                EULADlg,
                                'EULAFullDlg.swf',
                                WindowLayer.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                isModal=True,
                                canClose=False,
                                canDrag=False),
            GroupedViewSettings(VIEW_ALIAS.LOGIN_QUEUE,
                                LoginQueue,
                                'LoginQueueWindow.swf',
                                WindowLayer.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                canClose=False),
            ComponentSettings(VIEW_ALIAS.RSS_NEWS_FEED, RssNewsFeed,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_INTRO, BCIntroPage,
                         'BCIntroVideo.swf', WindowLayer.TOP_WINDOW, None,
                         ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 19
0
def getViewSettings():
    return (GroupedViewSettings(
        SHOP20_ALIASES.VEHICLE_SELL_CONFIRMATION_POPOVER_ALIAS,
        VehicleSellConfirmationPopover, 'vehicleSellConfirmationPopover.swf',
        ViewTypes.WINDOW,
        SHOP20_ALIASES.VEHICLE_SELL_CONFIRMATION_POPOVER_ALIAS,
        SHOP20_ALIASES.VEHICLE_SELL_CONFIRMATION_POPOVER_ALIAS,
        ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(
                SHOP20_ALIASES.RENTAL_TERM_SELECTION_POPOVER_ALIAS,
                RentalTermSelectionPopover, 'rentalTermSelectionPopover.swf',
                ViewTypes.WINDOW,
                SHOP20_ALIASES.RENTAL_TERM_SELECTION_POPOVER_ALIAS,
                SHOP20_ALIASES.RENTAL_TERM_SELECTION_POPOVER_ALIAS,
                ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 20
0
def getViewSettings():
    from gui.Scaleform.daapi.view.bootcamp.BCOutroVideoPage import BCOutroVideoPage
    from gui.Scaleform.daapi.view.bootcamp.BCTooltipsWindow import BCTooltipsWindow
    from gui.Scaleform.daapi.view.bootcamp.BCMessageWindow import BCMessageWindow
    from gui.Scaleform.daapi.view.bootcamp.BCHighlights import BCHighlights
    from gui.Scaleform.daapi.view.bootcamp.BCNationsWindow import BCNationsWindow
    from gui.Scaleform.daapi.view.bootcamp.BCVehicleBuyView import BCVehicleBuyView
    from gui.Scaleform.daapi.view.bootcamp.BCQuestsView import BCQuestsView
    from gui.Scaleform.daapi.view.bootcamp.BCBattleSelector import BCBattleSelector
    from gui.Scaleform.daapi.view.bootcamp.BCAppearManager import BCAppearManager
    from gui.Scaleform.daapi.view.bootcamp.BCQueueDialog import BCQueueDialog
    return (ViewSettings(VIEW_ALIAS.BOOTCAMP_OUTRO_VIDEO, BCOutroVideoPage,
                         'BCOutroVideo.swf', ViewTypes.TOP_WINDOW, None,
                         ScopeTemplates.TOP_WINDOW_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_TOOLTIPS_WINDOW, BCTooltipsWindow,
                         'BCTooltipsWindow.swf', ViewTypes.WINDOW, None,
                         ScopeTemplates.TOP_WINDOW_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BOOTCAMP_MESSAGE_WINDOW,
                                BCMessageWindow, 'BCMessageWindow.swf',
                                ViewTypes.WINDOW, '', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_LOBBY_HIGHLIGHTS, BCHighlights,
                         'BCHighlights.swf', ViewTypes.LOBBY_TOP_SUB,
                         VIEW_ALIAS.BOOTCAMP_LOBBY_HIGHLIGHTS,
                         ScopeTemplates.DEFAULT_SCOPE, True),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_NATIONS_WINDOW, BCNationsWindow,
                         'BCNationsWindow.swf', ViewTypes.WINDOW,
                         VIEW_ALIAS.BOOTCAMP_NATIONS_WINDOW,
                         ScopeTemplates.DEFAULT_SCOPE, True),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_VEHICLE_BUY_VIEW,
                         BCVehicleBuyView, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BOOTCAMP_BATTLE_TYPE_SELECT_POPOVER,
                                BCBattleSelector, 'itemSelectorPopover.swf',
                                ViewTypes.WINDOW,
                                VIEW_ALIAS.BOOTCAMP_BATTLE_TYPE_SELECT_POPOVER,
                                VIEW_ALIAS.BOOTCAMP_BATTLE_TYPE_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BOOTCAMP_QUEUE_DIALOG,
                                BCQueueDialog, 'BCQueueWindow.swf',
                                ViewTypes.TOP_WINDOW, '', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(BOOTCAMP_ALIASES.BOOTCAMP_APPEAR_MANAGER,
                         BCAppearManager, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_QUESTS_VIEW, BCQuestsView,
                         'BCQuestsView.swf', ViewTypes.LOBBY_TOP_SUB, None,
                         ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.missions.personal.personal_missions_map_view import PersonalMissionsMapView
    from gui.Scaleform.daapi.view.lobby.missions.personal.personal_missions_page import PersonalMissionsPage
    from gui.Scaleform.daapi.view.lobby.missions.personal.personal_missions_awards_view import PersonalMissionsAwardsView
    from gui.Scaleform.daapi.view.lobby.missions.personal.personal_missions_details_container_view import PersonalMissionDetailsContainerView
    from gui.Scaleform.daapi.view.lobby.missions.personal.free_sheet_popover import FreeSheetPopover
    return (ViewSettings(VIEW_ALIAS.LOBBY_PERSONAL_MISSIONS, PersonalMissionOperationsPage, 'personalMissionOperationsPage.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_PERSONAL_MISSIONS, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSIONS_PAGE_ALIAS, PersonalMissionsPage, 'personalMissionsPage.swf', ViewTypes.LOBBY_SUB, PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSIONS_PAGE_ALIAS, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSIONS_MAP_VIEW_ALIAS, PersonalMissionsMapView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE),
     ViewSettings(PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSIONS_AWARDS_VIEW_ALIAS, PersonalMissionsAwardsView, 'personalMissionsAwardsView.swf', ViewTypes.LOBBY_SUB, PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSIONS_AWARDS_VIEW_ALIAS, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSION_FIRST_ENTRY_VIEW_ALIAS, PersonalMissionFirstEntryView, 'personalMissionFirstEntryView.swf', ViewTypes.LOBBY_SUB, PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSION_FIRST_ENTRY_VIEW_ALIAS, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(VIEW_ALIAS.LOBBY_PERSONAL_MISSION_DETAILS, PersonalMissionDetailsContainerView, 'personalMissionDetails.swf', ViewTypes.LOBBY_TOP_SUB, VIEW_ALIAS.LOBBY_PERSONAL_MISSION_DETAILS, ScopeTemplates.LOBBY_SUB_SCOPE, True),
     ViewSettings(PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSION_FIRST_ENTRY_AWARD_VIEW_ALIAS, PersonalMissionFirstEntryAwardView, 'personalMissionFirstEntryAwardView.swf', ViewTypes.LOBBY_SUB, PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSION_FIRST_ENTRY_AWARD_VIEW_ALIAS, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSION_AWARD_CONGRATULATION_VIEW_ALIAS, PersonalMissionAwardCongratulationView, 'personalMissionAwardCongratulationView.swf', ViewTypes.OVERLAY, PERSONAL_MISSIONS_ALIASES.PERSONAL_MISSION_AWARD_CONGRATULATION_VIEW_ALIAS, ScopeTemplates.LOBBY_TOP_SUB_SCOPE),
     GroupedViewSettings(PERSONAL_MISSIONS_ALIASES.FREE_SHEET_POPOVER, FreeSheetPopover, 'freeSheetPopoverView.swf', ViewTypes.WINDOW, PERSONAL_MISSIONS_ALIASES.FREE_SHEET_POPOVER, PERSONAL_MISSIONS_ALIASES.FREE_SHEET_POPOVER, ScopeTemplates.LOBBY_SUB_SCOPE),
     GroupedViewSettings(PERSONAL_MISSIONS_ALIASES.TANK_GIRLS_POPOVER, TankgirlsPopover, 'tankgirlsPopoverView.swf', ViewTypes.WINDOW, PERSONAL_MISSIONS_ALIASES.TANK_GIRLS_POPOVER, PERSONAL_MISSIONS_ALIASES.TANK_GIRLS_POPOVER, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings():
    from gui.Scaleform.daapi.view.bootcamp.BCOutroVideoPage import BCOutroVideoPage
    from gui.Scaleform.daapi.view.bootcamp.BCTooltipsWindow import BCTooltipsWindow
    from gui.Scaleform.daapi.view.bootcamp.BCHighlights import BCHighlights
    from gui.Scaleform.daapi.view.bootcamp.BCVehicleBuyView import BCVehicleBuyView
    from gui.Scaleform.daapi.view.bootcamp.BCQuestsView import BCQuestsView
    from gui.Scaleform.daapi.view.bootcamp.BCQueueDialog import BCQueueDialog
    return (ViewSettings(VIEW_ALIAS.BOOTCAMP_OUTRO_VIDEO, BCOutroVideoPage,
                         'BCOutroVideo.swf', ViewTypes.TOP_WINDOW, None,
                         ScopeTemplates.TOP_WINDOW_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_TOOLTIPS_WINDOW, BCTooltipsWindow,
                         'BCTooltipsWindow.swf', ViewTypes.WINDOW, None,
                         ScopeTemplates.TOP_WINDOW_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_LOBBY_HIGHLIGHTS, BCHighlights,
                         'BCHighlights.swf', ViewTypes.LOBBY_TOP_SUB,
                         VIEW_ALIAS.BOOTCAMP_LOBBY_HIGHLIGHTS,
                         ScopeTemplates.DEFAULT_SCOPE, True),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_VEHICLE_BUY_VIEW,
                         BCVehicleBuyView, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BOOTCAMP_QUEUE_DIALOG,
                                BCQueueDialog, 'BCQueueWindow.swf',
                                ViewTypes.TOP_WINDOW, '', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_QUESTS_VIEW, BCQuestsView,
                         'BCQuestsView.swf', ViewTypes.LOBBY_TOP_SUB, None,
                         ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 23
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.storage.storage_view import StorageView
    return (ViewSettings(VIEW_ALIAS.LOBBY_STORAGE, StorageView,
                         'storageView.swf', ViewTypes.LOBBY_SUB,
                         VIEW_ALIAS.LOBBY_STORAGE,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(STORAGE_CONSTANTS.FOR_SELL_VIEW,
                         StorageCategoryForSellView, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(STORAGE_CONSTANTS.IN_HANGAR_VIEW,
                         StorageCategoryInHangarView, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(STORAGE_CONSTANTS.STORAGE_VIEW,
                         InventoryCategoryStorageView, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(STORAGE_CONSTANTS.PERSONAL_RESERVES_VIEW,
                         StorageCategoryPersonalReservesView, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.STORAGE_VEHICLES_FILTER_POPOVER,
                                StorageVehicleFilterPopover,
                                'vehiclesFiltersPopoverView.swf',
                                ViewTypes.WINDOW,
                                VIEW_ALIAS.STORAGE_VEHICLES_FILTER_POPOVER,
                                VIEW_ALIAS.STORAGE_VEHICLES_FILTER_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 24
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.messengerBar.ChannelCarousel import ChannelCarousel
    from gui.Scaleform.daapi.view.lobby.messengerBar.ContactsListButton import ContactsListButton
    from gui.Scaleform.daapi.view.lobby.messengerBar.messenger_bar import MessengerBar
    from gui.Scaleform.daapi.view.lobby.messengerBar.NotificationListButton import NotificationListButton
    from notification.NotificationListView import NotificationListView
    from notification.NotificationPopUpViewer import NotificationPopUpViewer
    return (GroupedViewSettings(VIEW_ALIAS.NOTIFICATIONS_LIST,
                                NotificationListView, 'notificationsList.swf',
                                ViewTypes.WINDOW, 'notificationsList',
                                VIEW_ALIAS.NOTIFICATIONS_LIST,
                                ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
            ViewSettings(VIEW_ALIAS.CHANNEL_CAROUSEL, ChannelCarousel, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.CONTACTS_LIST_BUTTON, ContactsListButton,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.VEHICLE_COMPARE_CART_BUTTON,
                         VehicleCompareCartButton, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.MESSENGER_BAR, MessengerBar, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.NOTIFICATION_LIST_BUTTON,
                         NotificationListButton, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.SYSTEM_MESSAGES, NotificationPopUpViewer,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.missions.linked_set.linkedset_details_container_view import LinkedSetDetailsView
    from gui.Scaleform.daapi.view.lobby.missions.linked_set.linkedset_details_overlay import LinkedSetDetailsOverlay
    from gui.Scaleform.daapi.view.lobby.missions.linked_set.linkedset_hints import LinkedSetHintsView
    return (ViewSettings(LINKEDSET_ALIASES.LINKED_SET_DETAILS_CONTAINER_VIEW,
                         LinkedSetDetailsView, 'linkedSetDetails.swf',
                         WindowLayer.TOP_SUB_VIEW,
                         LINKEDSET_ALIASES.LINKED_SET_DETAILS_CONTAINER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            ComponentSettings(LINKEDSET_ALIASES.LINKED_SET_DETAILS_VIEW_ALIAS,
                              LinkedSetDetailsOverlay,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.LINKEDSET_HINTS, LinkedSetHintsView,
                         'linkedSetHints.swf', WindowLayer.FULLSCREEN_WINDOW,
                         VIEW_ALIAS.LINKEDSET_HINTS,
                         ScopeTemplates.DEFAULT_SCOPE, True),
            GroupedViewSettings(
                LINKEDSET_ALIASES.LINKED_SET_VEHICLE_LIST_POPUP_PY,
                LinkedSetVehicleListPopup,
                LINKEDSET_ALIASES.LINKED_SET_VEHICLE_LIST_POPUP_UI,
                WindowLayer.TOP_WINDOW,
                '',
                None,
                ScopeTemplates.DEFAULT_SCOPE,
                True,
                isModal=True))
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.session_stats.session_stats_overview import SessionStatsOverview
    from gui.Scaleform.daapi.view.lobby.session_stats.session_stats_views import SessionBattleStatsView
    from gui.Scaleform.daapi.view.lobby.session_stats.session_stats_views import SessionVehicleStatsView
    from gui.Scaleform.framework import ViewSettings
    from gui.Scaleform.framework import GroupedViewSettings
    from gui.Scaleform.framework import ViewTypes
    from gui.Scaleform.framework import ScopeTemplates
    return (ViewSettings(
        SESSION_STATS_CONSTANTS.SESSION_BATTLE_STATS_VIEW_PY_ALIAS,
        SessionBattleStatsView, None, ViewTypes.COMPONENT, None,
        ScopeTemplates.VIEW_SCOPE),
            ViewSettings(
                SESSION_STATS_CONSTANTS.SESSION_VEHICLE_STATS_VIEW_PY_ALIAS,
                SessionVehicleStatsView, None, ViewTypes.COMPONENT, None,
                ScopeTemplates.VIEW_SCOPE),
            ViewSettings(
                SESSION_STATS_CONSTANTS.SESSION_STATS_OVERVIEW_PY_ALIAS,
                SessionStatsOverview, None, ViewTypes.COMPONENT, None,
                ScopeTemplates.VIEW_SCOPE),
            ViewSettings(
                SESSION_STATS_CONSTANTS.SESSION_STATS_SETTINGS_PY_ALIAS,
                SessionStatsSettings, None, ViewTypes.COMPONENT, None,
                ScopeTemplates.VIEW_SCOPE),
            GroupedViewSettings(SESSION_STATS_CONSTANTS.SESSION_STATS_POPOVER,
                                SessionStatsPopover, 'sessionStatsPopover.swf',
                                ViewTypes.WINDOW, 'SessionStatsPopover',
                                SESSION_STATS_CONSTANTS.SESSION_STATS_POPOVER,
                                ScopeTemplates.WINDOW_VIEWED_MULTISCOPE))
Exemplo n.º 27
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.historicalBattles.HistoricalBattlesListWindow import HistoricalBattlesListWindow
    return (GroupedViewSettings(
        PREBATTLE_ALIASES.HISTORICAL_BATTLES_LIST_WINDOW_PY,
        HistoricalBattlesListWindow, 'historicalBattlesListWindow.swf',
        ViewTypes.WINDOW, '',
        PREBATTLE_ALIASES.HISTORICAL_BATTLES_LIST_WINDOW_PY,
        ScopeTemplates.DEFAULT_SCOPE, True), )
Exemplo n.º 28
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.wgnc.WGNCDialog import WGNCDialog
    from gui.Scaleform.daapi.view.lobby.wgnc.WGNCPollWindow import WGNCPollWindow
    return (ViewSettings(WGNC_ALIASES.MODAL_BASIC_WINDOW, WGNCDialog,
                         WGNC_ALIASES.SWF_DIALOG_MODAL, ViewTypes.TOP_WINDOW,
                         events.WGNCShowItemEvent.SHOW_BASIC_WINDOW,
                         ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(WGNC_ALIASES.NOT_MODAL_BASIC_WINDOW,
                                WGNCDialog, WGNC_ALIASES.SWF_DIALOG,
                                ViewTypes.WINDOW, WGNC_ALIASES.UI_DIALOG,
                                events.WGNCShowItemEvent.SHOW_BASIC_WINDOW,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(WGNC_ALIASES.POLL_WINDOW, WGNCPollWindow,
                                WGNC_ALIASES.SWF_POLL_WINDOW, ViewTypes.WINDOW,
                                WGNC_ALIASES.UI_POLL_WINDOW,
                                events.WGNCShowItemEvent.SHOW_POLL_WINDOW,
                                ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 29
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehiclePreviewParameters
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.vehicle_preview_buying_panel import VehiclePreviewBuyingPanel
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.trade_in_buying_panel import VehiclePreviewTradeInBuyingPanel
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.vehicle_preview_personal_trade_in_buying_panel import VehiclePreviewPersonalTradeInBuyingPanel
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.offer_gift_buying_panel import VehiclePreviewOfferGiftBuyingPanel
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.browse_tab import VehiclePreviewBrowseTab
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.modules_tab import VehiclePreviewModulesTab, ModulesPanel
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.crew_tab import VehiclePreviewCrewTab
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.pack_items_popover import PackItemsPopover
    from gui.Scaleform.daapi.view.lobby.trade_in.trade_off_widget import TradeOffWidget
    from gui.Scaleform.framework import ScopeTemplates, GroupedViewSettings
    from gui.Scaleform.genConsts.VEHPREVIEW_CONSTANTS import VEHPREVIEW_CONSTANTS
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.progression_styles_buying_panel import VehiclePreviewProgressionStylesBuyingPanel
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.wot_plus_vehicle_preview import VPWotPlusPanel
    return (ComponentSettings(VEHPREVIEW_CONSTANTS.PARAMETERS_PY_ALIAS,
                              VehiclePreviewParameters,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.BUYING_PANEL_PY_ALIAS,
                              VehiclePreviewBuyingPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.TRADE_IN_BUYING_PANEL_PY_ALIAS,
                VehiclePreviewTradeInBuyingPanel,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.PROGRESSION_STYLES_BUYING_PANEL_PY_ALIAS,
                VehiclePreviewProgressionStylesBuyingPanel,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.PERSONAL_TRADE_IN_BUYING_PANEL_PY_ALIAS,
                VehiclePreviewPersonalTradeInBuyingPanel,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.OFFER_GIFT_BUYING_PANEL_PY_ALIAS,
                VehiclePreviewOfferGiftBuyingPanel,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.BROWSE_LINKAGE,
                              VehiclePreviewBrowseTab,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.MODULES_LINKAGE,
                              VehiclePreviewModulesTab,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.MODULES_PY_ALIAS,
                              ModulesPanel, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.CREW_LINKAGE,
                              VehiclePreviewCrewTab,
                              ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.PACK_ITEM_POPOVER, PackItemsPopover,
                                'packItemsPopover.swf', WindowLayer.WINDOW,
                                VIEW_ALIAS.PACK_ITEM_POPOVER,
                                VIEW_ALIAS.PACK_ITEM_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.TRADE_OFF_WIDGET_ALIAS,
                              TradeOffWidget, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.WOT_PLUS_PANEL_LINKAGE,
                              VPWotPlusPanel, ScopeTemplates.DEFAULT_SCOPE))
Exemplo n.º 30
0
def getViewSettings():
    buttonSettings = ViewSettings(MODS_LIST_API_BUTTON_ALIAS,
                                  ModsListButtonView, 'modsListButton.swf',
                                  ViewTypes.WINDOW, None,
                                  ScopeTemplates.GLOBAL_SCOPE)
    popoverSettings = GroupedViewSettings(
        MODS_LIST_API_POPOVER_ALIAS, ModsListPopoverView,
        'modsListPopover.swf', ViewTypes.WINDOW, MODS_LIST_API_POPOVER_ALIAS,
        MODS_LIST_API_POPOVER_ALIAS, ScopeTemplates.DEFAULT_SCOPE)
    return buttonSettings, popoverSettings