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

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

Property group 'GUISlider'[edit]

BarStyleName[edit]

Type: string


Default value: "SliderBar"

bDrawPercentSign[edit]

Type: bool


bIntSlider[edit]

Type: bool


bReadOnly[edit]

Type: bool


bShowCaption[edit]

Type: bool


bShowMarker[edit]

Type: bool


Default value: True

bShowValueTooltip[edit]

Type: bool

Show the current value as a tooltip while dragging

Default value: True

CaptionStyleName[edit]

Type: string


Default value: "SliderCaption"

FillImage[edit]

Type: Material


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

MarkerWidth[edit]

Type: float


MaxValue[edit]

Type: float


Default value: 100.0

MinValue[edit]

Type: float


Value[edit]

Type: float


Internal variables[edit]

BarStyle[edit]

Type: GUIStyles


CaptionStyle[edit]

Type: GUIStyles


Default values[edit]

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

GUISliderToolTip[edit]

Class: XInterface.GUIToolTip

Empty subobject definition.

Delegates[edit]

OnDrawCaption[edit]

delegate string OnDrawCaption ()


OnPreDrawCaption[edit]

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


Functions[edit]

Events[edit]

GetMarkerPosition[edit]

event float GetMarkerPosition ()


InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIComponent.InitComponent


Other instance functions[edit]

Adjust[edit]

function Adjust (float amount)


CenterMouse[edit]

function CenterMouse ()

Overrides: GUIComponent.CenterMouse


GetValueString[edit]

function string GetValueString ()


HideToolTip[edit]

function HideToolTip ()


InternalCapturedMouseMove[edit]

function bool InternalCapturedMouseMove (float deltaX, float deltaY)


InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)


InternalOnKeyEvent[edit]

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


InternalOnMousePressed[edit]

function InternalOnMousePressed (GUIComponent Sender, bool RepeatClick)


InternalOnMouseRelease[edit]

function InternalOnMouseRelease (GUIComponent Sender)


ModifyTooltipForDragging[edit]

function ModifyTooltipForDragging ()


RevertTooltipToNormal[edit]

function RevertTooltipToNormal ()


SetReadOnly[edit]

function SetReadOnly (bool b)


SetValue[edit]

function float SetValue (float NewValue)


ShowToolTip[edit]

function ShowToolTip ()


ToolTipLeaveArea[edit]

function bool ToolTipLeaveArea ()