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