#include <llinventorybridge.h>
Inheritance diagram for LLWearableBridge:
Definition at line 566 of file llinventorybridge.h.
LLWearableBridge::LLWearableBridge | ( | LLInventoryPanel * | inventory, | |
const LLUUID & | uuid, | |||
LLAssetType::EType | asset_type, | |||
LLInventoryType::EType | inv_type, | |||
EWearableType | wearable_type | |||
) | [inline, protected] |
Definition at line 593 of file llinventorybridge.h.
Reimplemented from LLInvFVBridge.
Definition at line 4262 of file llinventorybridge.cpp.
References LLAssetType::AT_BODYPART, LLAssetType::AT_CLOTHING, FIRST_SELECTED_ITEM, LLInvFVBridge::getClipboardEntries(), LLItemBridge::getItem(), LLInventoryObject::getType(), hideContextEntries(), LLInvFVBridge::isInTrash(), isItemRemovable(), lldebugs, llendl, and SUPPRESS_OPEN_ITEM.
Definition at line 4421 of file llinventorybridge.cpp.
References FALSE, gAgent, and LLAgent::isWearingItem().
Definition at line 4456 of file llinventorybridge.cpp.
References LLAssetType::AT_BODYPART, FALSE, gAgent, and LLAgent::isWearingItem().
Definition at line 4328 of file llinventorybridge.cpp.
References FALSE, gAgent, and LLAgent::isWearingItem().
void LLWearableBridge::editOnAvatar | ( | ) |
Definition at line 4439 of file llinventorybridge.cpp.
References CAMERA_MODE_CUSTOMIZE_AVATAR, LLAgent::changeCameraToCustomizeAvatar(), gAgent, LLAgent::getCameraMode(), LLWearable::getType(), LLAgent::getWearableFromWearableItem(), LLInvFVBridge::mUUID, and LLFloaterCustomize::setCurrentWearableType().
Referenced by performAction().
LLViewerImage * LLWearableBridge::getIcon | ( | ) | const [virtual] |
Reimplemented from LLItemBridge.
Definition at line 4189 of file llinventorybridge.cpp.
References FALSE, get_item_icon(), mAssetType, mInvType, and mWearableType.
LLFontGL::StyleFlags LLWearableBridge::getLabelStyle | ( | ) | const [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 4164 of file llinventorybridge.cpp.
References LLFontGL::BOLD, gAgent, LLAgent::isWearingItem(), LLInvFVBridge::mUUID, and LLFontGL::NORMAL.
LLString LLWearableBridge::getLabelSuffix | ( | ) | const [virtual] |
Reimplemented from LLItemBridge.
Definition at line 4177 of file llinventorybridge.cpp.
References gAgent, LLItemBridge::getLabelSuffix(), LLAgent::isWearingItem(), and LLInvFVBridge::mUUID.
BOOL LLWearableBridge::isItemRemovable | ( | ) | [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 4158 of file llinventorybridge.cpp.
References FALSE, gAgent, LLInvFVBridge::isItemRemovable(), LLAgent::isWearingItem(), and LLInvFVBridge::mUUID.
Referenced by buildContextMenu().
Definition at line 4430 of file llinventorybridge.cpp.
Definition at line 4467 of file llinventorybridge.cpp.
References gAgent, LLWearableList::getAsset(), gWearableList, LLAgent::isWearingItem(), and onRemoveFromAvatarArrived().
void LLWearableBridge::onRemoveFromAvatarArrived | ( | LLWearable * | wearable, | |
void * | userdata | |||
) | [static] |
Definition at line 4486 of file llinventorybridge.cpp.
References gAgent, LLAgent::isWearingItem(), LLAgent::removeWearable(), type, WT_HAIR, WT_SHAPE, and WT_SKIN.
Referenced by onRemoveFromAvatar(), performAction(), and remove_inventory_category_from_avatar_step2().
Definition at line 4342 of file llinventorybridge.cpp.
void LLWearableBridge::onWearOnAvatarArrived | ( | LLWearable * | wearable, | |
void * | userdata | |||
) | [static] |
Definition at line 4381 of file llinventorybridge.cpp.
References gAgent, LLInventoryItem::getAssetUUID(), LLInventoryModel::getItem(), gInventory, llendl, llinfos, LLInventoryModel::notifyObservers(), NULL, and LLAgent::setWearable().
Referenced by wear_inventory_item_on_avatar().
void LLWearableBridge::openItem | ( | ) | [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 4224 of file llinventorybridge.cpp.
References LLViewerWindow::alertXml(), copy_inventory_item(), gAgent, LLAgent::getID(), LLItemBridge::getItem(), LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLInventoryObject::getUUID(), gViewerWindow, LLInvFVBridge::isAgentInventory(), LLViewerInventoryItem::isComplete(), LLInvFVBridge::isInTrash(), LLAgent::isWearingItem(), LLInvFVBridge::mUUID, LLUUID::null, and wearOnAvatar().
void LLWearableBridge::performAction | ( | LLFolderView * | folder, | |
LLInventoryModel * | model, | |||
LLString | action | |||
) | [virtual] |
Reimplemented from LLItemBridge.
Definition at line 4195 of file llinventorybridge.cpp.
References editOnAvatar(), gAgent, LLWearableList::getAsset(), LLItemBridge::getItem(), gWearableList, LLAgent::isWearingItem(), LLInvFVBridge::mUUID, onRemoveFromAvatarArrived(), LLItemBridge::performAction(), and wearOnAvatar().
Reimplemented from LLItemBridge.
Definition at line 4149 of file llinventorybridge.cpp.
References gAgent, LLAgent::isWearingItem(), LLInvFVBridge::mUUID, LLItemBridge::renameItem(), and LLAgent::setWearableName().
void LLWearableBridge::wearOnAvatar | ( | ) |
Definition at line 4349 of file llinventorybridge.cpp.
References LLViewerWindow::alertXml(), LLAgent::areWearablesLoaded(), copy_inventory_item(), gAgent, LLAgent::getID(), LLItemBridge::getItem(), LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLInventoryObject::getUUID(), gViewerWindow, LLInvFVBridge::isAgentInventory(), LLUUID::null, and wear_inventory_item_on_avatar().
Referenced by openItem(), and performAction().
friend class LLInvFVBridge [friend] |
Definition at line 568 of file llinventorybridge.h.
LLAssetType::EType LLWearableBridge::mAssetType [protected] |
LLInventoryType::EType LLWearableBridge::mInvType [protected] |
Reimplemented from LLInvFVBridge.
Definition at line 602 of file llinventorybridge.h.
Referenced by getIcon().
EWearableType LLWearableBridge::mWearableType [protected] |