Table of Contents

Class ResizeButton

Namespace
UILib
Assembly
UILib.dll

A button which is added to the bottom right of Windows to allow resizing them.

public class ResizeButton : Button
Inheritance
ResizeButton
Inherited Members

Methods

OnBeginDrag(Vector2)

Handles resizing the window when dragged.

protected override void OnBeginDrag(Vector2 position)

Parameters

position Vector2

OnDrag(Vector2)

Handles resizing the window when dragged.

protected override void OnDrag(Vector2 position)

Parameters

position Vector2

SetThisTheme(Theme)

Allows setting the theme of this resize button.

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