Table of Contents

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 ICoreClientAPI
elem int
bounds ElementBounds

Methods

DrawElement(int, Context, ImageSurface)

public override void DrawElement(int color, Context ctx, ImageSurface surface)

Parameters

color int
ctx Context
surface ImageSurface