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

UE2:GUIButton (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIButton
Package: 
XInterface
Direct subclasses:
GUIEditBox, GUIGFXButton, GUISpinnerButton, GUITabButton, StateButton
This class in other games:
UT2003, UE2Runtime

Class: UT2K4UI.GUIButton

GUIButton - The basic button class

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

Properties[edit]

Property group 'GUIButton'[edit]

AutoSizePadding[edit]

Type: PaddingPercent


Default value:

Member Value
HorzPerc 0.125

bAutoShrink[edit]

Type: bool

Reduce size of button if bAutoSize & caption is smaller than WinWidth

Default value: True

bAutoSize[edit]

Type: bool

Size according to caption size.

bUseCaptionHeight[edit]

Type: bool

Get the Height from the caption

bWrapCaption[edit]

Type: bool

Wrap the caption if its too long - ignored if bAutoSize = true

Caption[edit]

Type: string

Modifiers: localized


CaptionAlign[edit]

Type: GUI.eTextAlign


Default value: TXTA_Center

CaptionEffectStyle[edit]

Type: GUIStyles

Modifiers: editconst


CaptionEffectStyleName[edit]

Type: string


SizingCaption[edit]

Type: string


Default values[edit]

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

Subobjects[edit]

GUIButtonToolTip[edit]

Class: XInterface.GUIToolTip

Empty subobject definition.

Structs[edit]

PaddingPercent[edit]

Modifiers: native

float HorzPerc 
float VertPerc 

Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIComponent.InitComponent


Other instance functions[edit]

InternalOnKeyEvent[edit]

function bool InternalOnKeyEvent (out byte Key, out byte State, float delta)