#include <llpanelcontents.h>
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 | |
LLPanelInventory * | mPanelInventory |
Protected Member Functions | |
void | getState (LLViewerObject *object) |
Definition at line 44 of file llpanelcontents.h.
LLPanelContents::LLPanelContents | ( | const std::string & | name | ) |
Definition at line 89 of file llpanelcontents.cpp.
LLPanelContents::~LLPanelContents | ( | ) | [virtual] |
Definition at line 96 of file llpanelcontents.cpp.
BOOL LLPanelContents::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 78 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 138 of file llpanelcontents.cpp.
References LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), getState(), mPanelInventory, LLPanelInventory::refresh(), and TRUE.
Referenced by LLFloaterTools::refresh().
void LLPanelContents::onClickNewScript | ( | void * | userdata | ) | [static] |
Definition at line 157 of file llpanelcontents.cpp.
References LLFloaterView::adjustToFitScreen(), LLAssetType::AT_LSL_TEXT, LLSaleInfo::DEFAULT, FALSE, gAgent, LLAssetType::generateDescriptionFor(), LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLFloaterView::getNewFloaterPosition(), LLControlGroup::getRect(), LLSelectMgr::getSelection(), gFloaterView, gSavedSettings, LLInventoryItem::II_FLAGS_NONE, LLPermissions::init(), LLPermissions::initMasks(), LLInventoryType::IT_LSL, LLViewerObject::mID, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLUUID::null, LLLiveLSLEditor::open(), PERM_ALL, PERM_MOVE, PERM_NONE, PERM_TRANSFER, S32, time_corrected(), LLRectBase< Type >::translate(), and TRUE.
Referenced by postBuild().
void LLPanelContents::getState | ( | LLViewerObject * | object | ) | [protected] |
Definition at line 102 of file llpanelcontents.cpp.
References LLPanel::childSetEnabled(), FALSE, gAgent, LLSingleton< LLSelectMgr >::getInstance(), LLAgent::isGodlike(), LLAgent::isInGroup(), LLUUID::isNull(), LL_PCODE_VOLUME, LLViewerObject::permModify(), LLViewerObject::permYouOwner(), LLSelectMgr::selectGetGroup(), LLSelectMgr::selectionAllPCode(), and TRUE.
Referenced by refresh().
Definition at line 59 of file llpanelcontents.h.
Referenced by LLFloaterTools::createPanelContentsInventory(), and refresh().