diff options
Diffstat (limited to 'indra/newview/lltoolface.h')
-rw-r--r-- | indra/newview/lltoolface.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/indra/newview/lltoolface.h b/indra/newview/lltoolface.h new file mode 100644 index 0000000000..d2b4be5deb --- /dev/null +++ b/indra/newview/lltoolface.h @@ -0,0 +1,34 @@ +/** + * @file lltoolface.h + * @brief A tool to select object faces + * + * Copyright (c) 2001-$CurrentYear$, Linden Research, Inc. + * $License$ + */ + +#ifndef LL_LLTOOLFACE_H +#define LL_LLTOOLFACE_H + +#include "lltool.h" + +class LLViewerObject; + +class LLToolFace +: public LLTool +{ +public: + LLToolFace(); + virtual ~LLToolFace(); + + virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); + virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask); + virtual void handleSelect(); + virtual void handleDeselect(); + virtual void render(); // draw face highlights + + static void pickCallback(S32 x, S32 y, MASK mask); +}; + +extern LLToolFace *gToolFace; + +#endif |