aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterscriptdebug.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llfloaterscriptdebug.cpp
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llfloaterscriptdebug.cpp')
-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);