Add AIHTTPView, a HTTP Debug Console - press Ctrl-Shift-7

This commit is contained in:
Aleric Inglewood
2013-06-01 16:14:32 +02:00
parent 5c05a04a2c
commit 98badb94da
12 changed files with 471 additions and 14 deletions

View File

@@ -39,6 +39,7 @@
#include "llfasttimerview.h"
#include "llconsole.h"
#include "lltextureview.h"
#include "aihttpview.h"
#include "llresmgr.h"
#include "imageids.h"
#include "llvelocitybar.h"
@@ -93,6 +94,16 @@ LLDebugView::LLDebugView(const std::string& name, const LLRect &rect)
addChild(gTextureView);
//gTextureView->reshape(r.getWidth(), r.getHeight(), TRUE);
r.set(150, rect.getHeight() - 50, 870, 100);
AIHTTPView::Params hvp;
hvp.name("gHttpView");
hvp.rect(r);
hvp.visible(false);
gHttpView = LLUICtrlFactory::create<AIHTTPView>(hvp);
//gHttpView->setFollowsBottom();
//gHttpView->setFollowsLeft();
addChild(gHttpView);
if(gAuditTexture)
{
r.set(150, rect.getHeight() - 50, 900 + LLImageGL::sTextureLoadedCounter.size() * 30, 100);
@@ -129,6 +140,7 @@ LLDebugView::~LLDebugView()
// These have already been deleted. Fix the globals appropriately.
gDebugView = NULL;
gTextureView = NULL;
gHttpView = NULL;
gTextureSizeView = NULL;
gTextureCategoryView = NULL;
}