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/lltoolface.h |
Print done when done.
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 |