diff options
author | James Cook <james@lindenlab.com> | 2007-01-02 08:33:20 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2007-01-02 08:33:20 +0000 |
commit | 420b91db29485df39fd6e724e782c449158811cb (patch) | |
tree | b471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/lltoolgun.h |
Print done when done.
Diffstat (limited to 'indra/newview/lltoolgun.h')
-rw-r--r-- | indra/newview/lltoolgun.h | 35 |
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 |