Table of Contents

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

Constructors

GuiElementIconListPicker(ICoreClientAPI, string, ElementBounds)

public GuiElementIconListPicker(ICoreClientAPI capi, string elem, ElementBounds bounds)

Parameters

capi ICoreClientAPI
elem string
bounds ElementBounds

Methods

DrawElement(string, Context, ImageSurface)

public override void DrawElement(string icon, Context ctx, ImageSurface surface)

Parameters

icon string
ctx Context
surface ImageSurface