I'm a doctor, not a mechanic

UE2:GUISlider (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUISlider

Contents

Package: 
XInterface
This class in other games:
UE2Runtime, UT2003

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

[edit] Properties

[edit] Property group 'GUISlider'

[edit] BarStyleName

Type: string


Default value: "SliderBar"

[edit] bDrawPercentSign

Type: bool


[edit] bIntSlider

Type: bool


[edit] bReadOnly

Type: bool


[edit] bShowCaption

Type: bool


[edit] bShowMarker

Type: bool


Default value: True

[edit] bShowValueTooltip

Type: bool

Show the current value as a tooltip while dragging

Default value: True

[edit] CaptionStyleName

Type: string


Default value: "SliderCaption"

[edit] FillImage

Type: Material


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

[edit] MarkerWidth

Type: float


[edit] MaxValue

Type: float


Default value: 100.0

[edit] MinValue

Type: float


[edit] Value

Type: float


[edit] Internal variables

[edit] BarStyle

Type: GUIStyles


[edit] CaptionStyle

Type: GUIStyles


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

[edit] Subobjects

[edit] GUISliderToolTip

Class: XInterface.GUIToolTip

Empty subobject definition.

[edit] Delegates

[edit] OnDrawCaption

delegate string OnDrawCaption ()


[edit] OnPreDrawCaption

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


[edit] Functions

[edit] Events

[edit] GetMarkerPosition

event float GetMarkerPosition ()


[edit] InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIComponent.InitComponent


[edit] Other instance functions

[edit] Adjust

function Adjust (float amount)


[edit] CenterMouse

function CenterMouse ()

Overrides: GUIComponent.CenterMouse


[edit] GetValueString

function string GetValueString ()


[edit] HideToolTip

function HideToolTip ()


[edit] InternalCapturedMouseMove

function bool InternalCapturedMouseMove (float deltaX, float deltaY)


[edit] InternalOnClick

function bool InternalOnClick (GUIComponent Sender)


[edit] InternalOnKeyEvent

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


[edit] InternalOnMousePressed

function InternalOnMousePressed (GUIComponent Sender, bool RepeatClick)


[edit] InternalOnMouseRelease

function InternalOnMouseRelease (GUIComponent Sender)


[edit] ModifyTooltipForDragging

function ModifyTooltipForDragging ()


[edit] RevertTooltipToNormal

function RevertTooltipToNormal ()


[edit] SetReadOnly

function SetReadOnly (bool b)


[edit] SetValue

function float SetValue (float NewValue)


[edit] ShowToolTip

function ShowToolTip ()


[edit] ToolTipLeaveArea

function bool ToolTipLeaveArea ()


Personal tools