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