finished radio menus
added a new item flag so radio menus could ignore disabled control items due to a bug where 0 is always white in Valve menus fixed a bug where ClientPressedKey() did not account for the max page items in a style fixed some pagination drawing bugs with control items --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40791
This commit is contained in:
@@ -84,6 +84,7 @@ namespace SourceMod
|
||||
#define ITEMDRAW_NOTEXT (1<<2) /**< No text should be drawn */
|
||||
#define ITEMDRAW_SPACER (1<<3) /**< Item should be drawn as a spacer, if possible */
|
||||
#define ITEMDRAW_IGNORE ((1<<1)|(1<<2)) /**< Item should be completely ignored (rawline + notext) */
|
||||
#define ITEMDRAW_CONTROL (1<<4) /**< Item is control text (back/next/exit) */
|
||||
|
||||
/**
|
||||
* @brief Information about item drawing.
|
||||
|
||||
Reference in New Issue
Block a user