I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:GUIButton (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIButton

Contents

Package: 
XInterface
Direct subclasses:
GUIEditBox, GUIGFXButton, GUISpinnerButton, GUITabButton, StateButton
This class in other games:
UE2Runtime, UT2003

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

float HorzPerc 
float VertPerc 

[edit] Functions

[edit] Events

[edit] InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIComponent.InitComponent


[edit] Other instance functions

[edit] InternalOnKeyEvent

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


Personal tools