diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llfloaterscriptdebug.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-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/llfloaterscriptdebug.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterscriptdebug.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/linden/indra/newview/llfloaterscriptdebug.cpp b/linden/indra/newview/llfloaterscriptdebug.cpp index 3115b69..b83463c 100644 --- a/linden/indra/newview/llfloaterscriptdebug.cpp +++ b/linden/indra/newview/llfloaterscriptdebug.cpp | |||
@@ -124,7 +124,7 @@ LLFloater* LLFloaterScriptDebug::addOutputWindow(const LLUUID &object_id) | |||
124 | void LLFloaterScriptDebug::addScriptLine(const std::string &utf8mesg, const std::string &user_name, const LLColor4& color, const LLUUID& source_id) | 124 | void LLFloaterScriptDebug::addScriptLine(const std::string &utf8mesg, const std::string &user_name, const LLColor4& color, const LLUUID& source_id) |
125 | { | 125 | { |
126 | LLViewerObject* objectp = gObjectList.findObject(source_id); | 126 | LLViewerObject* objectp = gObjectList.findObject(source_id); |
127 | LLString floater_label; | 127 | std::string floater_label; |
128 | 128 | ||
129 | if (objectp) | 129 | if (objectp) |
130 | { | 130 | { |
@@ -161,7 +161,7 @@ LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput() | |||
161 | } | 161 | } |
162 | 162 | ||
163 | LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput(const LLUUID& object_id) | 163 | LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput(const LLUUID& object_id) |
164 | : LLFloater("script instance floater", LLRect(0, 200, 200, 0), "Script", TRUE), mObjectID(object_id) | 164 | : LLFloater(std::string("script instance floater"), LLRect(0, 200, 200, 0), std::string("Script"), TRUE), mObjectID(object_id) |
165 | { | 165 | { |
166 | S32 y = getRect().getHeight() - LLFLOATER_HEADER_SIZE - LLFLOATER_VPAD; | 166 | S32 y = getRect().getHeight() - LLFLOATER_HEADER_SIZE - LLFLOATER_VPAD; |
167 | S32 x = LLFLOATER_HPAD; | 167 | S32 x = LLFLOATER_HPAD; |
@@ -172,8 +172,8 @@ LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput(const LLUUID& object_id) | |||
172 | y, | 172 | y, |
173 | getRect().getWidth() - LLFLOATER_HPAD, | 173 | getRect().getWidth() - LLFLOATER_HPAD, |
174 | LLFLOATER_VPAD ); | 174 | LLFLOATER_VPAD ); |
175 | mHistoryEditor = new LLViewerTextEditor( "Chat History Editor", | 175 | mHistoryEditor = new LLViewerTextEditor( std::string("Chat History Editor"), |
176 | history_editor_rect, S32_MAX, "", LLFontGL::sSansSerif); | 176 | history_editor_rect, S32_MAX, LLStringUtil::null, LLFontGL::sSansSerif); |
177 | mHistoryEditor->setWordWrap( TRUE ); | 177 | mHistoryEditor->setWordWrap( TRUE ); |
178 | mHistoryEditor->setFollowsAll(); | 178 | mHistoryEditor->setFollowsAll(); |
179 | mHistoryEditor->setEnabled( FALSE ); | 179 | mHistoryEditor->setEnabled( FALSE ); |
@@ -181,7 +181,7 @@ LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput(const LLUUID& object_id) | |||
181 | addChild(mHistoryEditor); | 181 | addChild(mHistoryEditor); |
182 | } | 182 | } |
183 | 183 | ||
184 | void LLFloaterScriptDebugOutput::initFloater(const LLString& title, BOOL resizable, | 184 | void LLFloaterScriptDebugOutput::initFloater(const std::string& title, BOOL resizable, |
185 | S32 min_width, S32 min_height, BOOL drag_on_left, | 185 | S32 min_width, S32 min_height, BOOL drag_on_left, |
186 | BOOL minimizable, BOOL close_btn) | 186 | BOOL minimizable, BOOL close_btn) |
187 | { | 187 | { |
@@ -195,8 +195,8 @@ void LLFloaterScriptDebugOutput::initFloater(const LLString& title, BOOL resizab | |||
195 | y, | 195 | y, |
196 | getRect().getWidth() - LLFLOATER_HPAD, | 196 | getRect().getWidth() - LLFLOATER_HPAD, |
197 | LLFLOATER_VPAD ); | 197 | LLFLOATER_VPAD ); |
198 | mHistoryEditor = new LLViewerTextEditor( "Chat History Editor", | 198 | mHistoryEditor = new LLViewerTextEditor( std::string("Chat History Editor"), |
199 | history_editor_rect, S32_MAX, "", LLFontGL::sSansSerif); | 199 | history_editor_rect, S32_MAX, LLStringUtil::null, LLFontGL::sSansSerif); |
200 | mHistoryEditor->setWordWrap( TRUE ); | 200 | mHistoryEditor->setWordWrap( TRUE ); |
201 | mHistoryEditor->setFollowsAll(); | 201 | mHistoryEditor->setFollowsAll(); |
202 | mHistoryEditor->setEnabled( FALSE ); | 202 | mHistoryEditor->setEnabled( FALSE ); |