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

UE2:GUIGFXButton (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Property group 'Menu'

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

Position

Type: GUI.eIconPosition

How do we draw the Icon

Internal variables

bChecked

Type: bool


Default values

Property Value
bRepeatClick True

Instance functions

InitComponent

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIButton.InitComponent


InternalOnClick

function bool InternalOnClick (GUIComponent Sender)


SetChecked

function SetChecked (bool bNewChecked)