diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2023-09-21 14:41:00 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2023-09-21 14:41:00 +0300 |
commit | e3ba75101a94cff9b1409c58f796587cf2702f10 (patch) | |
tree | e80418f7d3356b821d245eb2b5abd0a3c4931894 /indra/llui | |
parent | ac67a7c7a11c188281f357f8f2e6e10eeb3a5b78 (diff) |
DRTVWR-589 - adding menu items to the top menu
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llmenugl.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/indra/llui/llmenugl.h b/indra/llui/llmenugl.h index 9d3be8d94f..1a330b18cc 100644 --- a/indra/llui/llmenugl.h +++ b/indra/llui/llmenugl.h @@ -555,11 +555,12 @@ public: // add a context menu branch BOOL appendContextSubMenu(LLMenuGL *menu); + // Add the menu item to this menu. + virtual BOOL append( LLMenuItemGL* item ); + protected: void createSpilloverBranch(); void cleanupSpilloverBranch(); - // Add the menu item to this menu. - virtual BOOL append( LLMenuItemGL* item ); // add a menu - this will create a cascading menu virtual BOOL appendMenu( LLMenuGL* menu ); @@ -798,9 +799,10 @@ public: void resetMenuTrigger() { mAltKeyTrigger = FALSE; } + // add a menu - this will create a drop down menu. + virtual BOOL appendMenu(LLMenuGL *menu); + private: - // add a menu - this will create a drop down menu. - virtual BOOL appendMenu( LLMenuGL* menu ); // rearrange the child rects so they fit the shape of the menu // bar. virtual void arrange( void ); |