aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterscriptdebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterscriptdebug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaterscriptdebug.cpp b/linden/indra/newview/llfloaterscriptdebug.cpp
index 005bc53..b88ab78 100644
--- a/linden/indra/newview/llfloaterscriptdebug.cpp
+++ b/linden/indra/newview/llfloaterscriptdebug.cpp
@@ -163,14 +163,14 @@ LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput()
163LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput(const LLUUID& object_id) 163LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput(const LLUUID& object_id)
164: LLFloater("script instance floater", LLRect(0, 200, 200, 0), "Script", TRUE), mObjectID(object_id) 164: LLFloater("script instance floater", LLRect(0, 200, 200, 0), "Script", TRUE), mObjectID(object_id)
165{ 165{
166 S32 y = mRect.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;
168 // History editor 168 // History editor
169 // Give it a border on the top 169 // Give it a border on the top
170 LLRect history_editor_rect( 170 LLRect history_editor_rect(
171 x, 171 x,
172 y, 172 y,
173 mRect.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( "Chat History Editor",
176 history_editor_rect, S32_MAX, "", LLFontGL::sSansSerif); 176 history_editor_rect, S32_MAX, "", LLFontGL::sSansSerif);
@@ -186,14 +186,14 @@ void LLFloaterScriptDebugOutput::init(const LLString& title, BOOL resizable,
186 BOOL minimizable, BOOL close_btn) 186 BOOL minimizable, BOOL close_btn)
187{ 187{
188 LLFloater::init(title, resizable, min_width, min_height, drag_on_left, minimizable, close_btn); 188 LLFloater::init(title, resizable, min_width, min_height, drag_on_left, minimizable, close_btn);
189 S32 y = mRect.getHeight() - LLFLOATER_HEADER_SIZE - LLFLOATER_VPAD; 189 S32 y = getRect().getHeight() - LLFLOATER_HEADER_SIZE - LLFLOATER_VPAD;
190 S32 x = LLFLOATER_HPAD; 190 S32 x = LLFLOATER_HPAD;
191 // History editor 191 // History editor
192 // Give it a border on the top 192 // Give it a border on the top
193 LLRect history_editor_rect( 193 LLRect history_editor_rect(
194 x, 194 x,
195 y, 195 y,
196 mRect.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( "Chat History Editor",
199 history_editor_rect, S32_MAX, "", LLFontGL::sSansSerif); 199 history_editor_rect, S32_MAX, "", LLFontGL::sSansSerif);