LLPanelContents Class Reference

#include <llpanelcontents.h>

Inheritance diagram for LLPanelContents:

Inheritance graph
[legend]
Collaboration diagram for LLPanelContents:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual BOOL postBuild ()
 LLPanelContents (const std::string &name)
virtual ~LLPanelContents ()
void refresh ()

Static Public Member Functions

static void onClickNewScript (void *userdata)

Public Attributes

LLPanelInventorymPanelInventory

Protected Member Functions

void getState (LLViewerObject *object)

Detailed Description

Definition at line 44 of file llpanelcontents.h.


Constructor & Destructor Documentation

LLPanelContents::LLPanelContents ( const std::string &  name  ) 

Definition at line 90 of file llpanelcontents.cpp.

LLPanelContents::~LLPanelContents (  )  [virtual]

Definition at line 97 of file llpanelcontents.cpp.


Member Function Documentation

void LLPanelContents::getState ( LLViewerObject object  )  [protected]

Definition at line 103 of file llpanelcontents.cpp.

References LLPanel::childSetEnabled(), FALSE, gAgent, LLSelectMgr::getSelection(), gSelectMgr, LLAgent::isGodlike(), LLAgent::isInGroup(), LLUUID::isNull(), LL_PCODE_VOLUME, LLViewerObject::permModify(), LLViewerObject::permYouOwner(), LLSelectMgr::selectGetGroup(), LLSelectMgr::selectionAllPCode(), and TRUE.

Referenced by refresh().

void LLPanelContents::onClickNewScript ( void userdata  )  [static]

Definition at line 158 of file llpanelcontents.cpp.

References LLFloaterView::adjustToFitScreen(), LLAssetType::AT_LSL_TEXT, LLSaleInfo::DEFAULT, FALSE, gAgent, LLAssetType::generateDescriptionFor(), LLAgent::getID(), LLFloaterView::getNewFloaterPosition(), LLControlGroup::getRect(), LLSelectMgr::getSelection(), gFloaterView, gSavedSettings, gSelectMgr, LLInventoryItem::II_FLAGS_NONE, LLPermissions::init(), LLPermissions::initMasks(), LLInventoryType::IT_LSL, left, LLViewerObject::mID, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLUUID::null, LLLiveLSLEditor::open(), PERM_ALL, PERM_MOVE, PERM_NONE, PERM_TRANSFER, S32, LLViewerObject::saveScript(), time_corrected(), top, LLRectBase< Type >::translate(), and TRUE.

Referenced by postBuild().

BOOL LLPanelContents::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 79 of file llpanelcontents.cpp.

References LLPanel::childSetAction(), FALSE, LLView::getRect(), onClickNewScript(), LLView::setMouseOpaque(), and TRUE.

void LLPanelContents::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 139 of file llpanelcontents.cpp.

References LLSelectMgr::getSelection(), getState(), gSelectMgr, mPanelInventory, LLPanelInventory::refresh(), and TRUE.

Referenced by LLFloaterTools::refresh().


Member Data Documentation

LLPanelInventory* LLPanelContents::mPanelInventory

Definition at line 59 of file llpanelcontents.h.

Referenced by LLFloaterTools::createPanelContentsInventory(), and refresh().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:34 2010 for Second Life Viewer by  doxygen 1.4.7