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 "llappviewer.h"
#include "llviewermessage.h"
#include "llviewerregion.h"
#include "lltabcontainer.h"
#include "lluictrlfactory.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

LLString get_item_icon_name (LLAssetType::EType asset_type, LLInventoryType::EType inventory_type, U32 attachment_point, BOOL item_is_multi)
LLUIImagePtr get_item_icon (LLAssetType::EType asset_type, LLInventoryType::EType inventory_type, U32 attachment_point, BOOL item_is_multi)

Variables

static LLRegisterWidget
< LLInventoryPanel
r ("inventory_panel")
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-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.cpp.


Function Documentation

LLUIImagePtr get_item_icon ( LLAssetType::EType  asset_type,
LLInventoryType::EType  inventory_type,
U32  attachment_point,
BOOL  item_is_multi 
)

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().

Here is the caller graph for this function:


Variable Documentation

const S32 INV_FINDER_HEIGHT = 408

Definition at line 102 of file llinventoryview.cpp.

Referenced by LLInventoryView::toggleFindOptions().

const S32 INV_FINDER_WIDTH = 160

Definition at line 101 of file llinventoryview.cpp.

Referenced by LLInventoryView::toggleFindOptions().

const S32 INV_MIN_HEIGHT = 150

Definition at line 100 of file llinventoryview.cpp.

const S32 INV_MIN_WIDTH = 240

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

Definition at line 99 of file llinventoryview.cpp.

LLRegisterWidget<LLInventoryPanel> r("inventory_panel") [static]


Generated on Fri May 16 08:36:47 2008 for SecondLife by  doxygen 1.5.5