added key selection setting

fixed amb309

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40825
This commit is contained in:
David Anderson
2007-05-21 01:11:37 +00:00
parent 98374f2ce6
commit daceab19cd
7 changed files with 53 additions and 1 deletions
+11
View File
@@ -479,6 +479,17 @@ native DrawPanelText(Handle:panel, const String:text[]);
*/
native CanPanelDrawFlags(Handle:panel, style);
/**
* Sets the selectable key map of a panel. This is not supported by
* all styles (only by Radio, as of this writing).
*
* @param keys An integer where each bit N allows key
* N+1 to be selected. If no keys are selectable,
* then key 0 (bit 9) is automatically set.
* @return True if supported, false otherwise.
*/
native bool:SetPanelKeys(Handle:panel, keys);
/**
* Sends a panel to a client. Unlike full menus, the handler
* function will only receive the following actions, both of