The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:GUIMenuOption (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIMenuOption |
Contents |
- Package:
- GUI
- Direct subclasses:
- MoCheckBox, MoComboBox, MoEditBox, MoFloatEdit, MoNumericEdit
- This class in other games:
- UT2003, UT2004
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
[edit] Properties
[edit] Property group 'Menu'
[edit] bFlipped
Type: bool
Draw the Component to the left of the caption
[edit] bHeightFromComponent
Type: bool
Get the Height of this component from the Component
Default value: True
[edit] bSquare
Type: bool
Use the Height for the Width
[edit] bVerticalLayout
Type: bool
Layout controls vertically
[edit] Caption
Type: string
Modifiers: localized
Caption for the label
[edit] CaptionWidth
Type: float
How big should the Caption be
Default value: 0.5
[edit] ComponentClassName
Type: string
Name of the component to spawn
[edit] ComponentJustification
Type: GUI.eTextAlign
How do we justify the label
Default value: TXTA_Right
[edit] ComponentWidth
Type: float
How big should the Component be (-1 = 1-CaptionWidth)
Default value: -1.0
[edit] LabelColor
Type: Object.Color
Color for the label
Default value:
| Member | Value |
|---|---|
| A | 255 |
| B | 255 |
| G | 255 |
| R | 255 |
[edit] LabelFont
Type: string
Name of the Font for the label
Default value: "MenuFont"
[edit] LabelJustification
Type: GUI.eTextAlign
How do we justify the label
[edit] Internal variables
[edit] MyComponent
Type: GUIComponent
Holds the component
[edit] MyLabel
Type: GUILabel
Holds the label
[edit] Default values
| Property | Value |
|---|---|
| PropagateVisibility | True |
| WinHeight | 0.06 |
| WinLeft | 0.496094 |
| WinTop | 0.347656 |
| WinWidth | 0.5 |
[edit] Instance functions
[edit] InitComponent
Overrides: GUIMultiComponent.InitComponent
