summaryrefslogtreecommitdiff
path: root/indra/newview/llmemoryview.h
blob: c566fa3b73240b4922a34c1a53c3b622b2e72dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/** 
 * @file llmemoryview.h
 * @brief LLMemoryView class definition
 *
 * Copyright (c) 2001-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLMEMORYVIEW_H
#define LL_LLMEMORYVIEW_H

#include "llview.h"

class LLMemoryView : public LLView
{
public:
	LLMemoryView(const std::string& name, const LLRect& rect);
	virtual ~LLMemoryView();

	virtual EWidgetType getWidgetType() const;
	virtual LLString getWidgetTag() const;

	virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask);
	virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask);
	virtual BOOL handleHover(S32 x, S32 y, MASK mask);
	virtual void draw();

private:
	void setDataDumpInterval(float delay);
	void dumpData();

	float mDelay;
	LLFrameTimer mDumpTimer;

private:
};

#endif