Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
Filename : GFxUDKFrontEnd_MainMenu.uc Content : GFx-UDK Front End Implementaiton Copyright : (c) 2010 Scaleform Corp. All Rights Reserved. Notes : Implementation of a main menu for the GFx-UDK front end. Associated Flash content: udk_main_menu.fla Licensees may use this file in accordance with the valid Scaleform Commercial License Agreement provided with the software. This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR ANY PURPOSE.
Core.Object | +-- GFxUI.GFxObject | +-- UTGame.GFxUIView | +-- UTGame.GFxUDKFrontEnd_View | +-- UTGame.GFxUDKFrontEnd_Screen | +-- UTGame.GFxUDKFrontEnd_MainMenu
Constants Summary |
---|
Inherited Contants from UTGame.GFxUDKFrontEnd_View |
---|
FakePlayerIndex |
Variables Summary | |
---|---|
byte | LastSelectedIndex |
GFxObject | ListDataProvider |
GFxClikWidget | ListMC |
array<Option> | ListOptions |
GFxObject | UserLabelTxt |
GFxObject | UserNameTxt |
Inherited Variables from UTGame.GFxUDKFrontEnd_Screen |
---|
AcceptButtonHelpText, AcceptButtonImage, BackBtn, CancelButtonHelpText, CancelButtonImage, FooterMC, HelpTxt, InfoTxt, LogoMC, TitleMC, ViewTitle |
Inherited Variables from UTGame.GFxUDKFrontEnd_View |
---|
MenuManager, ViewName |
Structures Summary | ||
---|---|---|
Option OptionName, OptionLabel, OptionDesc |
Functions Summary | ||
---|---|---|
![]() | DisableSubComponents (bool bDisableComponents)) | |
![]() | ExitDialog_SelectBack (GFxClikWidget.EventData ev )) | |
![]() | ExitDialog_SelectOK (GFxClikWidget.EventData ev )) | |
![]() | OnEscapeKeyPress ())) | |
![]() | OnListChange (GFxClikWidget.EventData ev)) | |
![]() | OnListItemPress (GFxClikWidget.EventData ev)) | |
![]() | OnTopMostView (optional bool bPlayOpenAnimation = false)) | |
![]() | OnViewLoaded ())) | |
![]() | Select_ExitGame ())) | |
![]() | Select_InstantAction ())) | |
![]() | Select_Multiplayer ())) | |
![]() | SetList (GFxObject InList)) | |
![]() | UpdateDescription ())) | |
![]() | UpdateListDataProvider ())) | |
![]() | bool | WidgetInitialized (name WidgetName, name WidgetPath, GFxObject Widget)) |
Inherited Functions from UTGame.GFxUDKFrontEnd_Screen |
---|
FocusIn_BackButton, UpdateHelpButtonImages, WidgetInitialized |
Inherited Functions from UTGame.GFxUDKFrontEnd_View |
---|
DisableSubComponents, MoveBackImpl, OnEscapeKeyPress, OnTopMostView, OnViewActivated, OnViewClosed, OnViewLoaded, PlayCloseAnimation, PlayOpenAnimation, Select_Back, WidgetInitialized |
Variables Detail |
---|
Reference to the list's dataProvider array in AS.
Reference to the list.
Aray of all list options, defined in DefaultUI.ini
Reference to the "USER" label at the bottom right. Label for username textField.
Reference to the User Name textField. This only appears if the user is properly logged in.
Structures Detail |
---|
Structure which defines a unique game mode.
Functions Detail |
---|
Enable/disable sub-components of the view.
Listener for ExitDialog's "Cancel" button press. Pops a dialog from the view stack.
Listener for ExitDialog's "OK" button press. Quits the game.
Listener for the menu's list "CLIK_onChange" event. When the selectedIndex of the list changes, update the title, description, and image information using the data from the list.
Listener for the menu's list "CLIK_itemPress" event. When an item is pressed, retrieve the data associated with the item and use it to trigger the appropriate function call.
Update the view. This method is called whenever the view is pushed or popped from the view stakc.
Configures the view when it is first loaded.
Before exiting the game, spawn a dialog asking the user to confirm his selection.
Pushes the Instant Action view on to the stack. This method is fired by the list's OnListItemPress() listener.
Pushes the Multiplayer view on to the stack. This method is fired by the list's OnListItemPress() listener.
Passes a reference to the list back to the AS View implementation.
Update the info text field with a description of the currently selected index.
Sets up the list's dataProvider using the data pulled from DefaultUI.ini.
Defaultproperties |
---|
defaultproperties { AcceptButtonHelpText="SELECT" CancelButtonHelpText="EXIT GAME" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |