Mostly Harmless
UE2:GUIController (UT2003)
Object >> Interactions >> Interaction >> BaseGUIController >> GUIController |
Contents
- 1 Properties
- 1.1 ActiveControl
- 1.2 ActivePage
- 1.3 AltPressed
- 1.4 AutoLoad
- 1.5 bCurMenuInitialized
- 1.6 bDesignMode
- 1.7 bForceMouseCheck
- 1.8 bHighlightCurrent
- 1.9 bIgnoreNextRelease
- 1.10 bIgnoreUntilPress
- 1.11 bModAuthor
- 1.12 ButtonRepeatDelay
- 1.13 ClickSound
- 1.14 CtrlPressed
- 1.15 CursorFade
- 1.16 CursorStep
- 1.17 DblClickWindow
- 1.18 DownSound
- 1.19 EditSound
- 1.20 FastCursorFade
- 1.21 FastCursorStep
- 1.22 FocusedControl
- 1.23 FontStack
- 1.24 GameResolution
- 1.25 LastClickTime
- 1.26 LastClickX
- 1.27 LastClickY
- 1.28 LastMouseX
- 1.29 LastMouseY
- 1.30 MainNotWanted
- 1.31 MenuMouseSens
- 1.32 MenuStack
- 1.33 MouseCursorOffset
- 1.34 MouseCursors
- 1.35 MouseOverSound
- 1.36 MouseX
- 1.37 MouseY
- 1.38 MoveControl
- 1.39 PersistentStack
- 1.40 RepeatDelta
- 1.41 RepeatKey
- 1.42 RepeatTime
- 1.43 ShiftPressed
- 1.44 SkipControl
- 1.45 StyleNames
- 1.46 StyleStack
- 1.47 UpSound
- 1.48 WhiteBorder
- 1.49 Subobjects
- 2 Delegates
- 3 Functions
- Package:
- XInterface
- This class in other games:
- UT2004, UE2Runtime
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Class: Engine.GUIController
The GUIController is a simple FILO menu stack. You have 3 things you can do. You can Open a menu which adds the menu to the top of the stack. You can Replace a menu which replaces the current menu with the new menu. And you can close a menu, which returns you to the last menu on the stack.
Written by Joe Wilcox (c) 2002, Epic Games, Inc. All Rights Reserved
Properties[edit]
ActiveControl[edit]
Type: GUIComponent
Which control is currently active
ActivePage[edit]
Type: GUIPage
Points to the currently active page
AltPressed[edit]
Type: bool
Alt key is being held
AutoLoad[edit]
Modifiers: config
bCurMenuInitialized[edit]
Type: bool
Has the current Menu Finished initialization
bDesignMode[edit]
Type: bool
Are we in design mode;
bForceMouseCheck[edit]
Type: bool
HACK
bHighlightCurrent[edit]
Type: bool
Highlight the current control being edited
Default value: True
bIgnoreNextRelease[edit]
Type: bool
Used to make sure discard errant releases.
bIgnoreUntilPress[edit]
Type: bool
HACK
bModAuthor[edit]
Type: bool
Modifiers: config
Allows bDesign Mode
ButtonRepeatDelay[edit]
Type: float
The amount of delay for faking button repeats
Default value: 0.25
ClickSound[edit]
Type: Sound
Default value: Sound'MenuSounds.MS_Click'
CtrlPressed[edit]
Type: bool
Ctrl key is being held
CursorFade[edit]
Type: float
How visible is the cursor
CursorStep[edit]
Type: int
Are we fading in or out
Default value: 1
DblClickWindow[edit]
Type: float
How long do you have for a double click
Default value: 0.5
DownSound[edit]
Type: Sound
Default value: Sound'MenuSounds.MS_ListChangeDown'
EditSound[edit]
Type: Sound
Default value: Sound'MenuSounds.MS_Edit'
FastCursorFade[edit]
Type: float
How visible is the cursor
FastCursorStep[edit]
Type: int
Are we fading in or out
Default value: 1
FocusedControl[edit]
Type: GUIComponent
Top most Focused control
FontStack[edit]
Modifiers: editinline
Holds all the possible fonts
Default value, index 0: UT2MenuFont'GUIMenuFont'
Default value, index 1: UT2DefaultFont'GUIDefaultFont'
Default value, index 2: UT2LargeFont'GUILargeFont'
Default value, index 3: UT2HeaderFont'GUIHeaderFont'
Default value, index 4: UT2SmallFont'GUISmallFont'
Default value, index 5: UT2MidGameFont'GUIMidGameFont'
Default value, index 6: UT2SmallHeaderFont'GUISmallHeaderFont'
Default value, index 7: UT2ServerListFont'GUIServerListFont'
Default value, index 8: UT2IRCFont'GUIIRCFont'
GameResolution[edit]
Type: string
LastClickTime[edit]
Type: float
When did the last click occur
LastClickX[edit]
Type: int
LastClickY[edit]
Type: int
Who was the active component
LastMouseX[edit]
Type: float
LastMouseY[edit]
Type: float
MainNotWanted[edit]
Type: bool
MenuMouseSens[edit]
Type: float
Modifiers: config
Default value: 1.0
MenuStack[edit]
Modifiers: editinline, export
Holds the stack of menus
MouseCursorOffset[edit]
Type: array<Object.Vector>
Modifiers: editinline
Only X,Y used, between 0 and 1. 'Hot Spot' of cursor material.
Default value, index 0:
Member | Value |
---|---|
X | 0.0 |
Y | 0.0 |
Z | 0.0 |
Default value, index 1:
Member | Value |
---|---|
X | 0.5 |
Y | 0.5 |
Z | 0.0 |
Default value, index 2:
Member | Value |
---|---|
X | 0.5 |
Y | 0.5 |
Z | 0.0 |
Default value, index 3:
Member | Value |
---|---|
X | 0.5 |
Y | 0.5 |
Z | 0.0 |
Default value, index 4:
Member | Value |
---|---|
X | 0.5 |
Y | 0.5 |
Z | 0.0 |
Default value, index 5:
Member | Value |
---|---|
X | 0.5 |
Y | 0.5 |
Z | 0.0 |
Default value, index 6:
Member | Value |
---|---|
X | 0.0 |
Y | 0.0 |
Z | 0.0 |
MouseCursors[edit]
Modifiers: editinline
Holds a list of all possible mouse
Default value, index 0: Material'InterfaceContent.MouseCursor'
Default value, index 1: Material'InterfaceContent.SplitterCursor'
Default value, index 2: Material'InterfaceContent.SplitterCursor'
Default value, index 3: Material'InterfaceContent.SplitterCursorVert'
Default value, index 4: Material'InterfaceContent.SplitterCursor'
Default value, index 5: Material'InterfaceContent.SplitterCursor'
Default value, index 6: Material'InterfaceContent.MouseCursor'
MouseOverSound[edit]
Type: Sound
Default value: Sound'MenuSounds.MS_MouseOver'
MouseX[edit]
Type: float
MouseY[edit]
Type: float
Where is the mouse currently located
MoveControl[edit]
Type: GUIComponent
Used for visual design
PersistentStack[edit]
Holds the set of pages which are persistent across close/open
RepeatDelta[edit]
Type: float
Data var
RepeatKey[edit]
Type: byte
Used to determine what should repeat
RepeatTime[edit]
Type: float
How long until the next repeat;
ShiftPressed[edit]
Type: bool
Shift key is being held
SkipControl[edit]
Type: GUIComponent
This control should be skipped over and drawn at the end
StyleNames[edit]
Holds the name of all styles to use
Default value, index 0: "xinterface.STY_RoundButton"
Default value, index 1: "xinterface.STY_RoundScaledButton"
Default value, index 10: "xinterface.STY_CharButton"
Default value, index 11: "xinterface.STY_ArrowLeft"
Default value, index 12: "xinterface.STY_ArrowRight"
Default value, index 13: "xinterface.STY_ServerBrowserGrid"
Default value, index 14: "xinterface.STY_NoBackground"
Default value, index 15: "xinterface.STY_ServerBrowserGridHeader"
Default value, index 16: "xinterface.STY_SliderCaption"
Default value, index 17: "xinterface.STY_LadderButton"
Default value, index 18: "xinterface.STY_LadderButtonHi"
Default value, index 19: "XInterface.STY_LadderButtonActive"
Default value, index 20: "xinterface.STY_SquareButton"
Default value, index 21: "xinterface.STY_BindBox"
Default value, index 22: "xinterface.STY_SquareBar"
Default value, index 23: "xinterface.STY_MidGameButton"
Default value, index 24: "xinterface.STY_TextLabel"
Default value, index 25: "xinterface.STY_ComboListBox"
Default value, index 26: "xinterface.STY_SquareMenuButton"
Default value, index 27: "xinterface.STY_IRCText"
Default value, index 28: "xinterface.STY_IRCEntry"
Default value, index 29: "xinterface.STY_MedHeader"
Default value, index 30: "xinterface.STY_ListBox"
Default value, index 31: "xinterface.STY_ScrollZone"
Default value, index 32: "xinterface.STY_TextButton"
Default value, index 33: "xinterface.STY_Page"
Default value, index 34: "xinterface.STY_Header"
Default value, index 35: "xinterface.STY_Footer"
Default value, index 36: "xinterface.STY_TabButton"
StyleStack[edit]
Holds all of the possible styles
UpSound[edit]
Type: Sound
Default value: Sound'MenuSounds.MS_ListChangeUp'
WhiteBorder[edit]
Type: Material
Default value: Material'InterfaceContent.Menu.WhiteBorder'
Subobjects[edit]
GUIDefaultFont[edit]
Class: XInterface.UT2DefaultFont
Property | Value |
---|---|
bFixedSize | True |
GUIHeaderFont[edit]
Class: XInterface.UT2HeaderFont
Property | Value |
---|---|
bFixedSize | False |
GUIIRCFont[edit]
Class: XInterface.UT2IRCFont
Property | Value |
---|---|
bFixedSize | False |
GUILargeFont[edit]
Class: XInterface.UT2LargeFont
Property | Value |
---|---|
bFixedSize | False |
GUIMenuFont[edit]
Class: XInterface.UT2MenuFont
Property | Value |
---|---|
bFixedSize | False |
GUIMidGameFont[edit]
Class: XInterface.UT2MidGameFont
Property | Value |
---|---|
bFixedSize | False |
GUIServerListFont[edit]
Class: XInterface.UT2ServerListFont
Property | Value |
---|---|
bFixedSize | False |
GUISmallFont[edit]
Class: XInterface.UT2SmallFont
Property | Value |
---|---|
bFixedSize | False |
GUISmallHeaderFont[edit]
Class: XInterface.UT2SmallHeaderFont
Property | Value |
---|---|
bFixedSize | False |
Delegates[edit]
OnNeedRawKeyPress[edit]
Functions[edit]
Native functions[edit]
GetMenuFont[edit]
GetStyle[edit]
GetCurrentRes[edit]
GetMainMenuClass[edit]
GetMapList[edit]
GetOGGList[edit]
GetProfileList[edit]
GetTeamSymbolList[edit]
GetWeaponList[edit]
LoadDecoText[edit]
ResetKeyboard[edit]
Events[edit]
AutoLoadMenus[edit]
Overrides: BaseGUIController.AutoLoadMenus
ChangeFocus[edit]
CloseAll[edit]
Overrides: BaseGUIController.CloseAll
CloseMenu[edit]
Overrides: BaseGUIController.CloseMenu
CreateMenu[edit]
InitializeController[edit]
Overrides: BaseGUIController.InitializeController
MoveFocused[edit]
NeedsMenuResolution[edit]
Overrides: BaseGUIController.NeedsMenuResolution
NotifyLevelChange[edit]
Overrides: Interaction.NotifyLevelChange
OpenMenu[edit]
Overrides: BaseGUIController.OpenMenu
ReplaceMenu[edit]
Overrides: BaseGUIController.ReplaceMenu
SetRequiredGameResolution[edit]
Overrides: BaseGUIController.SetRequiredGameResolution
Other instance functions[edit]
ClearControls[edit]
HasMouseMoved[edit]
RegisterStyle[edit]
ResetFocus[edit]
SetControllerStatus[edit]
Overrides: BaseGUIController.SetControllerStatus