summaryrefslogtreecommitdiff
path: root/indra/newview/llsidetray.cpp
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2009-12-02 14:25:18 +0000
committerLynx Linden <lynx@lindenlab.com>2009-12-02 14:25:18 +0000
commit3d3f2fa4be8b28041b46983010547fb804ff8144 (patch)
tree178cb40f9276bdfe180ce2947acc0c39e251421d /indra/newview/llsidetray.cpp
parentf496c2b164a100836d74909c3e27adcdf98018f0 (diff)
DEV-43439: Initial web-based Home side tray panel
Moved LLSideTrayInfoPanel from llsidetray.cpp into its own llpanelhome.{cpp|h} module. Updated the XUI for the Home tab to simply embed a web view. Thanks to Erica for the initial cut at this XUI.
Diffstat (limited to 'indra/newview/llsidetray.cpp')
-rw-r--r--indra/newview/llsidetray.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/indra/newview/llsidetray.cpp b/indra/newview/llsidetray.cpp
index ee62d689b5..9333465052 100644
--- a/indra/newview/llsidetray.cpp
+++ b/indra/newview/llsidetray.cpp
@@ -66,37 +66,6 @@ static const std::string TAB_PANEL_CAPTION_TITLE_BOX = "sidetray_tab_title";
LLSideTray* LLSideTray::sInstance = 0;
-class LLSideTrayInfoPanel: public LLPanel
-{
-
-public:
- LLSideTrayInfoPanel():LLPanel()
- {
- setBorderVisible(true);
- }
-
- BOOL handleHover(S32 x, S32 y, MASK mask)
- {
- getWindow()->setCursor(UI_CURSOR_HAND);
- return TRUE;
- }
-
- BOOL handleMouseUp(S32 x, S32 y, MASK mask)
- {
- std::string name = getName();
- onCommit();
- LLSideTray::getInstance()->selectTabByName(name);
- return LLPanel::handleMouseUp(x,y,mask);
- }
- void reshape (S32 width, S32 height, BOOL called_from_parent )
- {
- return LLPanel::reshape(width, height, called_from_parent);
- }
-
-};
-
-static LLRegisterPanelClassWrapper<LLSideTrayInfoPanel> t_people("panel_sidetray_home_info");
-
LLSideTray* LLSideTray::getInstance()
{
if (!sInstance)