#include "llassetstorage.h"
#include "lldarray.h"
#include "llfloater.h"
#include "llinventory.h"
#include "llfolderview.h"
#include "llinventorymodel.h"
#include "llmemberlistener.h"
#include "lluictrlfactory.h"
#include <set>
Go to the source code of this file.
Copyright (c) 2001-2008, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llinventoryview.h.
LLUIImagePtr get_item_icon | ( | LLAssetType::EType | asset_type, | |
LLInventoryType::EType | inventory_type, | |||
U32 | attachment_point, | |||
BOOL | item_is_multi | |||
) |
Definition at line 1203 of file llinventoryview.cpp.
References get_item_icon_name(), and LLUI::getUIImage().
Referenced by LLTaskWearableBridge::getIcon(), LLTaskAnimationBridge::getIcon(), LLTaskGestureBridge::getIcon(), LLTaskNotecardBridge::getIcon(), LLTaskObjectBridge::getIcon(), LLTaskScriptBridge::getIcon(), LLTaskCallingCardBridge::getIcon(), LLTaskLandmarkBridge::getIcon(), LLTaskSoundBridge::getIcon(), LLTaskTextureBridge::getIcon(), LLTaskInvFVBridge::getIcon(), LLWearableBridge::getIcon(), LLLSLTextBridge::getIcon(), LLObjectBridge::getIcon(), LLAnimationBridge::getIcon(), LLGestureBridge::getIcon(), LLNotecardBridge::getIcon(), LLCallingCardBridge::getIcon(), LLLandmarkBridge::getIcon(), LLSoundBridge::getIcon(), LLTextureBridge::getIcon(), LLScriptBridge::getIcon(), and LLGroupNotifyBox::LLGroupNotifyBox().
LLString get_item_icon_name | ( | LLAssetType::EType | asset_type, | |
LLInventoryType::EType | inventory_type, | |||
U32 | attachment_point, | |||
BOOL | item_is_multi | |||
) |
Definition at line 1082 of file llinventoryview.cpp.
References ANIMATION_ICON_NAME, LLAssetType::AT_ANIMATION, LLAssetType::AT_BODYPART, LLAssetType::AT_CALLINGCARD, LLAssetType::AT_CLOTHING, LLAssetType::AT_GESTURE, LLAssetType::AT_LANDMARK, LLAssetType::AT_LSL_BYTECODE, LLAssetType::AT_LSL_TEXT, LLAssetType::AT_NOTECARD, LLAssetType::AT_SCRIPT, LLAssetType::AT_SOUND, LLAssetType::AT_TEXTURE, BODYPART_EYES_ICON_NAME, BODYPART_HAIR_ICON_NAME, BODYPART_ICON_NAME, BODYPART_SHAPE_ICON_NAME, BODYPART_SKIN_ICON_NAME, CALLINGCARD_OFFLINE_ICON_NAME, CALLINGCARD_ONLINE_ICON_NAME, CLOTHING_GLOVES_ICON_NAME, CLOTHING_ICON_NAME, CLOTHING_JACKET_ICON_NAME, CLOTHING_PANTS_ICON_NAME, CLOTHING_SHIRT_ICON_NAME, CLOTHING_SHOES_ICON_NAME, CLOTHING_SKIRT_ICON_NAME, CLOTHING_SOCKS_ICON_NAME, CLOTHING_UNDERPANTS_ICON_NAME, CLOTHING_UNDERSHIRT_ICON_NAME, GESTURE_ICON_NAME, ICON_NAME, LLInventoryType::IT_SNAPSHOT, LANDMARK_ICON_NAME, LANDMARK_VISITED_ICON_NAME, NOTECARD_ICON_NAME, OBJECT_ICON_NAME, OBJECT_MULTI_ICON_NAME, SCRIPT_ICON_NAME, SNAPSHOT_ICON_NAME, SOUND_ICON_NAME, TEXTURE_ICON_NAME, WT_EYES, WT_GLOVES, WT_HAIR, WT_JACKET, WT_PANTS, WT_SHAPE, WT_SHIRT, WT_SHOES, WT_SKIN, WT_SKIRT, WT_SOCKS, WT_UNDERPANTS, and WT_UNDERSHIRT.
Referenced by LLFloaterClothing::buildClothingList(), get_item_icon(), LLFloaterBuyContents::inventoryChanged(), LLFloaterBuy::inventoryChanged(), LLPanelGroupNotices::processNotices(), LLPanelGroupNotices::setItem(), LLFloaterBuy::show(), and LLPanelGroupNotices::showNotice().
void init_inventory_actions | ( | LLInventoryView * | floater | ) |
---------------------------------------------------------------------------- Function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------
Definition at line 704 of file llinventoryactions.cpp.
Referenced by LLInventoryView::init().
void init_inventory_panel_actions | ( | LLInventoryPanel * | panel | ) |
Definition at line 717 of file llinventoryactions.cpp.
Referenced by LLInventoryPanel::postBuild().
BOOL move_inv_category_world_to_agent | ( | const LLUUID & | object_id, | |
const LLUUID & | category_id, | |||
BOOL | drop, | |||
void(*)(S32, void *) | callback = NULL , |
|||
void * | user_data = NULL | |||
) |
Definition at line 1255 of file llinventorybridge.cpp.
References LLPermissions::allowCopyBy(), LLPermissions::allowTransferTo(), FALSE, LLViewerObjectList::findObject(), gAgent, LLAgent::getGroupID(), LLAgent::getID(), gObjectList, llendl, llinfos, LLMoveInv::mCallback, LLMoveInv::mCategoryID, LLMoveInv::mMoveList, LLMoveInv::mObjectID, move_task_inventory_callback(), LLMoveInv::mUserData, LLViewerObject::permYouOwner(), TRUE, and warn_move_inventory().
Referenced by LLFolderBridge::dragCategoryIntoFolder(), and LLFloaterOpenObject::moveToInventory().
void open_landmark | ( | LLViewerInventoryItem * | inv_item, | |
const LLString & | title, | |||
BOOL | show_keep_discard, | |||
const LLUUID & | source_id = LLUUID::null , |
|||
BOOL | take_focus = TRUE | |||
) |
void open_notecard | ( | LLViewerInventoryItem * | inv_item, | |
const LLString & | title, | |||
const LLUUID & | object_id, | |||
BOOL | show_keep_discard, | |||
const LLUUID & | source_id = LLUUID::null , |
|||
BOOL | take_focus = TRUE | |||
) |
void open_texture | ( | const LLUUID & | item_id, | |
const LLString & | title, | |||
BOOL | show_keep_discard, | |||
const LLUUID & | source_id = LLUUID::null , |
|||
BOOL | take_focus = TRUE | |||
) |
void rez_attachment | ( | LLViewerInventoryItem * | item, | |
LLViewerJointAttachment * | attachment | |||
) |
void wear_inventory_category | ( | LLInventoryCategory * | category, | |
bool | copy, | |||
bool | append | |||
) |
Definition at line 3777 of file llinventorybridge.cpp.
References LLInventoryModel::addObserver(), LLOutfitFetch::done(), LLInventoryFetchDescendentsObserver::fetchDescendents(), LLInventoryObject::getName(), LLInventoryObject::getUUID(), gInventory, inc_busy_count(), LLInventoryFetchDescendentsObserver::isEverythingComplete(), lldebugs, llendl, and LLOutfitFetch::LLOutfitFetch().
Referenced by LLInventoryCopyAndWearObserver::changed(), LLToolDragAndDrop::dad3dWearCategory(), and wear_outfit_by_name().
void wear_inventory_item_on_avatar | ( | LLInventoryItem * | item | ) |
Definition at line 3487 of file llinventorybridge.cpp.
References LLWearableList::getAsset(), LLInventoryItem::getAssetUUID(), LLInventoryObject::getName(), LLInventoryObject::getType(), LLInventoryObject::getUUID(), gWearableList, lldebugs, llendl, and LLWearableBridge::onWearOnAvatarArrived().
Referenced by LLToolDragAndDrop::dad3dWearItem(), WearOnAvatarCallback::fire(), LLFloaterClothing::onClickWear(), LLInventoryModel::processBulkUpdateInventory(), and LLWearableBridge::wearOnAvatar().
void wear_outfit_by_name | ( | const char * | name | ) |
Definition at line 3730 of file llinventorybridge.cpp.
References LLInventoryModel::collectDescendentsIf(), LLDynamicArray< Type, BlockSize >::count(), dec_busy_count(), LLInventoryModel::EXCLUDE_TRASH, gAgent, LLDynamicArray< Type, BlockSize >::get(), LLAgent::getInventoryRootID(), gInventory, inc_busy_count(), llendl, llinfos, llwarns, LLUUID::null, NULL, and wear_inventory_category().
Referenced by callback_choose_gender(), handle_test_female(), and handle_test_male().
const BOOL TAKE_FOCUS_NO = FALSE |
Definition at line 366 of file llinventoryview.h.
Referenced by LLFloaterOpenObject::callbackMoveInventory(), container_inventory_arrived(), handle_grab_texture(), LLFloaterLandmark::LLFloaterLandmark(), LLFloaterTexturePicker::LLFloaterTexturePicker(), LLAgent::makeNewOutfitDone(), open_offer(), LLInventoryModel::processUpdateInventoryFolder(), LLFloaterTexturePicker::setImageID(), and LLNewAgentInventoryResponder::uploadComplete().
const BOOL TAKE_FOCUS_YES = TRUE |
Definition at line 365 of file llinventoryview.h.
Referenced by LLFolderBridge::createNewCategory().