added amb766 - GetMenuTitle()
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401296
This commit is contained in:
@@ -264,6 +264,17 @@ native Handle:GetMenuStyle(Handle:menu);
|
||||
*/
|
||||
native SetMenuTitle(Handle:menu, const String:fmt[], any:...);
|
||||
|
||||
/**
|
||||
* Returns the text of a menu's title.
|
||||
*
|
||||
* @param menu Menu Handle.
|
||||
* @param buffer Buffer to store title.
|
||||
* @param maxlength Maximum length of the buffer.
|
||||
* @return Number of bytes written.
|
||||
* @error Invalid Handle/
|
||||
*/
|
||||
native GetMenuTitle(Handle:menu, String:buffer[], maxlength);
|
||||
|
||||
/**
|
||||
* Creates a raw MenuPanel based off the menu's style.
|
||||
* The Handle must be freed with CloseHandle().
|
||||
|
||||
Reference in New Issue
Block a user