#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>
Include dependency graph for llinventoryview.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Copyright (c) 2001-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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.
LLViewerImage* get_item_icon | ( | LLAssetType::EType | asset_type, | |
LLInventoryType::EType | inventory_type, | |||
U32 | attachment_point, | |||
BOOL | item_is_multi | |||
) |
Definition at line 1199 of file llinventoryview.cpp.
References get_item_icon_uuid(), LLViewerImageList::getImage(), gImageList, MIPMAP_FALSE, LLImageGL::setClamp(), and TRUE.
Referenced by LLScriptBridge::getIcon(), LLTextureBridge::getIcon(), LLSoundBridge::getIcon(), LLLandmarkBridge::getIcon(), LLCallingCardBridge::getIcon(), LLNotecardBridge::getIcon(), LLGestureBridge::getIcon(), LLAnimationBridge::getIcon(), LLObjectBridge::getIcon(), LLLSLTextBridge::getIcon(), LLWearableBridge::getIcon(), LLTaskInvFVBridge::getIcon(), LLTaskTextureBridge::getIcon(), LLTaskSoundBridge::getIcon(), LLTaskLandmarkBridge::getIcon(), LLTaskCallingCardBridge::getIcon(), LLTaskScriptBridge::getIcon(), LLTaskObjectBridge::getIcon(), LLTaskNotecardBridge::getIcon(), LLTaskGestureBridge::getIcon(), LLTaskAnimationBridge::getIcon(), LLTaskWearableBridge::getIcon(), LLGroupNotifyBox::LLGroupNotifyBox(), LLPanelGroupNotices::setItem(), and LLPanelGroupNotices::showNotice().
LLUUID get_item_icon_uuid | ( | LLAssetType::EType | asset_type, | |
LLInventoryType::EType | inventory_type, | |||
U32 | attachment_point, | |||
BOOL | item_is_multi | |||
) |
Definition at line 1078 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, LLControlGroup::getString(), gViewerArt, 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(), LLFloaterBuy::inventoryChanged(), LLFloaterBuyContents::inventoryChanged(), LLPanelGroupNotices::processNotices(), and LLFloaterBuy::show().
void init_inventory_actions | ( | LLInventoryView * | floater | ) |
---------------------------------------------------------------------------- Function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------
Definition at line 703 of file llinventoryactions.cpp.
Referenced by LLInventoryView::init().
void init_inventory_panel_actions | ( | LLInventoryPanel * | panel | ) |
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 1217 of file llinventorybridge.cpp.
References end, FALSE, LLViewerObjectList::findObject(), gAgent, LLAgent::getGroupID(), LLAgent::getID(), LLViewerObject::getInventoryContents(), 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 | |||
) |
Definition at line 2538 of file llinventorybridge.cpp.
References LLFloaterView::adjustToFitScreen(), FALSE, LLFloaterView::getNewFloaterPosition(), LLControlGroup::getRect(), LLInventoryObject::getUUID(), gFloaterView, gSavedSettings, left, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, S32, LLFloater::setFocus(), LLPreview::setSourceID(), LLPreview::show(), top, LLRectBase< Type >::translate(), and TRUE.
Referenced by landmark_menu_action(), LLFloaterLandmark::onBtnEdit(), open_offer(), LLViewerTextEditor::openEmbeddedLandmark(), and LLLandmarkBridge::performAction().
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 | |||
) |
Definition at line 2824 of file llinventorybridge.cpp.
References LLFloaterView::adjustToFitScreen(), FALSE, LLInventoryItem::getAssetUUID(), LLFloaterView::getNewFloaterPosition(), LLControlGroup::getRect(), LLInventoryObject::getUUID(), gFloaterView, gSavedSettings, left, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, S32, LLFloater::setFocus(), LLPreview::setSourceID(), LLPreview::show(), top, LLRectBase< Type >::translate(), and TRUE.
Referenced by open_offer(), and LLNotecardBridge::openItem().
void open_texture | ( | const LLUUID & | item_id, | |
const LLString & | title, | |||
BOOL | show_keep_discard, | |||
const LLUUID & | source_id = LLUUID::null , |
|||
BOOL | take_focus = TRUE | |||
) |
Definition at line 2333 of file llinventorybridge.cpp.
References LLFloaterView::adjustToFitScreen(), FALSE, LLFloaterView::getNewFloaterPosition(), LLControlGroup::getRect(), gFloaterView, gSavedSettings, left, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLUUID::null, S32, LLFloater::setFocus(), LLPreview::setSourceID(), LLPreview::show(), top, LLRectBase< Type >::translate(), and TRUE.
Referenced by open_offer(), and LLTextureBridge::openItem().
void rez_attachment | ( | LLViewerInventoryItem * | item, | |
LLViewerJointAttachment * | attachment | |||
) |
void wear_inventory_category | ( | LLInventoryCategory * | category, | |
bool | copy, | |||
bool | append | |||
) |
Definition at line 3721 of file llinventorybridge.cpp.
References LLInventoryModel::addObserver(), LLOutfitFetch::done(), LLInventoryFetchDescendentsObserver::fetchDescendents(), LLInventoryObject::getName(), LLInventoryObject::getUUID(), gInventory, inc_busy_count(), LLInventoryFetchDescendentsObserver::isEverythingComplete(), lldebugs, and llendl.
Referenced by LLInventoryCopyAndWearObserver::changed(), LLToolDragAndDrop::dad3dWearCategory(), and wear_outfit_by_name().
void wear_inventory_item_on_avatar | ( | LLInventoryItem * | item | ) |
Definition at line 3436 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 3674 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 368 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 367 of file llinventoryview.h.
Referenced by LLFolderBridge::createNewCategory().