summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.h
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-09-08 14:49:49 -0700
committerBryan O'Sullivan <bos@lindenlab.com>2009-09-08 14:49:49 -0700
commit1018b36b87d0d19e020c1e416c33c76b06125633 (patch)
treeef111a3f5b634ddc3aa23f6e6c3505142e54261a /indra/newview/llbottomtray.h
parent91aa2f37f409b7755d460c5a8e9c8d6a9a50557c (diff)
parent76001ce3f0b53391c674f315855017b78a3a2873 (diff)
Merge
Diffstat (limited to 'indra/newview/llbottomtray.h')
-rw-r--r--indra/newview/llbottomtray.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/indra/newview/llbottomtray.h b/indra/newview/llbottomtray.h
index 7f606339bc..c3c840ede0 100644
--- a/indra/newview/llbottomtray.h
+++ b/indra/newview/llbottomtray.h
@@ -33,6 +33,8 @@
#ifndef LL_LLBOTTOMPANEL_H
#define LL_LLBOTTOMPANEL_H
+#include <llmenugl.h>
+
#include "llpanel.h"
#include "llimview.h"
@@ -42,6 +44,7 @@ class LLLayoutStack;
class LLNotificationChiclet;
class LLTalkButton;
class LLNearbyChatBar;
+class LLIMChiclet;
class LLBottomTray
: public LLSingleton<LLBottomTray>
@@ -55,7 +58,6 @@ public:
BOOL postBuild();
LLChicletPanel* getChicletPanel() {return mChicletPanel;}
- LLNotificationChiclet* getIMWell() {return mIMWell;}
LLNotificationChiclet* getSysWell() {return mSysWell;}
LLNearbyChatBar* getNearbyChatBar() {return mNearbyChatBar;}
@@ -68,8 +70,11 @@ public:
virtual void onFocusLost();
virtual void setVisible(BOOL visible);
+ virtual BOOL handleRightMouseDown(S32 x, S32 y, MASK mask);
+
+ void showCameraAndMoveControls(BOOL visible);
+
private:
- void updateImChicletCount();
protected:
@@ -77,15 +82,24 @@ protected:
void onChicletClick(LLUICtrl* ctrl);
+ bool onShowCamMoveCtrlsContextMenuItemEnabled(const LLSD& userdata);
+ void onShowCamMoveCtrlsContextMenuItemClicked(const LLSD& userdata);
+
static void* createNearbyChatBar(void* userdata);
+ /**
+ * Creates IM Chiclet based on session type (IM chat or Group chat)
+ */
+ LLIMChiclet* createIMChiclet(const LLUUID& session_id);
+
LLChicletPanel* mChicletPanel;
- LLNotificationChiclet* mIMWell;
LLNotificationChiclet* mSysWell;
LLTalkButton* mTalkBtn;
LLNearbyChatBar* mNearbyChatBar;
LLLayoutStack* mToolbarStack;
-
+ LLMenuGL* mShowCamMoveCtrlsContextMenu;
+ LLPanel* mMovementPanel;
+ LLPanel* mCamPanel;
};
#endif // LL_LLBOTTOMPANEL_H