summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolindividual.h
blob: b5fe789d508534f1df874c5f5811fa76f26af838 (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
39
40
41
/** 
 * @file lltoolindividual.h
 * @brief LLToolIndividual class header file
 *
 * Copyright (c) 2002-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLTOOLINDIVIDUAL_H
#define LL_LLTOOLINDIVIDUAL_H

#include "lltool.h"

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Class lltoolindividual
//
// A tool to select individual objects rather than linked sets.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

	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();

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

protected:

};

extern LLToolIndividual* gToolIndividual;


#endif // LL_LLTOOLINDIVIDUAL_H