Table of Contents

Class ScrollBar

Namespace
UILib.Components
Assembly
UILib.dll

A scroll bar.

public class ScrollBar : UIObject
Inheritance
ScrollBar
Inherited Members

Methods

OnBeginDrag(Vector2)

This override ignores drags.

protected override void OnBeginDrag(Vector2 position)

Parameters

position Vector2

The position the drag started at

OnDrag(Vector2)

This override ignores drags.

protected override void OnDrag(Vector2 position)

Parameters

position Vector2

The position dragged to

OnEndDrag(Vector2)

This override ignores drags.

protected override void OnEndDrag(Vector2 position)

Parameters

position Vector2

The position dragged to

SetThisTheme(Theme)

Allows setting the theme of this scroll bar.

This handles setting the theme specifically for this component, not its children. It's protected to allow overriding if you were to create a subclass.

In most cases, you'd probably want to use SetTheme(Theme) instead.

protected override void SetThisTheme(Theme theme)

Parameters

theme Theme

The theme to apply