llinventoryview.cpp File Reference

Implementation of the inventory view and associated stuff. More...

#include "llviewerprecompiledheaders.h"
#include <utility>
#include "llinventoryview.h"
#include "llinventorybridge.h"
#include "message.h"
#include "llagent.h"
#include "llcallingcard.h"
#include "llcheckboxctrl.h"
#include "llradiogroup.h"
#include "llspinctrl.h"
#include "lltextbox.h"
#include "llui.h"
#include "llfirstuse.h"
#include "llfloateravatarinfo.h"
#include "llfloaterchat.h"
#include "llfloatercustomize.h"
#include "llfocusmgr.h"
#include "llfolderview.h"
#include "llgesturemgr.h"
#include "lliconctrl.h"
#include "llinventorymodel.h"
#include "llinventoryclipboard.h"
#include "lllineeditor.h"
#include "llmenugl.h"
#include "llpreviewanim.h"
#include "llpreviewgesture.h"
#include "llpreviewlandmark.h"
#include "llpreviewnotecard.h"
#include "llpreviewscript.h"
#include "llpreviewsound.h"
#include "llpreviewtexture.h"
#include "llresmgr.h"
#include "llscrollcontainer.h"
#include "llscrollbar.h"
#include "llimview.h"
#include "lltooldraganddrop.h"
#include "llviewerimagelist.h"
#include "llviewerinventory.h"
#include "llviewerobjectlist.h"
#include "llviewerwindow.h"
#include "llwearablelist.h"
#include "viewer.h"
#include "llviewermessage.h"
#include "llviewerregion.h"
#include "lltabcontainer.h"
#include "llvieweruictrlfactory.h"
#include "llselectmgr.h"
#include "llsdserialize.h"

Include dependency graph for llinventoryview.cpp:

Go to the source code of this file.

Classes

struct  LLConfirmPurgeData
class  LLIsNotWorn
class  LLOpenFolderByID

Functions

LLUUID get_item_icon_uuid (LLAssetType::EType asset_type, LLInventoryType::EType inventory_type, U32 attachment_point, BOOL item_is_multi)
LLViewerImageget_item_icon (LLAssetType::EType asset_type, LLInventoryType::EType inventory_type, U32 attachment_point, BOOL item_is_multi)

Variables

const S32 INV_MIN_WIDTH = 240
const S32 INV_MIN_HEIGHT = 150
const S32 INV_FINDER_WIDTH = 160
const S32 INV_FINDER_HEIGHT = 408


Detailed Description

Implementation of the inventory view and associated stuff.

LicenseInfo
firstyear=2001&license=viewergpl

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.cpp.


Function Documentation

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 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(), 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(), LLFloaterBuyContents::inventoryChanged(), LLFloaterBuy::inventoryChanged(), LLPanelGroupNotices::processNotices(), and LLFloaterBuy::show().


Variable Documentation

const S32 INV_FINDER_HEIGHT = 408

Definition at line 100 of file llinventoryview.cpp.

Referenced by LLInventoryView::toggleFindOptions().

const S32 INV_FINDER_WIDTH = 160

Definition at line 99 of file llinventoryview.cpp.

Referenced by LLInventoryView::toggleFindOptions().

const S32 INV_MIN_HEIGHT = 150

Definition at line 98 of file llinventoryview.cpp.

const S32 INV_MIN_WIDTH = 240

---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------

Definition at line 97 of file llinventoryview.cpp.


Generated on Thu Jul 1 06:10:30 2010 for Second Life Viewer by  doxygen 1.4.7