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
argsMouseEventelementIndexint
OnMouseMoveOnElement(MouseEvent, int)
void OnMouseMoveOnElement(MouseEvent args, int elementIndex)
Parameters
argsMouseEventelementIndexint
OnMouseUpOnElement(MouseEvent, int)
void OnMouseUpOnElement(MouseEvent args, int elementIndex)
Parameters
argsMouseEventelementIndexint
OnRenderInteractiveElements(ICoreClientAPI, float)
The event fired when the cell is rendered.
void OnRenderInteractiveElements(ICoreClientAPI api, float deltaTime)
Parameters
apiICoreClientAPIThe Client API
deltaTimefloatThe change in time.
UpdateCellHeight()
Called when the cell is modified and needs to be updated.
void UpdateCellHeight()