LLToolTexEyedropper Class Reference

Inheritance diagram for LLToolTexEyedropper:

Inheritance graph
[legend]
Collaboration diagram for LLToolTexEyedropper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLToolTexEyedropper (void(*callback)(const LLUUID &obj_id, const LLUUID &image_id, void *userdata), void *userdata)
virtual ~LLToolTexEyedropper ()
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
virtual BOOL handleHover (S32 x, S32 y, MASK mask)

Protected Attributes

void(* mCallback )(const LLUUID &obj_id, const LLUUID &image_id, void *userdata)
voidmCallbackUserData

Detailed Description

Definition at line 1400 of file lltexturectrl.cpp.


Constructor & Destructor Documentation

LLToolTexEyedropper::LLToolTexEyedropper ( void(*)(const LLUUID &obj_id, const LLUUID &image_id, void *userdata)  callback,
void userdata 
)

Definition at line 1414 of file lltexturectrl.cpp.

LLToolTexEyedropper::~LLToolTexEyedropper (  )  [virtual]

Definition at line 1423 of file lltexturectrl.cpp.


Member Function Documentation

BOOL LLToolTexEyedropper::handleHover ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLTool.

Definition at line 1449 of file lltexturectrl.cpp.

References LLViewerWindow::getWindow(), gViewerWindow, lldebugst, llendl, LLWindow::setCursor(), TRUE, and UI_CURSOR_CROSS.

BOOL LLToolTexEyedropper::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLTool.

Definition at line 1428 of file lltexturectrl.cpp.

References LLViewerImage::getID(), LLViewerObject::getID(), LLViewerObject::getTEImage(), gLastHitObjectFace, gViewerWindow, LLPrimitive::isAvatar(), LLViewerWindow::lastObjectHit(), mCallback, mCallbackUserData, and TRUE.


Member Data Documentation

void(* LLToolTexEyedropper::mCallback)(const LLUUID &obj_id, const LLUUID &image_id, void *userdata) [protected]

Referenced by handleMouseDown().

void* LLToolTexEyedropper::mCallbackUserData [protected]

Definition at line 1410 of file lltexturectrl.cpp.

Referenced by handleMouseDown().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:53 2010 for Second Life Viewer by  doxygen 1.4.7