From 516bcf75d8b4777f169a8c359e914ce152f36883 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 13:09:45 +0000 Subject: * Strict type-checking of menu item keywords that use the typeData union --- assets/ui/menudef.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'assets') 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 -- cgit