summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneltopinfobar.h
diff options
context:
space:
mode:
authorAndrew Polunin <apolunin@productengine.com>2010-06-18 15:58:00 +0300
committerAndrew Polunin <apolunin@productengine.com>2010-06-18 15:58:00 +0300
commit2c5af9672c8b531762475c752dd1904a4024ff67 (patch)
treee97f3a00fe526e65d7ed44bf264afd39486b408c /indra/newview/llpaneltopinfobar.h
parenta8276dfd5998a7ef86668d7a8e3f9e8a7d124801 (diff)
EXT-5808 FIXED Added another context menu. Also Navigation Bar and Mini-Location bar are mutually exclusive now
- Implemented context menu for Mini-Location bar (menu_topinfobar.xml) - Implemented function show_topinfobar_context_menu() (in llviewermenu.h) which displays context menu for Mini-Location bar. - Functions toggle_show_navigation_panel() and toggle_show_mini_location_panel() modified so that Navigation Bar and Mini-Location bar are mutually exclusive (when the former is visible the latter is hidden and vice versa). - Implemented method LLPanelTopInfoBar::onContextMenuItemClicked which handles \"landmark\" and \"copy\" Mini-Location bar context menu actions. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/607/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpaneltopinfobar.h')
-rw-r--r--indra/newview/llpaneltopinfobar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpaneltopinfobar.h b/indra/newview/llpaneltopinfobar.h
index 4a85bbcd76..e417a06a64 100644
--- a/indra/newview/llpaneltopinfobar.h
+++ b/indra/newview/llpaneltopinfobar.h
@@ -95,6 +95,11 @@ private:
void onAgentParcelChange();
/**
+ * Called when context menu item is clicked.
+ */
+ void onContextMenuItemClicked(const LLSD::String& userdata);
+
+ /**
* Called when user checks/unchecks Show Coordinates menu item.
*/
void onNavBarShowParcelPropertiesCtrlChanged();