aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lltabcontainervertical.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:27 -0500
committerJacek Antonelli2008-08-15 23:45:27 -0500
commita8a62201ba762e98dff92cf49033e577fc34d8d4 (patch)
tree11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/llui/lltabcontainervertical.cpp
parentSecond Life viewer sources 1.18.6.4-RC (diff)
downloadmeta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/llui/lltabcontainervertical.cpp')
-rw-r--r--linden/indra/llui/lltabcontainervertical.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/linden/indra/llui/lltabcontainervertical.cpp b/linden/indra/llui/lltabcontainervertical.cpp
index 5a04417..334cb43 100644
--- a/linden/indra/llui/lltabcontainervertical.cpp
+++ b/linden/indra/llui/lltabcontainervertical.cpp
@@ -12,12 +12,12 @@
12 * ("GPL"), unless you have obtained a separate licensing agreement 12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of 13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or 14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlife.com/developers/opensource/gplv2 15 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
16 * 16 *
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlife.com/developers/opensource/flossexception 20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 21 *
22 * By copying, modifying or distributing this software, you acknowledge 22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 23 * that you have read and understood your obligations described above,
@@ -185,14 +185,14 @@ void LLTabContainerVertical::addTabPanel(LLPanel* child, const LLString& label,
185 { 185 {
186 LLButton *btn = new LLButton("vert tab button", 186 LLButton *btn = new LLButton("vert tab button",
187 btn_rect, 187 btn_rect,
188 "tab_left.tga", 188 "",
189 "tab_left_selected.tga", 189 "",
190 "", 190 "",
191 &LLTabContainerVertical::onTabBtn, NULL, 191 &LLTabContainerVertical::onTabBtn, NULL,
192 font, 192 font,
193 trimmed_label, trimmed_label); 193 trimmed_label, trimmed_label);
194 btn->setSaveToXML(false); 194 btn->setSaveToXML(false);
195 btn->setFixedBorder(16, 16); 195 btn->setImages("tab_left.tga", "tab_left_selected.tga");
196 btn->setScaleImage(TRUE); 196 btn->setScaleImage(TRUE);
197 btn->setHAlign(LLFontGL::LEFT); 197 btn->setHAlign(LLFontGL::LEFT);
198 btn->setFollows(FOLLOWS_TOP | FOLLOWS_LEFT); 198 btn->setFollows(FOLLOWS_TOP | FOLLOWS_LEFT);
@@ -306,7 +306,7 @@ BOOL LLTabContainerVertical::selectTab(S32 which)
306 306
307 //if( gFocusMgr.childHasKeyboardFocus( this ) ) 307 //if( gFocusMgr.childHasKeyboardFocus( this ) )
308 //{ 308 //{
309 // gFocusMgr.setKeyboardFocus( NULL, NULL ); 309 // gFocusMgr.setKeyboardFocus( NULL );
310 //} 310 //}
311 311
312 LLTabTuple* selected_tuple = mTabList[which]; 312 LLTabTuple* selected_tuple = mTabList[which];
@@ -476,7 +476,7 @@ BOOL LLTabContainerVertical::handleMouseDown( S32 x, S32 y, MASK mask )
476 { 476 {
477 LLButton* tab_button = mTabList[getCurrentPanelIndex()]->mButton; 477 LLButton* tab_button = mTabList[getCurrentPanelIndex()]->mButton;
478 gFocusMgr.setMouseCapture(this); 478 gFocusMgr.setMouseCapture(this);
479 gFocusMgr.setKeyboardFocus(tab_button, NULL); 479 gFocusMgr.setKeyboardFocus(tab_button);
480 } 480 }
481 } 481 }
482 return handled; 482 return handled;