Modding:GUIs: Difference between revisions

From Vintage Story Wiki
Line 113: Line 113:
* <code>.AddNumberInput</code>: Adds an editable text field built for entering numbers
* <code>.AddNumberInput</code>: Adds an editable text field built for entering numbers
* <code>.AddTextArea</code>: Adds multiple line editable text field
* <code>.AddTextArea</code>: Adds multiple line editable text field
====Tables/Grids/Inventory===
* <code>.AddItemSlotGrid</code>: Create a grid displaying the contents of supplied inventory (example see [https://github.com/anegostudios/vsessentialsmod/blob/master/Gui/GuiDialogCarcassContents.cs GuiDialogCarcassContents])
* <code>.AddSkillItemGrid</code>: Create a grid of custom elements (example see [https://github.com/anegostudios/vssurvivalmod/blob/master/Gui/GuiDialogBlockEntityRecipeSelector.cs GuiDialogBlockEntityRecipeSelector])


====Other====
====Other====
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits