I'm a doctor, not a mechanic

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:
UT2003, UE2Runtime

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

Property group 'GUIGFXButton'

bCheckBox

Type: bool

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

bClientBound

Type: bool

Graphic is drawn using clientbounds if true

Graphic

Type: Material

The graphic to display

ImageIndex

Type: int


Position

Type: GUI.eIconPosition

How do we draw the Icon

Internal variables

bChecked

Type: bool


Default values

Property Value
bTabStop False

Functions

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIButton.InitComponent


Other instance functions

InternalOnClick

function bool InternalOnClick (GUIComponent Sender)


SetChecked

function SetChecked (bool bNewChecked)