00001 00032 #ifndef LL_TOOLSELECT_H 00033 #define LL_TOOLSELECT_H 00034 00035 #include "lltool.h" 00036 #include "v3math.h" 00037 #include "lluuid.h" 00038 00039 class LLObjectSelection; 00040 00041 class LLToolSelect : public LLTool 00042 { 00043 public: 00044 LLToolSelect( LLToolComposite* composite ); 00045 00046 virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); 00047 virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); 00048 virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask); 00049 00050 virtual void stopEditing(); 00051 00052 static LLHandle<LLObjectSelection> handleObjectSelection(LLViewerObject *object, MASK mask, BOOL ignore_group, BOOL temp_select); 00053 00054 virtual void onMouseCaptureLost(); 00055 virtual void handleDeselect(); 00056 00057 protected: 00058 BOOL mIgnoreGroup; 00059 LLUUID mSelectObjectID; 00060 }; 00061 00062 extern LLToolSelect *gToolSelect; 00063 00064 #endif // LL_TOOLSELECTION_H