plugins/include/menus.inc
changeset 819 a2f2353049b9
parent 817 f72150caa2d0
child 840 5b83f1924e94
     1.1 --- a/plugins/include/menus.inc	Sun May 20 04:16:27 2007 +0000
     1.2 +++ b/plugins/include/menus.inc	Mon May 21 01:11:37 2007 +0000
     1.3 @@ -480,6 +480,17 @@
     1.4  native CanPanelDrawFlags(Handle:panel, style);
     1.5  
     1.6  /**
     1.7 + * Sets the selectable key map of a panel.  This is not supported by
     1.8 + * all styles (only by Radio, as of this writing).  
     1.9 + *
    1.10 + * @param keys			An integer where each bit N allows key
    1.11 + *						N+1 to be selected.  If no keys are selectable,
    1.12 + *						then key 0 (bit 9) is automatically set.
    1.13 + * @return 				True if supported, false otherwise.
    1.14 + */
    1.15 +native bool:SetPanelKeys(Handle:panel, keys);
    1.16 +
    1.17 +/**
    1.18   * Sends a panel to a client.  Unlike full menus, the handler
    1.19   * function will only receive the following actions, both of 
    1.20   * which will have INVALID_HANDLE for a menu, and the client