The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:GUIGFXButton (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIButton >> GUIGFXButton
Package: 
XInterface
Direct subclasses:
GUIGripButtonBase, GUICheckBoxButton, GUIScrollButtonBase, LadderButton, UT2K4LadderButton
This class in other games:
UE2Runtime, UT2003

Class: UT2K4UI.GUIButton

GUIGFXButton - The basic button class. It can be used for icon buttons or Checkboxes

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

Properties[edit]

Property group 'GUIGFXButton'[edit]

bCheckBox[edit]

Type: bool

Is this a check box button (ie: supports 2 states)

bClientBound[edit]

Type: bool

Graphic is drawn using clientbounds if true

Graphic[edit]

Type: Material

The graphic to display

ImageIndex[edit]

Type: int


Position[edit]

Type: GUI.eIconPosition

How do we draw the Icon

Internal variables[edit]

bChecked[edit]

Type: bool


Default values[edit]

Property Value
bTabStop False

Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIButton.InitComponent


Other instance functions[edit]

InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)


SetChecked[edit]

function SetChecked (bool bNewChecked)