diff options
Diffstat (limited to 'indra/newview/llmemoryview.h')
-rw-r--r-- | indra/newview/llmemoryview.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/indra/newview/llmemoryview.h b/indra/newview/llmemoryview.h index 81466bd6b0..774a52b88b 100644 --- a/indra/newview/llmemoryview.h +++ b/indra/newview/llmemoryview.h @@ -35,10 +35,20 @@ #include "llview.h" +class LLAllocator; + class LLMemoryView : public LLView { public: - LLMemoryView(const std::string& name, const LLRect& rect); + struct Params : public LLInitParam::Block<Params, LLView::Params> + { + Params() + { + mouse_opaque = true; + visible = false; + } + }; + LLMemoryView(const LLMemoryView::Params&); virtual ~LLMemoryView(); virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); @@ -46,14 +56,12 @@ public: virtual BOOL handleHover(S32 x, S32 y, MASK mask); virtual void draw(); -private: - void setDataDumpInterval(float delay); - void dumpData(); - - float mDelay; - LLFrameTimer mDumpTimer; + void refreshProfile(); private: + std::vector<LLWString> mLines; + LLAllocator* mAlloc; + }; #endif |