summaryrefslogtreecommitdiff
path: root/indra/newview/lldebugview.cpp
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-05 20:36:15 -0800
committerrichard <none@none>2009-11-05 20:36:15 -0800
commitfac0b6836a59681443fb2bbd13e6b5eb9c07cef5 (patch)
treea8f184ddfa345716a83b02240e4ff5c56d791c49 /indra/newview/lldebugview.cpp
parent52b174d316b5f26bbc0722a6816e387d5a6565b3 (diff)
refactored top level ui into main_view.xml
Diffstat (limited to 'indra/newview/lldebugview.cpp')
-rw-r--r--indra/newview/lldebugview.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/lldebugview.cpp b/indra/newview/lldebugview.cpp
index 24a57cb0c1..15d74c9793 100644
--- a/indra/newview/lldebugview.cpp
+++ b/indra/newview/lldebugview.cpp
@@ -55,12 +55,16 @@ LLDebugView* gDebugView = NULL;
//
// Methods
//
+static LLDefaultChildRegistry::Register<LLDebugView> r("debug_view");
LLDebugView::LLDebugView(const LLDebugView::Params& p)
: LLView(p)
+{}
+
+void LLDebugView::init()
{
LLRect r;
- LLRect rect(p.rect);
+ LLRect rect = getLocalRect();
r.set(10, rect.getHeight() - 100, rect.getWidth()/2, 100);
LLConsole::Params cp;