summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolgun.h
blob: d567db30cad22a2f7eefe0c60381ea1aad9ad514 (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
/** 
 * @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 BOOL	clipMouseWhenDown()		{ return FALSE; }

private:
	LLPointer<LLViewerImage>	mCrosshairImg;
};

#endif