From a10f9639004b4eedc3b6e7b624912ff4ebd8fdc5 Mon Sep 17 00:00:00 2001 From: Josh Bell Date: Tue, 4 Mar 2008 16:59:57 +0000 Subject: svn merge -r 81304:81392 svn+ssh://svn.lindenlab.com/svn/linden/branches/maint-ui-8-merge QAR-343 - merge maint-ui-7 and maint-ui-8 to release --- indra/newview/lldebugview.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'indra/newview/lldebugview.cpp') diff --git a/indra/newview/lldebugview.cpp b/indra/newview/lldebugview.cpp index 0921941fdd..3fb7da7baa 100644 --- a/indra/newview/lldebugview.cpp +++ b/indra/newview/lldebugview.cpp @@ -43,6 +43,7 @@ #include "imageids.h" #include "llvelocitybar.h" #include "llviewerwindow.h" +#include "llfloaterstats.h" // // Globals @@ -100,16 +101,16 @@ LLDebugView::LLDebugView(const std::string& name, const LLRect &rect) // Debug statistics // r.set(rect.getWidth() - 250, - rect.getHeight(), + rect.getHeight() - 50, rect.getWidth(), - rect.getHeight() - 400); - mStatViewp = new LLContainerView("statistics", r); - mStatViewp->setLabel("Statistics"); - mStatViewp->setFollowsTop(); - mStatViewp->setFollowsRight(); + rect.getHeight() - 450); + mFloaterStatsp = new LLFloaterStats(r); + + mFloaterStatsp->setFollowsTop(); + mFloaterStatsp->setFollowsRight(); // Default to off - mStatViewp->setVisible(FALSE); - addChild(mStatViewp); + mFloaterStatsp->setVisible(FALSE); + addChild(mFloaterStatsp); const S32 VELOCITY_LEFT = 10; // 370; const S32 VELOCITY_WIDTH = 500; -- cgit v1.2.3