summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolgun.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
committerJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
commit420b91db29485df39fd6e724e782c449158811cb (patch)
treeb471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/lltoolgun.h
Print done when done.
Diffstat (limited to 'indra/newview/lltoolgun.h')
-rw-r--r--indra/newview/lltoolgun.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/indra/newview/lltoolgun.h b/indra/newview/lltoolgun.h
new file mode 100644
index 0000000000..d567db30ca
--- /dev/null
+++ b/indra/newview/lltoolgun.h
@@ -0,0 +1,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