TextButton

TextButton
int TextButton ( fixed X, fixed Y, fixed Width, fixed Height, int HudID, str Text, str HoverImage )

Function is located within Inventory/script/HUD_Funcs.dh

Parameters:

 * X/Y - fixed coordinates for button graphic origin
 * Width/Height - fixed size of button area
 * HudID - HudMessage ID#
 * Text - String text to display
 * HoverImage - String image name to display when hovered

Description:
TextButton behaves similarly to SingleButton but does not associate itself with an inventory slot. It can therefore be used for any text-based button regardless of context. Its current main use is in ContextMenu to display contextual options for items.