diff options
author | Jacek Antonelli | 2011-06-11 16:41:51 -0500 |
---|---|---|
committer | Jacek Antonelli | 2011-06-11 16:41:51 -0500 |
commit | 0e8abd5508fa281e67ac7e0600e0ae8a60b4f75f (patch) | |
tree | bd2b35dcf47e43592956e940d15c1d7ea8670b30 /linden/indra/llui | |
parent | Don't limit select distance when Disable Max Build Constraints is enabled (diff) | |
parent | Use the name of the root node for the default export filename (diff) | |
download | meta-impy-0e8abd5508fa281e67ac7e0600e0ae8a60b4f75f.zip meta-impy-0e8abd5508fa281e67ac7e0600e0ae8a60b4f75f.tar.gz meta-impy-0e8abd5508fa281e67ac7e0600e0ae8a60b4f75f.tar.bz2 meta-impy-0e8abd5508fa281e67ac7e0600e0ae8a60b4f75f.tar.xz |
Merge remote-tracking branch 'mccabe/1.4-fbeta-export_texture_sl' into next
Diffstat (limited to 'linden/indra/llui')
-rw-r--r-- | linden/indra/llui/lltabcontainer.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/linden/indra/llui/lltabcontainer.h b/linden/indra/llui/lltabcontainer.h index 8117cde..989b12c 100644 --- a/linden/indra/llui/lltabcontainer.h +++ b/linden/indra/llui/lltabcontainer.h | |||
@@ -145,7 +145,6 @@ public: | |||
145 | 145 | ||
146 | static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory); | 146 | static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory); |
147 | 147 | ||
148 | private: | ||
149 | // Structure used to map tab buttons to and from tab panels | 148 | // Structure used to map tab buttons to and from tab panels |
150 | struct LLTabTuple | 149 | struct LLTabTuple |
151 | { | 150 | { |
@@ -176,11 +175,12 @@ private: | |||
176 | LLTextBox* mPlaceholderText; | 175 | LLTextBox* mPlaceholderText; |
177 | S32 mPadding; | 176 | S32 mPadding; |
178 | }; | 177 | }; |
179 | |||
180 | void initButtons(); | ||
181 | 178 | ||
182 | LLTabTuple* getTab(S32 index) { return mTabList[index]; } | 179 | LLTabTuple* getTab(S32 index) { return mTabList[index]; } |
183 | LLTabTuple* getTabByPanel(LLPanel* child); | 180 | LLTabTuple* getTabByPanel(LLPanel* child); |
181 | |||
182 | LLTextBox* getTitle() { return mTitleBox; } | ||
183 | |||
184 | void insertTuple(LLTabTuple * tuple, eInsertionPoint insertion_point); | 184 | void insertTuple(LLTabTuple * tuple, eInsertionPoint insertion_point); |
185 | 185 | ||
186 | S32 getScrollPos() const { return mScrollPos; } | 186 | S32 getScrollPos() const { return mScrollPos; } |
@@ -195,6 +195,10 @@ private: | |||
195 | 195 | ||
196 | void setCurrentPanelIndex(S32 index) { mCurrentTabIdx = index; } | 196 | void setCurrentPanelIndex(S32 index) { mCurrentTabIdx = index; } |
197 | 197 | ||
198 | private: | ||
199 | |||
200 | void initButtons(); | ||
201 | |||
198 | void scrollPrev() { mScrollPos = llmax(0, mScrollPos-1); } // No wrap | 202 | void scrollPrev() { mScrollPos = llmax(0, mScrollPos-1); } // No wrap |
199 | void scrollNext() { mScrollPos = llmin(mScrollPos+1, mMaxScrollPos); } // No wrap | 203 | void scrollNext() { mScrollPos = llmin(mScrollPos+1, mMaxScrollPos); } // No wrap |
200 | 204 | ||