Add in menus for groups, and rework LFIDBearer to handle its menus

Also allow List.StartIM for multiselect
Add IsInGroup, NotInGroup, Leave, Join, and Activate "List." menu options
This commit is contained in:
Liru Færs
2019-11-24 00:27:19 -05:00
parent f5c19b9e5c
commit 1b913443ad
9 changed files with 161 additions and 22 deletions

View File

@@ -67,10 +67,9 @@ BOOL LLNameBox::handleRightMouseDown(S32 x, S32 y, MASK mask)
auto handled = LLTextBox::handleRightMouseDown(x, y, mask);
if (mAllowInteract && !handled)
{
// Singu TODO: Generic menus for groups
if (!mIsGroup && mNameID.notNull())
if (mNameID.notNull())
{
showMenu(this, sMenus[0], x, y);
showMenu(this, sMenus[getSelectedType()], x, y);
handled = true;
}
}