LLDropTarget Class Reference

Inheritance diagram for LLDropTarget:

Inheritance graph
[legend]
Collaboration diagram for LLDropTarget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLDropTarget (const std::string &name, const LLRect &rect, const LLUUID &agent_id)
 ~LLDropTarget ()
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
void doDrop (EDragAndDropType cargo_type, void *cargo_data)
virtual BOOL handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data, EAcceptance *accept, LLString &tooltip_msg)
void setAgentID (const LLUUID &agent_id)

Protected Attributes

LLUUID mAgentID

Detailed Description

Definition at line 101 of file llpanelavatar.cpp.


Constructor & Destructor Documentation

LLDropTarget::LLDropTarget ( const std::string &  name,
const LLRect rect,
const LLUUID agent_id 
)

Definition at line 125 of file llpanelavatar.cpp.

LLDropTarget::~LLDropTarget (  ) 

Definition at line 132 of file llpanelavatar.cpp.


Member Function Documentation

void LLDropTarget::doDrop ( EDragAndDropType  cargo_type,
void cargo_data 
)

Definition at line 146 of file llpanelavatar.cpp.

References llendl, and llinfos.

LLString LLDropTarget::getWidgetTag (  )  const [virtual]

Implements LLView.

Definition at line 141 of file llpanelavatar.cpp.

References LL_DROP_TARGET_TAG.

EWidgetType LLDropTarget::getWidgetType (  )  const [virtual]

Implements LLView.

Definition at line 136 of file llpanelavatar.cpp.

References WIDGET_TYPE_DROP_TARGET.

BOOL LLDropTarget::handleDragAndDrop ( S32  x,
S32  y,
MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void cargo_data,
EAcceptance accept,
LLString tooltip_msg 
) [virtual]

Reimplemented from LLView.

Definition at line 151 of file llpanelavatar.cpp.

References ACCEPT_NO, ACCEPT_YES_COPY_SINGLE, DAD_ANIMATION, DAD_BODYPART, DAD_CALLINGCARD, DAD_CATEGORY, DAD_CLOTHING, DAD_GESTURE, DAD_LANDMARK, DAD_NOTECARD, DAD_OBJECT, DAD_SCRIPT, DAD_SOUND, DAD_TEXTURE, FALSE, LLInventoryModel::getCategory(), LLInventoryModel::getItem(), LLView::getParent(), LLInventoryObject::getUUID(), gInventory, LLToolDragAndDrop::giveInventory(), LLToolDragAndDrop::giveInventoryCategory(), LLToolDragAndDrop::isInventoryGiveAcceptable(), mAgentID, and TRUE.

void LLDropTarget::setAgentID ( const LLUUID agent_id  )  [inline]

Definition at line 119 of file llpanelavatar.cpp.

References mAgentID.


Member Data Documentation

LLUUID LLDropTarget::mAgentID [protected]

Definition at line 121 of file llpanelavatar.cpp.

Referenced by handleDragAndDrop(), and setAgentID().


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