Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:GUIMenuOption (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIMenuOption
Package: 
XInterface
Direct subclasses:
MoCheckBox, MoComboBox, MoEditBox, MoFloatEdit, MoNumericEdit
This class in other games:
UE2Runtime, UT2004

Class: xInterface.GUIMultiComponent

MenuOptions combine a label and any other component in to 1 single control. The Label is left justified, the control is right.

Written by Joe Wilcox (c) 2002, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'Menu'[edit]

bFlipped[edit]

Type: bool

Draw the Component to the left of the caption

bHeightFromComponent[edit]

Type: bool

Get the Height of this component from the Component

Default value: True

bSquare[edit]

Type: bool

Use the Height for the Width

bVerticalLayout[edit]

Type: bool

Layout controls vertically

Caption[edit]

Type: string

Modifiers: localized

Caption for the label

CaptionWidth[edit]

Type: float

How big should the Caption be

Default value: 0.5

ComponentClassName[edit]

Type: string

Name of the component to spawn

ComponentJustification[edit]

Type: GUI.eTextAlign

How do we justify the label

Default value: TXTA_Right

ComponentWidth[edit]

Type: float

How big should the Component be (-1 = 1-CaptionWidth)

Default value: -1.0

LabelColor[edit]

Type: Object.Color

Color for the label

Default value:

Member Value
A 255
B 255
G 255
R 255

LabelFont[edit]

Type: string

Name of the Font for the label

Default value: "UT2MenuFont"

LabelJustification[edit]

Type: GUI.eTextAlign

How do we justify the label

Internal variables[edit]

MyComponent[edit]

Type: GUIComponent

Holds the component

MyLabel[edit]

Type: GUILabel

Holds the label

Default values[edit]

Property Value
WinHeight 0.06
WinLeft 0.496094
WinTop 0.347656
WinWidth 0.5

Instance functions[edit]

InitComponent[edit]

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


InternalOnChange[edit]

function InternalOnChange (GUIComponent Sender)