Class GuiElementIconListPicker
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
Creates a toggle button for the GUI.
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
capi
ICoreClientAPIelem
stringbounds
ElementBounds
Methods
DrawElement(string, Context, ImageSurface)
public override void DrawElement(string icon, Context ctx, ImageSurface surface)
Parameters
icon
stringctx
Contextsurface
ImageSurface