00001 00032 #ifndef LL_TOOLGUN_H 00033 #define LL_TOOLGUN_H 00034 00035 #include "lltool.h" 00036 #include "llviewerimage.h" 00037 00038 00039 class LLToolGun : public LLTool 00040 { 00041 public: 00042 LLToolGun( LLToolComposite* composite=NULL ); 00043 00044 virtual void draw(); 00045 00046 virtual void handleSelect(); 00047 virtual void handleDeselect(); 00048 00049 virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); 00050 virtual BOOL handleHover(S32 x, S32 y, MASK mask); 00051 00052 virtual LLTool* getOverrideTool(MASK mask) { return NULL; } 00053 virtual BOOL clipMouseWhenDown() { return FALSE; } 00054 00055 private: 00056 LLPointer<LLViewerImage> mCrosshairImg; 00057 }; 00058 00059 #endif