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

UE2:GUIGFXButton (UT2003)

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

Class: xInterface.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 'Menu'[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

Position[edit]

Type: GUI.eIconPosition

How do we draw the Icon

Internal variables[edit]

bChecked[edit]

Type: bool


Default values[edit]

Property Value
bRepeatClick True

Instance functions[edit]

InitComponent[edit]

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIButton.InitComponent


InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)


SetChecked[edit]

function SetChecked (bool bNewChecked)