UE2:GUIButton (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT2004 Object >> GUI >> GUIComponent >> GUIButton
Package: 
XInterface

Class: UT2K4UI.GUIButton

GUIButton - The basic button class

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

Properties

Property group 'GUIButton'

AutoSizePadding

Type: PaddingPercent


Default value:

Member Value
HorzPerc 0.125

bAutoShrink

Type: bool

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

Default value: True

bAutoSize

Type: bool

Size according to caption size.

bUseCaptionHeight

Type: bool

Get the Height from the caption

bWrapCaption

Type: bool

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

Caption

Type: string

Modifiers: localized


CaptionAlign

Type: GUI.eTextAlign


Default value: TXTA_Center

CaptionEffectStyle

Type: GUIStyles

Modifiers: editconst


CaptionEffectStyleName

Type: string


SizingCaption

Type: string


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

Subobjects

GUIButtonToolTip

Class: XInterface.GUIToolTip

Empty subobject definition.

Structs

PaddingPercent

Modifiers: native

float HorzPerc 
float VertPerc 

Functions

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIComponent.InitComponent


Other instance functions

InternalOnKeyEvent

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