diff options
Diffstat (limited to 'linden/indra/llui/lltabcontainer.h')
-rw-r--r-- | linden/indra/llui/lltabcontainer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/linden/indra/llui/lltabcontainer.h b/linden/indra/llui/lltabcontainer.h index f3365c3..3056c0a 100644 --- a/linden/indra/llui/lltabcontainer.h +++ b/linden/indra/llui/lltabcontainer.h | |||
@@ -87,7 +87,7 @@ public: | |||
87 | BOOL placeholder = FALSE, | 87 | BOOL placeholder = FALSE, |
88 | eInsertionPoint insertion_point = END) = 0; | 88 | eInsertionPoint insertion_point = END) = 0; |
89 | virtual void addPlaceholder(LLPanel* child, const LLString& label); | 89 | virtual void addPlaceholder(LLPanel* child, const LLString& label); |
90 | virtual void lockTabs(); | 90 | virtual void lockTabs(S32 num_tabs = 0); |
91 | 91 | ||
92 | virtual void enableTabButton(S32 which, BOOL enable); | 92 | virtual void enableTabButton(S32 which, BOOL enable); |
93 | 93 | ||
@@ -114,7 +114,7 @@ public: | |||
114 | 114 | ||
115 | BOOL getTabPanelFlashing(LLPanel* child); | 115 | BOOL getTabPanelFlashing(LLPanel* child); |
116 | void setTabPanelFlashing(LLPanel* child, BOOL state); | 116 | void setTabPanelFlashing(LLPanel* child, BOOL state); |
117 | virtual void setTabImage(LLPanel* child, std::string img_name); | 117 | virtual void setTabImage(LLPanel* child, std::string img_name, const LLColor4& color = LLColor4::white); |
118 | void setTitle( const LLString& title ); | 118 | void setTitle( const LLString& title ); |
119 | const LLString getPanelTitle(S32 index); | 119 | const LLString getPanelTitle(S32 index); |
120 | 120 | ||
@@ -155,7 +155,8 @@ protected: | |||
155 | mOnChangeCallback( cb ), | 155 | mOnChangeCallback( cb ), |
156 | mUserData( userdata ), | 156 | mUserData( userdata ), |
157 | mOldState(FALSE), | 157 | mOldState(FALSE), |
158 | mPlaceholderText(placeholder) | 158 | mPlaceholderText(placeholder), |
159 | mPadding(0) | ||
159 | {} | 160 | {} |
160 | 161 | ||
161 | LLTabContainerCommon* mTabContainer; | 162 | LLTabContainerCommon* mTabContainer; |
@@ -165,11 +166,13 @@ protected: | |||
165 | void* mUserData; | 166 | void* mUserData; |
166 | BOOL mOldState; | 167 | BOOL mOldState; |
167 | LLTextBox* mPlaceholderText; | 168 | LLTextBox* mPlaceholderText; |
169 | S32 mPadding; | ||
168 | }; | 170 | }; |
169 | 171 | ||
170 | typedef std::vector<LLTabTuple*> tuple_list_t; | 172 | typedef std::vector<LLTabTuple*> tuple_list_t; |
171 | tuple_list_t mTabList; | 173 | tuple_list_t mTabList; |
172 | S32 mCurrentTabIdx; | 174 | S32 mCurrentTabIdx; |
175 | BOOL mTabsHidden; | ||
173 | 176 | ||
174 | BOOL mScrolled; | 177 | BOOL mScrolled; |
175 | LLFrameTimer mScrollTimer; | 178 | LLFrameTimer mScrollTimer; |
@@ -228,7 +231,7 @@ public: | |||
228 | /*virtual*/ void removeTabPanel( LLPanel* child ); | 231 | /*virtual*/ void removeTabPanel( LLPanel* child ); |
229 | 232 | ||
230 | /*virtual*/ void setPanelTitle(S32 index, const LLString& title); | 233 | /*virtual*/ void setPanelTitle(S32 index, const LLString& title); |
231 | /*virtual*/ void setTabImage(LLPanel* child, std::string img_name); | 234 | /*virtual*/ void setTabImage(LLPanel* child, std::string img_name, const LLColor4& color = LLColor4::white); |
232 | /*virtual*/ void setRightTabBtnOffset( S32 offset ); | 235 | /*virtual*/ void setRightTabBtnOffset( S32 offset ); |
233 | 236 | ||
234 | /*virtual*/ void setMinTabWidth(S32 width); | 237 | /*virtual*/ void setMinTabWidth(S32 width); |