summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolgun.h
blob: 4232a401fd43438bb89bbadbfb69df17321c7212 (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
/** 
 * @file lltoolgun.h
 * @brief LLToolGun class header file
 *
 * Copyright (c) 2001-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_TOOLGUN_H
#define LL_TOOLGUN_H

#include "lltool.h"
#include "llviewerimage.h"


class LLToolGun : public LLTool
{
public:
	LLToolGun( LLToolComposite* composite=NULL );

	virtual void	draw();

	virtual void	handleSelect();
	virtual void	handleDeselect();

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

	virtual LLTool*	getOverrideTool(MASK mask) { return NULL; }
	virtual BOOL	clipMouseWhenDown()		{ return FALSE; }

private:
	LLPointer<LLViewerImage>	mCrosshairImg;
};

#endif