plugins/include/menus.inc
changeset 1290 1a3198e040fa
parent 1289 1b9c8a609447
child 1291 c6d26de53926
     1.1 --- a/plugins/include/menus.inc	Thu Aug 09 18:19:23 2007 +0000
     1.2 +++ b/plugins/include/menus.inc	Thu Aug 09 18:25:00 2007 +0000
     1.3 @@ -265,6 +265,17 @@
     1.4  native SetMenuTitle(Handle:menu, const String:fmt[], any:...);
     1.5  
     1.6  /**
     1.7 + * Returns the text of a menu's title.
     1.8 + *
     1.9 + * @param menu				Menu Handle.
    1.10 + * @param buffer			Buffer to store title.
    1.11 + * @param maxlength			Maximum length of the buffer.
    1.12 + * @return					Number of bytes written.
    1.13 + * @error					Invalid Handle/
    1.14 + */
    1.15 +native GetMenuTitle(Handle:menu, String:buffer[], maxlength);
    1.16 +
    1.17 +/**
    1.18   * Creates a raw MenuPanel based off the menu's style.
    1.19   * The Handle must be freed with CloseHandle().
    1.20   *