diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 13:09:45 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:30 +0000 |
commit | 516bcf75d8b4777f169a8c359e914ce152f36883 (patch) | |
tree | e85ba207857871f103aefb14b7d4c21a3cef4a70 /assets/ui/menudef.h | |
parent | 8938a4997bc043163d52ca4d621dfbd57fd991c3 (diff) |
* Strict type-checking of menu item keywords that use the typeData union
Diffstat (limited to 'assets/ui/menudef.h')
-rw-r--r-- | assets/ui/menudef.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/ui/menudef.h b/assets/ui/menudef.h index e834910d..80a44e98 100644 --- a/assets/ui/menudef.h +++ b/assets/ui/menudef.h @@ -3,6 +3,8 @@ enum { + ITEM_TYPE_ANY = -1, // invalid type + ITEM_TYPE_NONE, // no specified type ITEM_TYPE_TEXT, // simple text ITEM_TYPE_BUTTON, // button, basically text with a border ITEM_TYPE_RADIOBUTTON, // toggle button, may be grouped |