#include <llinventorybridge.h>
Public Member Functions | |
virtual const LLString & | getPrefix () |
virtual LLUIImagePtr | 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 468 of file llinventorybridge.h.
LLGestureBridge::LLGestureBridge | ( | LLInventoryPanel * | inventory, | |
const LLUUID & | uuid | |||
) | [inline, protected] |
Definition at line 488 of file llinventorybridge.h.
virtual const LLString& LLGestureBridge::getPrefix | ( | ) | [inline, virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 472 of file llinventorybridge.h.
References sPrefix.
Referenced by openItem().
LLUIImagePtr LLGestureBridge::getIcon | ( | ) | const [virtual] |
Reimplemented from LLItemBridge.
Definition at line 2925 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 2930 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 2942 of file llinventorybridge.cpp.
References LLItemBridge::getLabelSuffix(), gGestureManager, LLGestureManager::isGestureActive(), and LLInvFVBridge::mUUID.
void LLGestureBridge::performAction | ( | LLFolderView * | folder, | |
LLInventoryModel * | model, | |||
LLString | action | |||
) | [virtual] |
Reimplemented from LLItemBridge.
Definition at line 2955 of file llinventorybridge.cpp.
References LLGestureManager::activateGesture(), LLGestureManager::deactivateGesture(), LLInventoryModel::getItem(), gGestureManager, gInventory, LLInvFVBridge::mUUID, LLInventoryModel::notifyObservers(), LLItemBridge::performAction(), and LLInventoryModel::updateItem().
void LLGestureBridge::openItem | ( | void | ) | [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 2984 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.
BOOL LLGestureBridge::removeItem | ( | ) | [virtual] |
Reimplemented from LLItemBridge.
Definition at line 3005 of file llinventorybridge.cpp.
References LLGestureManager::deactivateGesture(), gGestureManager, LLInvFVBridge::mUUID, and LLItemBridge::removeItem().
Reimplemented from LLInvFVBridge.
Definition at line 3012 of file llinventorybridge.cpp.
References LLInvFVBridge::getClipboardEntries(), hideContextEntries(), LLInvFVBridge::isInTrash(), LLInvFVBridge::isItemRemovable(), lldebugs, and llendl.
friend class LLInvFVBridge [friend] |
Definition at line 470 of file llinventorybridge.h.
LLString LLGestureBridge::sPrefix [static, protected] |