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

GUI.GUISlider

Extends
GUIComponent
Modifiers
HideCategories ( Menu , Object ) Native

Core.Object
|   
+-- GUI.GUI
   |   
   +-- GUI.GUIComponent
      |   
      +-- GUI.GUISlider

Variables Summary
floatLastChangeMessage
floatUpdateFreq
GUISlider
boolbDisplayAsPercentage
boolbIntSlider
GUIStylesButtonStyle
stringButtonStyleName
floatButtonWidthPixels
eTextAlignCaptionJustification
GUIStylesCaptionStyle
stringCaptionStyleName
GUIStylesLeftStyle
stringLeftStyleName
floatMaxValue
floatMinValue
GUIStylesRightStyle
stringRightStyleName
floatSliderHeightPercent
floatStep
floatValue
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
Inherited Variables from GUI.GUI
Controller, QBTN_Abort, QBTN_AbortRetry, QBTN_Cancel, QBTN_Continue, QBTN_Ignore, QBTN_No, QBTN_Ok, QBTN_OkCancel, QBTN_Retry, QBTN_TimeOut, QBTN_Yes, QBTN_YesNo, QBTN_YesNoCancel

Enumerations Summary
Inherited Enumerations from GUI.GUIComponent
EClickSound
Inherited Enumerations from GUI.GUI
eEditMask, eIconPosition, eImgAlign, eImgStyle, eListElemDisplay, EMenuRenderStyle, eMenuState, eProgressDirection, eTextAlign, eTextCase, eXControllerCodes

Structures Summary
Inherited Structures from GUI.GUIComponent
sDynamicPositionSpec, sTransitionSpec
Inherited Structures from GUI.GUI
ControlSpec, GUIListElem

Delegates Summary
delegatestring OnDrawCaption ()))
Inherited Delegates from GUI.GUIComponent
OnActivate, OnCapturedMouseMove, OnChange, OnClick, OnClientDraw, OnDblClick, OnDeActivate, OnDraw, OnFocused, OnHide, OnHitTest, OnKeyEvent, OnKeyType, OnLostFocus, OnMenuStateChanged, OnMessage, OnMousePressed, OnMouseRelease, OnPreDraw, OnRawXController, OnRender, OnRePositionCompleted, OnRightClick, OnShow, OnUpdateComponent, OnWatched, OnXControllerEvent

Functions Summary
function Adjust (float amount))
event Click ()))
function InitComponent (GUIComponent MyOwner))
functionbool InternalCapturedMouseMove (float deltaX, float deltaY))
functionbool InternalOnKeyEvent (out byte Key, out byte State, float delta))
function InternalOnMousePressed (GUIComponent Sender))
functionbool InternalOnXControllerEvent (byte Id, eXControllerCodes iCode))
function SetValue (float NewValue))
function Timer ()))
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
Inherited Functions from GUI.GUI
CopyConfig, CreateElement, IsDigit, MakeColorCode, StripCodes


Variables Detail

LastChangeMessage Source code

var float LastChangeMessage;

UpdateFreq Source code

var float UpdateFreq;

GUISlider

bDisplayAsPercentage Source code

var(GUISlider) config bool bDisplayAsPercentage;
Should the value be displayed in text form as a percentage?

bIntSlider Source code

var(GUISlider) config bool bIntSlider;
Are the values bound to be ints

ButtonStyle Source code

var(GUISlider) editinline GUIStyles ButtonStyle;
The style displayed for the button

ButtonStyleName Source code

var(GUISlider) config string ButtonStyleName;
Name of the button style

ButtonWidthPixels Source code

var(GUISlider) config float ButtonWidthPixels;
The buttons width in pixels (at 800x600)

CaptionJustification Source code

var(GUISlider) config eTextAlign CaptionJustification;
How the caption is justified

CaptionStyle Source code

var(GUISlider) editinline GUIStyles CaptionStyle;
The actual caption style

CaptionStyleName Source code

var(GUISlider) config string CaptionStyleName;
Name of the caption style

LeftStyle Source code

var(GUISlider) editinline GUIStyles LeftStyle;
The style displayed left of the button

LeftStyleName Source code

var(GUISlider) config string LeftStyleName;
Name of the left style

MaxValue Source code

var(GUISlider) config float MaxValue;
Bounds for the slider

MinValue Source code

var(GUISlider) config float MinValue;
Bounds for the slider

RightStyle Source code

var(GUISlider) editinline GUIStyles RightStyle;
The style displayed right of the button

RightStyleName Source code

var(GUISlider) config string RightStyleName;
Name of the right style

SliderHeightPercent Source code

var(GUISlider) config float SliderHeightPercent;
Sliders height as a percentage of the total component height

Step Source code

var(GUISlider) config float Step;
Step value for incrementing the slider

Value Source code

var(GUISlider) config float Value;
Slider's initial value


Delegates Detail

OnDrawCaption Source code

delegate string OnDrawCaption ( ) )


Functions Detail

Adjust Source code

function Adjust ( float amount) )

Click Source code

event Click ( ) )

InitComponent Source code

function InitComponent ( GUIComponent MyOwner) )

InternalCapturedMouseMove Source code

function bool InternalCapturedMouseMove ( float deltaX, float deltaY) )

InternalOnKeyEvent Source code

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

InternalOnMousePressed Source code

function InternalOnMousePressed ( GUIComponent Sender) )

InternalOnXControllerEvent Source code

function bool InternalOnXControllerEvent ( byte Id, eXControllerCodes iCode) )

SetValue Source code

function SetValue ( float NewValue) )

Timer Source code

function Timer ( ) )


Defaultproperties

defaultproperties
{
	StyleName="sty_sliderstyle"
	bAcceptsInput=true
	bCaptureMouse=True
	bNeverFocus=false;
	bTabStop=true
	WinHeight=0.03
	bRequireReleaseClick=true
	CaptionStyleName="STY_SliderCaption"
	bIntSlider=false;
	OnClickSound=CS_Click
    Step=1;
	bDrawStyle=false
	ButtonStyleName="STY_SliderButton"
	LeftStyleName="STY_SliderLeft"
	RightStyleName="STY_SliderRight"
	SliderHeightPercent=1.0
	ButtonWidthPixels=16.0

	UpdateFreq=30

}

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