diff options
author | richard <none@none> | 2009-11-09 15:29:47 -0800 |
---|---|---|
committer | richard <none@none> | 2009-11-09 15:29:47 -0800 |
commit | 4eb72a12a2280d3be6ac556ad80eb953d249e8eb (patch) | |
tree | 9316784e58adc830d5cd893694698e38786af561 /indra/newview/llsidetray.h | |
parent | fac0b6836a59681443fb2bbd13e6b5eb9c07cef5 (diff) |
data driven layout of top-level UI elements
EXT-1219 Side tray slide-out animation
cleaned up some layout of bottom tray contents
reviewed by James
Diffstat (limited to 'indra/newview/llsidetray.h')
-rw-r--r-- | indra/newview/llsidetray.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llsidetray.h b/indra/newview/llsidetray.h index b49251ec79..72a9465baa 100644 --- a/indra/newview/llsidetray.h +++ b/indra/newview/llsidetray.h @@ -118,6 +118,8 @@ public: LLPanel::setVisible(visible); } + LLPanel* getButtonsPanel() { return mButtonsPanel; } + public: virtual ~LLSideTray(){}; @@ -129,10 +131,8 @@ public: bool addChild (LLView* view, S32 tab_group); BOOL handleMouseDown (S32 x, S32 y, MASK mask); - BOOL handleScrollWheel(S32 x, S32 y, S32 mask); void reshape (S32 width, S32 height, BOOL called_from_parent = TRUE); - S32 getTrayWidth(); void resetPanelRect (); @@ -163,15 +163,15 @@ private: private: - std::map<std::string,LLButton*> mTabButtons; + LLPanel* mButtonsPanel; + typedef std::map<std::string,LLButton*> button_map_t; + button_map_t mTabButtons; child_vector_t mTabs; LLSideTrayTab* mActiveTab; LLButton* mCollapseButton; bool mCollapsed; - S32 mMaxBarWidth; - static LLSideTray* sInstance; }; |