diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/lltoolview.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lltoolview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/lltoolview.cpp b/linden/indra/newview/lltoolview.cpp index ebdbcbb..13b6e2a 100644 --- a/linden/indra/newview/lltoolview.cpp +++ b/linden/indra/newview/lltoolview.cpp | |||
@@ -101,7 +101,7 @@ void LLToolView::addTool(const LLString& icon_off, const LLString& icon_on, LLPa | |||
101 | mButtonCount++; | 101 | mButtonCount++; |
102 | 102 | ||
103 | const S32 LABEL_TOP_SPACING = 0; | 103 | const S32 LABEL_TOP_SPACING = 0; |
104 | const LLFontGL* font = gResMgr->getRes( LLFONT_SANSSERIF_SMALL ); | 104 | const LLFontGL* font = LLResMgr::getInstance()->getRes( LLFONT_SANSSERIF_SMALL ); |
105 | S32 label_width = font->getWidth( label ); | 105 | S32 label_width = font->getWidth( label ); |
106 | LLRect label_rect; | 106 | LLRect label_rect; |
107 | label_rect.setLeftTopAndSize( | 107 | label_rect.setLeftTopAndSize( |
@@ -153,7 +153,7 @@ void LLToolView::draw() | |||
153 | { | 153 | { |
154 | // turn off highlighting for all containers | 154 | // turn off highlighting for all containers |
155 | // and hide all option panels except for the selected one. | 155 | // and hide all option panels except for the selected one. |
156 | LLTool* selected = gToolMgr->getCurrentToolset()->getSelectedTool(); | 156 | LLTool* selected = LLToolMgr::getInstance()->getCurrentToolset()->getSelectedTool(); |
157 | for (contain_list_t::iterator iter = mContainList.begin(); | 157 | for (contain_list_t::iterator iter = mContainList.begin(); |
158 | iter != mContainList.end(); ++iter) | 158 | iter != mContainList.end(); ++iter) |
159 | { | 159 | { |
@@ -194,7 +194,7 @@ void LLToolView::onClickToolButton(void* userdata) | |||
194 | LLToolContainer* clicked = (LLToolContainer*) userdata; | 194 | LLToolContainer* clicked = (LLToolContainer*) userdata; |
195 | 195 | ||
196 | // Switch to this one | 196 | // Switch to this one |
197 | gToolMgr->getCurrentToolset()->selectTool( clicked->mTool ); | 197 | LLToolMgr::getInstance()->getCurrentToolset()->selectTool( clicked->mTool ); |
198 | } | 198 | } |
199 | 199 | ||
200 | 200 | ||