diff options
Diffstat (limited to 'linden/indra/newview/lltool.cpp')
-rw-r--r-- | linden/indra/newview/lltool.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/newview/lltool.cpp b/linden/indra/newview/lltool.cpp index 00395e2..cb0d3b1 100644 --- a/linden/indra/newview/lltool.cpp +++ b/linden/indra/newview/lltool.cpp | |||
@@ -46,9 +46,9 @@ | |||
46 | extern BOOL gDebugClicks; | 46 | extern BOOL gDebugClicks; |
47 | 47 | ||
48 | //static | 48 | //static |
49 | const LLString LLTool::sNameNull("null"); | 49 | const std::string LLTool::sNameNull("null"); |
50 | 50 | ||
51 | LLTool::LLTool( const LLString& name, LLToolComposite* composite ) : | 51 | LLTool::LLTool( const std::string& name, LLToolComposite* composite ) : |
52 | mComposite( composite ), | 52 | mComposite( composite ), |
53 | mName(name) | 53 | mName(name) |
54 | { | 54 | { |
@@ -124,7 +124,7 @@ BOOL LLTool::handleRightMouseUp(S32 x, S32 y, MASK mask) | |||
124 | return FALSE; | 124 | return FALSE; |
125 | } | 125 | } |
126 | 126 | ||
127 | BOOL LLTool::handleToolTip(S32 x, S32 y, LLString& msg, LLRect* sticky_rect_screen) | 127 | BOOL LLTool::handleToolTip(S32 x, S32 y, std::string& msg, LLRect* sticky_rect_screen) |
128 | { | 128 | { |
129 | // by default, didn't handle it | 129 | // by default, didn't handle it |
130 | // llinfos << "LLTool::handleToolTip" << llendl; | 130 | // llinfos << "LLTool::handleToolTip" << llendl; |
@@ -135,12 +135,12 @@ void LLTool::setMouseCapture( BOOL b ) | |||
135 | { | 135 | { |
136 | if( b ) | 136 | if( b ) |
137 | { | 137 | { |
138 | gViewerWindow->setMouseCapture(mComposite ? mComposite : this ); | 138 | gFocusMgr.setMouseCapture(mComposite ? mComposite : this ); |
139 | } | 139 | } |
140 | else | 140 | else |
141 | if( hasMouseCapture() ) | 141 | if( hasMouseCapture() ) |
142 | { | 142 | { |
143 | gViewerWindow->setMouseCapture( NULL ); | 143 | gFocusMgr.setMouseCapture( NULL ); |
144 | } | 144 | } |
145 | } | 145 | } |
146 | 146 | ||