Mostly Harmless
UE2:GUIMenuOption (UT2004)
Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIMenuOption |
Contents
- 1 Properties
- 1.1 Property group 'Option'
- 1.1.1 bAutoSizeCaption
- 1.1.2 bFlipped
- 1.1.3 bHeightFromComponent
- 1.1.4 bIgnoreChange
- 1.1.5 bSquare
- 1.1.6 bValueReadOnly
- 1.1.7 bVerticalLayout
- 1.1.8 Caption
- 1.1.9 CaptionWidth
- 1.1.10 ComponentClassName
- 1.1.11 ComponentJustification
- 1.1.12 ComponentWidth
- 1.1.13 LabelColor
- 1.1.14 LabelFont
- 1.1.15 LabelJustification
- 1.1.16 LabelStyleName
- 1.1.17 MyComponent
- 1.1.18 MyLabel
- 1.2 Default values
- 1.3 Subobjects
- 1.1 Property group 'Option'
- 2 Functions
- Package:
- XInterface
- Direct subclasses:
- GUIListSpacer, MoButton, MoCheckBox, MoComboBox, MoEditBox, MoFloatEdit, MoNumericEdit, MoSlider
- This class in other games:
- UT2003, UE2Runtime
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Class: UT2K4UI.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 'Option'[edit]
bAutoSizeCaption[edit]
Type: bool
Extend CaptionWidth if caption is too long
Default value: True
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
bIgnoreChange[edit]
Type: bool
Modifiers: editconst
Don't want an OnChange event
bSquare[edit]
Type: bool
Use the Height for the Width
bValueReadOnly[edit]
Type: bool
Value of this option cannot be modified by input
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 | 64 |
G | 0 |
R | 0 |
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
LabelStyleName[edit]
Type: string
The Style for the label
Default value: "TextLabel"
MyComponent[edit]
Type: GUIComponent
Modifiers: editconst, noexport
Holds the component
MyLabel[edit]
Type: GUILabel
Modifiers: editconst, noexport
Holds the label
Default values[edit]
Property | Value |
---|---|
bAcceptsInput | True |
bStandardized | True |
OnClickSound | CS_Click |
OnCreateComponent | InternalOnCreateComponent |
PropagateVisibility | True |
StandardHeight | 0.03 |
ToolTip | GUIToolTip'GUIMenuOptionToolTip' |
WinHeight | 0.03 |
WinLeft | 0.496094 |
WinTop | 0.347656 |
WinWidth | 0.5 |
Subobjects[edit]
GUIMenuOptionToolTip[edit]
Class: XInterface.GUIToolTip
Empty subobject definition.
Functions[edit]
Events[edit]
InitComponent[edit]
Overrides: GUIMultiComponent.InitComponent
Other instance functions[edit]
CenterMouse[edit]
Overrides: GUIMultiComponent.CenterMouse
GetComponentValue[edit]
InternalOnChange[edit]
InternalOnCreateComponent[edit]
MenuOptionClicked[edit]
ResetComponent[edit]
SetCaption[edit]
SetComponentValue[edit]
SetFriendlyLabel[edit]
Overrides: GUIComponent.SetFriendlyLabel
SetHint[edit]
Overrides: GUIComponent.SetHint