Interface IGuiElementCell
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public interface IGuiElementCell : IDisposable
- Inherited Members
- Extension Methods
Properties
Bounds
The bounds of the cell.
ElementBounds Bounds { get; }
Property Value
InsideClipBounds
ElementBounds InsideClipBounds { get; set; }
Property Value
MouseOverCursor
string MouseOverCursor { get; }
Property Value
Methods
OnMouseDownOnElement(MouseEvent, int)
void OnMouseDownOnElement(MouseEvent args, int elementIndex)
Parameters
args
MouseEventelementIndex
int
OnMouseMoveOnElement(MouseEvent, int)
void OnMouseMoveOnElement(MouseEvent args, int elementIndex)
Parameters
args
MouseEventelementIndex
int
OnMouseUpOnElement(MouseEvent, int)
void OnMouseUpOnElement(MouseEvent args, int elementIndex)
Parameters
args
MouseEventelementIndex
int
OnRenderInteractiveElements(ICoreClientAPI, float)
The event fired when the cell is rendered.
void OnRenderInteractiveElements(ICoreClientAPI api, float deltaTime)
Parameters
api
ICoreClientAPIThe Client API
deltaTime
floatThe change in time.
UpdateCellHeight()
Called when the cell is modified and needs to be updated.
void UpdateCellHeight()