LLGestureBridge Class Reference

#include <llinventorybridge.h>

Inheritance diagram for LLGestureBridge:

Inheritance graph
[legend]
Collaboration diagram for LLGestureBridge:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual const LLStringgetPrefix ()
virtual LLViewerImagegetIcon () const
virtual LLFontGL::StyleFlags getLabelStyle () const
virtual LLString getLabelSuffix () const
virtual void performAction (LLFolderView *folder, LLInventoryModel *model, LLString action)
virtual void openItem ()
virtual BOOL removeItem ()
virtual void buildContextMenu (LLMenuGL &menu, U32 flags)

Protected Member Functions

 LLGestureBridge (LLInventoryPanel *inventory, const LLUUID &uuid)

Static Protected Attributes

static LLString sPrefix

Friends

class LLInvFVBridge

Detailed Description

Definition at line 467 of file llinventorybridge.h.


Constructor & Destructor Documentation

LLGestureBridge::LLGestureBridge ( LLInventoryPanel inventory,
const LLUUID uuid 
) [inline, protected]

Definition at line 487 of file llinventorybridge.h.


Member Function Documentation

void LLGestureBridge::buildContextMenu ( LLMenuGL menu,
U32  flags 
) [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 2974 of file llinventorybridge.cpp.

References LLInvFVBridge::getClipboardEntries(), hideContextEntries(), LLInvFVBridge::isInTrash(), LLInvFVBridge::isItemRemovable(), lldebugs, and llendl.

LLViewerImage * LLGestureBridge::getIcon (  )  const [virtual]

Reimplemented from LLItemBridge.

Definition at line 2887 of file llinventorybridge.cpp.

References LLAssetType::AT_GESTURE, FALSE, get_item_icon(), and LLInventoryType::IT_GESTURE.

LLFontGL::StyleFlags LLGestureBridge::getLabelStyle (  )  const [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 2892 of file llinventorybridge.cpp.

References LLFontGL::BOLD, gGestureManager, LLGestureManager::isGestureActive(), LLInvFVBridge::mUUID, and LLFontGL::NORMAL.

LLString LLGestureBridge::getLabelSuffix (  )  const [virtual]

Reimplemented from LLItemBridge.

Definition at line 2904 of file llinventorybridge.cpp.

References LLItemBridge::getLabelSuffix(), gGestureManager, LLGestureManager::isGestureActive(), and LLInvFVBridge::mUUID.

virtual const LLString& LLGestureBridge::getPrefix (  )  [inline, virtual]

Reimplemented from LLInvFVBridge.

Definition at line 471 of file llinventorybridge.h.

References sPrefix.

Referenced by openItem().

void LLGestureBridge::openItem (  )  [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 2946 of file llinventorybridge.cpp.

References LLFloaterView::adjustToFitScreen(), FALSE, LLItemBridge::getItem(), LLInventoryObject::getName(), getPrefix(), gFloaterView, LLInvFVBridge::mUUID, LLUUID::null, LLFloater::setFocus(), LLPreviewGesture::show(), LLPreview::show(), and TRUE.

void LLGestureBridge::performAction ( LLFolderView folder,
LLInventoryModel model,
LLString  action 
) [virtual]

Reimplemented from LLItemBridge.

Definition at line 2917 of file llinventorybridge.cpp.

References LLGestureManager::activateGesture(), LLGestureManager::deactivateGesture(), LLInventoryModel::getItem(), gGestureManager, gInventory, LLInvFVBridge::mUUID, LLInventoryModel::notifyObservers(), LLItemBridge::performAction(), and LLInventoryModel::updateItem().

BOOL LLGestureBridge::removeItem (  )  [virtual]

Reimplemented from LLItemBridge.

Definition at line 2967 of file llinventorybridge.cpp.

References LLGestureManager::deactivateGesture(), gGestureManager, LLInvFVBridge::mUUID, and LLItemBridge::removeItem().


Friends And Related Function Documentation

friend class LLInvFVBridge [friend]

Definition at line 469 of file llinventorybridge.h.


Member Data Documentation

LLString LLGestureBridge::sPrefix [static, protected]

Definition at line 491 of file llinventorybridge.h.

Referenced by getPrefix().


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