Table of Contents

Interface IGuiElementCell

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public interface IGuiElementCell : IDisposable
Inherited Members

Properties

Bounds

The bounds of the cell.

ElementBounds Bounds { get; }

Property Value

ElementBounds

InsideClipBounds

ElementBounds InsideClipBounds { get; set; }

Property Value

ElementBounds

MouseOverCursor

string MouseOverCursor { get; }

Property Value

string

Methods

OnMouseDownOnElement(MouseEvent, int)

void OnMouseDownOnElement(MouseEvent args, int elementIndex)

Parameters

args MouseEvent
elementIndex int

OnMouseMoveOnElement(MouseEvent, int)

void OnMouseMoveOnElement(MouseEvent args, int elementIndex)

Parameters

args MouseEvent
elementIndex int

OnMouseUpOnElement(MouseEvent, int)

void OnMouseUpOnElement(MouseEvent args, int elementIndex)

Parameters

args MouseEvent
elementIndex int

OnRenderInteractiveElements(ICoreClientAPI, float)

The event fired when the cell is rendered.

void OnRenderInteractiveElements(ICoreClientAPI api, float deltaTime)

Parameters

api ICoreClientAPI

The Client API

deltaTime float

The change in time.

UpdateCellHeight()

Called when the cell is modified and needs to be updated.

void UpdateCellHeight()