summaryrefslogtreecommitdiff
path: root/indra/newview/llhudview.h
blob: 85267979c6d322f1a038185b2a3614069fdd1f0a (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
/** 
 * @file llhudview.h
 * @brief 2D HUD overlay
 *
 * Copyright (c) 2003-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLHUDVIEW_H
#define LL_LLHUDVIEW_H

#include "llview.h"
#include "v4color.h"

class LLVector3d;

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

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

	virtual void draw();

	const LLColor4& colorFromType(S32 type);

protected:
	/*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask);
};

extern LLHUDView *gHUDView;

#endif