My program doesn't have bugs. It just develops random features.

UE2:GUIQuestionPage (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> GUIQuestionPage
Package: 
XInterface
Direct subclass:
GUI2K4QuestionPage
This class in other games:
UT2003

null

Properties[edit]

ButtonNames[edit]

Type: array<string>

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[edit]

Type: array<GUIButton>


CancelButton[edit]

Type: GUIButton


DefaultButton[edit]

Type: GUIButton


lMessage[edit]

Type: GUILabel


MessageIcon[edit]

Type: Material

Like Warning/Question/Exclamation

Default values[edit]

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

Subobjects[edit]

imgBack[edit]

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[edit]

Class: XInterface.GUILabel

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

Delegates[edit]

NewOnButtonClick[edit]

delegate bool NewOnButtonClick (byte bButton)


OnButtonClick[edit]

delegate OnButtonClick (byte bButton)


Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController pMyController, GUIComponent MyOwner)

Overrides: GUIPage.InitComponent


Other instance functions[edit]

AddButton[edit]

function GUIButton AddButton (coerce byte idesc)


ButtonClick[edit]

function bool ButtonClick (GUIComponent Sender)


InternalOnPreDraw[edit]

function bool InternalOnPreDraw (Canvas C)


LayoutButtons[edit]

function LayoutButtons (byte ActiveButton)


RemoveButtons[edit]

function RemoveButtons ()


Replace[edit]

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


SetupQuestion[edit]

function SetupQuestion (string Question, coerce byte bButtons, optional byte ActiveButton, optional bool bClearFirst)