I love the smell of UnrealEd crashing in the morning. – tarquin
UE2:GUIButton (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> GUI >> GUIComponent >> GUIButton |
Contents |
- Package:
- XInterface
- Direct subclasses:
- GUIEditBox, GUIGFXButton, GUISpinnerButton, GUITabButton, StateButton
- This class in other games:
- UE2Runtime, UT2003
| 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: UT2K4UI.GUIButton
GUIButton - The basic button class
Written by Joe Wilcox (c) 2002, Epic Games, Inc. All Rights Reserved
[edit] Properties
[edit] Property group 'GUIButton'
[edit] AutoSizePadding
Type: PaddingPercent
Default value:
| Member | Value |
|---|---|
| HorzPerc | 0.125 |
[edit] bAutoShrink
Type: bool
Reduce size of button if bAutoSize & caption is smaller than WinWidth
Default value: True
[edit] bAutoSize
Type: bool
Size according to caption size.
[edit] bUseCaptionHeight
Type: bool
Get the Height from the caption
[edit] bWrapCaption
Type: bool
Wrap the caption if its too long - ignored if bAutoSize = true
[edit] Caption
Type: string
Modifiers: localized
[edit] CaptionAlign
Type: GUI.eTextAlign
Default value: TXTA_Center
[edit] CaptionEffectStyle
Type: GUIStyles
Modifiers: editconst
[edit] CaptionEffectStyleName
Type: string
[edit] SizingCaption
Type: string
[edit] Default values
| Property | Value |
|---|---|
| bAcceptsInput | True |
| bCaptureMouse | True |
| bMouseOverSound | True |
| bTabStop | True |
| OnClickSound | CS_Click |
| OnKeyEvent | InternalOnKeyEvent |
| StandardHeight | 0.04 |
| StyleName | "SquareButton" |
| ToolTip | GUIToolTip'GUIButtonToolTip' |
| WinHeight | 0.04 |
[edit] Subobjects
[edit] GUIButtonToolTip
Class: XInterface.GUIToolTip
Empty subobject definition.
[edit] Structs
[edit] PaddingPercent
Modifiers: native
[edit] Functions
[edit] Events
[edit] InitComponent
event InitComponent (GUIController MyController, GUIComponent MyOwner)
Overrides: GUIComponent.InitComponent
