Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:GUIMenuOption (UE2Runtime)

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

Class: GUI.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

Property group 'Menu'

bFlipped

Type: bool

Draw the Component to the left of the caption

bHeightFromComponent

Type: bool

Get the Height of this component from the Component

Default value: True

bSquare

Type: bool

Use the Height for the Width

bVerticalLayout

Type: bool

Layout controls vertically

Caption

Type: string

Modifiers: localized

Caption for the label

CaptionWidth

Type: float

How big should the Caption be

Default value: 0.5

ComponentClassName

Type: string

Name of the component to spawn

ComponentJustification

Type: GUI.eTextAlign

How do we justify the label

Default value: TXTA_Right

ComponentWidth

Type: float

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

Default value: -1.0

LabelColor

Type: Object.Color

Color for the label

Default value:

Member Value
A 255
B 255
G 255
R 255

LabelFont

Type: string

Name of the Font for the label

Default value: "MenuFont"

LabelJustification

Type: GUI.eTextAlign

How do we justify the label

Internal variables

MyComponent

Type: GUIComponent

Holds the component

MyLabel

Type: GUILabel

Holds the label

Default values

Property Value
PropagateVisibility True
WinHeight 0.06
WinLeft 0.496094
WinTop 0.347656
WinWidth 0.5

Instance functions

InitComponent

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


InternalOnChange

function InternalOnChange (GUIComponent Sender)