Class GuiElementColorListPicker
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
Creates a toggle button for the GUI.
public class GuiElementColorListPicker : GuiElementElementListPickerBase<int>, IDisposable
- Inheritance
-
GuiElementColorListPicker
- Implements
- Inherited Members
Constructors
GuiElementColorListPicker(ICoreClientAPI, int, ElementBounds)
public GuiElementColorListPicker(ICoreClientAPI capi, int elem, ElementBounds bounds)
Parameters
capi
ICoreClientAPIelem
intbounds
ElementBounds
Methods
DrawElement(int, Context, ImageSurface)
public override void DrawElement(int color, Context ctx, ImageSurface surface)
Parameters
color
intctx
Contextsurface
ImageSurface