I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Legacy:GUIButton

From Unreal Wiki, The Unreal Engine Documentation Site

Revision as of 02:35, 5 May 2006 by EricBlade (Talk)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 :: Object >> GUI >> GUIComponent >> GUIButton

[edit] Properties

string Caption 
Label to put inside a button

[edit] 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

[edit] Events

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