tsc_FieldContextMenuItem
A small struct that describes the appearance and behaviour flags for a field context-menu item.
A constructor, destructor and copy functions are provided to manage the data and create items easily.
Note that the TextOverride is a dynamically allocated object - the struct destructor will delete this object if present.
Members
x_Code Identifier; The identifier and default string representation.
tsc_String* TextOverride; An optional override string for display, typically NULL when unused.
bool Enabled; Is the item enabled on the menu.
bool Checked; Is there a tick shown next to this item.
bool AutoSelectIfOnlyChoice; In the absence of any other menu choices should the item be selected automatically with no UI shown.