#include <llinventorybridge.h>
Inheritance diagram for LLGestureBridge:
Public Member Functions | |
virtual const LLString & | getPrefix () |
virtual LLViewerImage * | getIcon () 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 |
Definition at line 467 of file llinventorybridge.h.
LLGestureBridge::LLGestureBridge | ( | LLInventoryPanel * | inventory, | |
const LLUUID & | uuid | |||
) | [inline, protected] |
Definition at line 487 of file llinventorybridge.h.
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().
friend class LLInvFVBridge [friend] |
Definition at line 469 of file llinventorybridge.h.
LLString LLGestureBridge::sPrefix [static, protected] |