There is no spoon

UE2:GUISlider (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUISlider
Package: 
XInterface
This class in other games:
UT2003, UE2Runtime

Class: UT2K4UI.GUISlider

Written by Joe Wilcox (c) 2002, Epic Games, Inc. All Rights Reserved Sliders will not be drawn if both MinValue & MaxValue are both 0

Properties

Property group 'GUISlider'

BarStyleName

Type: string


Default value: "SliderBar"

bDrawPercentSign

Type: bool


bIntSlider

Type: bool


bReadOnly

Type: bool


bShowCaption

Type: bool


bShowMarker

Type: bool


Default value: True

bShowValueTooltip

Type: bool

Show the current value as a tooltip while dragging

Default value: True

CaptionStyleName

Type: string


Default value: "SliderCaption"

FillImage

Type: Material


Default value: Material'2K4Menus.NewControls.SliderFillBlurry'

MarkerWidth

Type: float


MaxValue

Type: float


Default value: 100.0

MinValue

Type: float


Value

Type: float


Internal variables

BarStyle

Type: GUIStyles


CaptionStyle

Type: GUIStyles


Default values

Property Value
bAcceptsInput True
bCaptureMouse True
bRequireReleaseClick True
bRequiresStyle True
bTabStop True
OnCapturedMouseMove InternalCapturedMouseMove
OnClick InternalOnClick
OnClickSound CS_Click
OnKeyEvent InternalOnKeyEvent
OnMousePressed InternalOnMousePressed
OnMouseRelease InternalOnMouseRelease
StyleName "SliderKnob"
ToolTip GUIToolTip'GUISliderToolTip'
WinHeight 0.03

Subobjects

GUISliderToolTip

Class: XInterface.GUIToolTip

Empty subobject definition.

Delegates

OnDrawCaption

delegate string OnDrawCaption ()


OnPreDrawCaption

delegate bool OnPreDrawCaption (out float X, out float Y, out float XL, out float YL, out GUI.eTextAlign Justification)


Functions

Events

GetMarkerPosition

event float GetMarkerPosition ()


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIComponent.InitComponent


Other instance functions

Adjust

function Adjust (float amount)


CenterMouse

function CenterMouse ()

Overrides: GUIComponent.CenterMouse


GetValueString

function string GetValueString ()


HideToolTip

function HideToolTip ()


InternalCapturedMouseMove

function bool InternalCapturedMouseMove (float deltaX, float deltaY)


InternalOnClick

function bool InternalOnClick (GUIComponent Sender)


InternalOnKeyEvent

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


InternalOnMousePressed

function InternalOnMousePressed (GUIComponent Sender, bool RepeatClick)


InternalOnMouseRelease

function InternalOnMouseRelease (GUIComponent Sender)


ModifyTooltipForDragging

function ModifyTooltipForDragging ()


RevertTooltipToNormal

function RevertTooltipToNormal ()


SetReadOnly

function SetReadOnly (bool b)


SetValue

function float SetValue (float NewValue)


ShowToolTip

function ShowToolTip ()


ToolTipLeaveArea

function bool ToolTipLeaveArea ()