Legacy:GUIButton

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 19:35, 4 May 2006 by EricBlade (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Properties

string Caption
Label to put inside a button

Functions

InitComponent(GUIController MyController, GUIComponent MyOwner )
Sets InternalOnKeyEvent to handle Keyboard events, and InternalOnXControllerEvent to handle XBox events
bool InternalOnKeyEvent(out byte Key, out byte State, float delta )
Clicks Self if Enter is pressed, goes to next control on 0x026, or previous control on 0x028
bool InternalOnXControllerEvent(byte Id, eXControllerCodes iCode )
Clicks Self if the Start button is pressed on the XBox controller

Events

ButtonPressed( )
Called when button is pressed
ButtonReleased( )
Called when button is released