ExtendedItemDrawButton
Callable
Parameters
Option: ExtendedItemOption | ModularItemModule
The new extended item option
CurrentOption: ExtendedItemOption
The current extended item option
DialogPrefix: string
The prefix to the dialog keys for the display strings describing each extended type. The full dialog key will be
<Prefix><Option.Name>buttonData: ElementData<ElementMetaData>
The X coordinate of the button
Item: Item = DialogFocusItem
The item in question; defaults to DialogFocusItem
IsSelected: boolean = null
Whether the button is already selected or not. If
null
compute this value by checking if the item's current type matchesOption
.
Returns void
Draw a single button in the extended item type selection screen.
TypedItemDraw