aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolbar.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/lltoolbar.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/lltoolbar.cpp')
-rw-r--r--linden/indra/newview/lltoolbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/lltoolbar.cpp b/linden/indra/newview/lltoolbar.cpp
index 6612538..fb23567 100644
--- a/linden/indra/newview/lltoolbar.cpp
+++ b/linden/indra/newview/lltoolbar.cpp
@@ -75,7 +75,7 @@
75 class LLFakeResizeHandle : public LLResizeHandle 75 class LLFakeResizeHandle : public LLResizeHandle
76 { 76 {
77 public: 77 public:
78 LLFakeResizeHandle(const LLString& name, const LLRect& rect, S32 min_width, S32 min_height, ECorner corner = RIGHT_BOTTOM ) 78 LLFakeResizeHandle(const std::string& name, const LLRect& rect, S32 min_width, S32 min_height, ECorner corner = RIGHT_BOTTOM )
79 : LLResizeHandle(name, rect, min_width, min_height, corner ) 79 : LLResizeHandle(name, rect, min_width, min_height, corner )
80 { 80 {
81 81
@@ -169,7 +169,7 @@ BOOL LLToolBar::postBuild()
169 if(mResizeHandle == NULL) 169 if(mResizeHandle == NULL)
170 { 170 {
171 LLRect rect(0, 0, RESIZE_HANDLE_WIDTH, RESIZE_HANDLE_HEIGHT); 171 LLRect rect(0, 0, RESIZE_HANDLE_WIDTH, RESIZE_HANDLE_HEIGHT);
172 mResizeHandle = new LLFakeResizeHandle(LLString(""), rect, RESIZE_HANDLE_WIDTH, RESIZE_HANDLE_HEIGHT); 172 mResizeHandle = new LLFakeResizeHandle(std::string(""), rect, RESIZE_HANDLE_WIDTH, RESIZE_HANDLE_HEIGHT);
173 this->addChildAtEnd(mResizeHandle); 173 this->addChildAtEnd(mResizeHandle);
174 LLLayoutStack* toolbar_stack = getChild<LLLayoutStack>("toolbar_stack"); 174 LLLayoutStack* toolbar_stack = getChild<LLLayoutStack>("toolbar_stack");
175 toolbar_stack->reshape(toolbar_stack->getRect().getWidth() - RESIZE_HANDLE_WIDTH, toolbar_stack->getRect().getHeight()); 175 toolbar_stack->reshape(toolbar_stack->getRect().getWidth() - RESIZE_HANDLE_WIDTH, toolbar_stack->getRect().getHeight());
@@ -191,7 +191,7 @@ BOOL LLToolBar::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop,
191 EDragAndDropType cargo_type, 191 EDragAndDropType cargo_type,
192 void* cargo_data, 192 void* cargo_data,
193 EAcceptance* accept, 193 EAcceptance* accept,
194 LLString& tooltip_msg) 194 std::string& tooltip_msg)
195{ 195{
196 LLButton* inventory_btn = getChild<LLButton>("inventory_btn"); 196 LLButton* inventory_btn = getChild<LLButton>("inventory_btn");
197 if (!inventory_btn) return FALSE; 197 if (!inventory_btn) return FALSE;
@@ -356,7 +356,7 @@ void LLToolBar::updateCommunicateList()
356 LLFloaterIMPanel* im_floaterp = (LLFloaterIMPanel*)floater_handle_it->get(); 356 LLFloaterIMPanel* im_floaterp = (LLFloaterIMPanel*)floater_handle_it->get();
357 if (im_floaterp) 357 if (im_floaterp)
358 { 358 {
359 LLString floater_title = im_floaterp->getNumUnreadMessages() > 0 ? "*" : ""; 359 std::string floater_title = im_floaterp->getNumUnreadMessages() > 0 ? "*" : "";
360 floater_title.append(im_floaterp->getShortTitle()); 360 floater_title.append(im_floaterp->getShortTitle());
361 itemp = communicate_button->add(floater_title, im_floaterp->getSessionID(), ADD_TOP); 361 itemp = communicate_button->add(floater_title, im_floaterp->getSessionID(), ADD_TOP);
362 if (im_floaterp == frontmost_floater) 362 if (im_floaterp == frontmost_floater)