I'm a doctor, not a mechanic

UE2:GUIQuestionPage (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> GUIQuestionPage
Package: 
XInterface
This class in other games:
UT2004

null

Properties

ButtonNames

Type: string

Array size: 8

Modifiers: localized

Buttons Names: Ok, Cancel, Retry, Continue, Yes, No, Abort, Ignore. Clamped [0,7].

Default value, index 0: "Ok"

Default value, index 1: "Cancel"

Default value, index 2: "Retry"

Default value, index 3: "Continue"

Default value, index 4: "Yes"

Default value, index 5: "No"

Default value, index 6: "Abort"

Default value, index 7: "Ignore"

Buttons

Type: array<GUIButton>


CancelButton

Type: GUIButton


DefaultButton

Type: GUIButton


lMessage

Type: GUILabel


MessageIcon

Type: Material

Like Warning/Question/Exclamation

Default values

Property Value
BackgroundColor
Member Value
A 255
B 64
G 64
R 64
BackgroundRStyle MSTY_Alpha
Controls[0] GUIImage'imgBack'
Controls[1] GUILabel'lblQuestion'
WinHeight 0.5
WinTop 0.25

Subobjects

imgBack

Class: XInterface.GUIImage

Property Value
bBoundToParent True
bScaleToParent True
Image Material'InterfaceContent.Menu.SquareBoxA'
ImageStyle ISTY_Stretched
WinHeight 1.0
WinTop 0.0
WinWidth 1.0

lblQuestion

Class: XInterface.GUILabel

Property Value
bMultiLine True
WinHeight 0.4
WinLeft 0.1
WinTop 0.2
WinWidth 0.8

Delegates

OnButtonClick

delegate OnButtonClick (byte bButton)


Instance functions

AddButton

function AddButton (int idesc)


ButtonClick

function bool ButtonClick (GUIComponent Sender)


InitComponent

function InitComponent (GUIController pMyController, GUIComponent MyOwner)

Overrides: GUIPage.InitComponent


InternalOnPreDraw

function bool InternalOnPreDraw (Canvas C)


LayoutButtons

function LayoutButtons (byte ActiveButton)


Replace

function string Replace (string Src, string Tag, string Value)


SetupQuestion

function SetupQuestion (string Question, byte bButtons, byte ActiveButton)