Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

GUI.GUIButton

Extends
GUITextComponent
Modifiers
HideCategories ( Menu , Object ) Native

Core.Object
|   
+-- GUI.GUI
   |   
   +-- GUI.GUIComponent
      |   
      +-- GUI.GUITextComponent
         |   
         +-- GUI.GUIButton

Direct Known Subclasses:

GUIEditBox, GUIGFXButton, GUIToggleButton

Variables Summary
GUIButton
boolbAllowMultiLine
intClickKeyCode
intValue
Inherited Variables from GUI.GUITextComponent
bDontCenterVertically, bMultiLine, Caption, TextAlign
Inherited Variables from GUI.GUIComponent
bAcceptsInput, bActiveInput, bAllowHTMLTextFormatting, bAllowPressedEffect, bBoundToParent, bCanBeShown, bCaptureMouse, bCaptureTabs, bDirty, bDrawStyle, bFocusOnWatch, bHideMouseCursor, bHitTestOnClientBounds, bInited, bMaintainFocus, bMouseOverSound, bNeverFocus, Bounds[4], bPersistent, bPlayerMoveAllowed, bRepeatClick, bRepeatCycling, bRepositioning, bRequireReleaseClick, bSaved, bScaled, bScaleToParent, bSwallowAllKeyEvents, bTabStop, bTimerRepeat, bVisible, ClientBounds[4], CyclePosition, FocusInstead, Hint, LinkOverrides[4], Links[4], MenuOwner, MenuState, MouseCursorIndex, MoveGroup, MovePositions, OnClickSound, RadioGroup, RenderWeight, SaveColor, SaveFont, SaveStyle, SaveX, SaveY, Style, StyleName, TabOrder, TimerCountdown, TimerIndex, TimerInterval, TransitionSpec, UndoHistory, UndoLevel, WinHeight, WinLeft, WinTop, WinWidth

Enumerations Summary
Inherited Enumerations from GUI.GUIComponent
EClickSound

Structures Summary
Inherited Structures from GUI.GUIComponent
sDynamicPositionSpec, sTransitionSpec

Functions Summary
function InitComponent (GUIComponent MyOwner))
functionbool InternalOnKeyEvent (out byte Key, out byte State, float delta))
functionbool InternalOnXControllerEvent (byte Id, eXControllerCodes iCode))
Inherited Functions from GUI.GUITextComponent
GetCaption, InitComponent, SetCaption
Inherited Functions from GUI.GUIComponent
Activate, ActualHeight, ActualLeft, ActualTop, ActualWidth, ChangeStyle, Click, Construct, CyclePositions, DblClick, DeActivate, DisableComponent, EnableComponent, FillOwner, Focus, Free, Hide, InitComponent, InitDelegates, IsAtPosition, IsInBounds, IsInClientBounds, KillTimer, LoadLayoutFromHistory, LoseFocus, MenuStateChange, MousePressed, MouseReleased, OnChangeLayout, OnConstruct, OnResolutionChanged, PlayerOwner, Press, RedoLayout, RegisterNotifyResolutionChanged, RePosition, RePositionCompleted, RePositionTo, SaveLayout, SaveLayoutToHistory, SetActive, SetDirty, SetEnabled, SetFocusInstead, SetHint, SetLinkOverrides, SetLinks, SetRadioGroup, SetTimer, SetVisibility, Show, StopCycling, StripColorCodes, Timer, UndoLayout, Watched


Variables Detail

GUIButton

bAllowMultiLine Source code

var(GUIButton) config bool bAllowMultiLine;

ClickKeyCode Source code

var(GUIButton) config int ClickKeyCode;
The button will click itself when the user presses this key (default is None)

Value Source code

var(GUIButton) config int Value;
A value associated to this button


Functions Detail

InitComponent Source code

function InitComponent ( GUIComponent MyOwner) )

InternalOnKeyEvent Source code

function bool InternalOnKeyEvent ( out byte Key, out byte State, float delta) )

InternalOnXControllerEvent Source code

function bool InternalOnXControllerEvent ( byte Id, eXControllerCodes iCode) )


Defaultproperties

defaultproperties
{
	StyleName="STY_RoundButton"	
	bCaptureMouse=True
	bNeverFocus=true
	bTabStop=true
	WinHeight=0.04
	bMouseOverSound=true
	OnClickSound=CS_Click
	bDrawStyle=true
	TextAlign=TXTA_Center
	ClickKeyCode=-1
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: st 23.5.2018 00:10:30.051 - Created with UnCodeX