summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolface.h
blob: d2b4be5debd5f0143b1ddbb56a971da7307f5fdf (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
/** 
 * @file lltoolface.h
 * @brief A tool to select object faces
 *
 * Copyright (c) 2001-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLTOOLFACE_H
#define LL_LLTOOLFACE_H

#include "lltool.h"

class LLViewerObject;

class LLToolFace
:	public LLTool
{
public:
	LLToolFace();
	virtual ~LLToolFace();

	virtual BOOL	handleMouseDown(S32 x, S32 y, MASK mask);
	virtual BOOL	handleDoubleClick(S32 x, S32 y, MASK mask);
	virtual void	handleSelect();
	virtual void	handleDeselect();
	virtual void	render();			// draw face highlights

	static void pickCallback(S32 x, S32 y, MASK mask);
};

extern LLToolFace *gToolFace;

#endif