#include <llfloaterregioninfo.h>
Inheritance diagram for LLFloaterRegionInfo:
Public Member Functions | |
~LLFloaterRegionInfo () | |
Static Public Member Functions | |
static void | show (LLViewerRegion *region) |
static void | show (void *) |
static LLFloaterRegionInfo * | getInstance () |
static void | processEstateOwnerRequest (LLMessageSystem *msg, void **) |
static void | processRegionInfo (LLMessageSystem *msg) |
static const LLUUID & | getLastInvoice () |
static void | nextInvoice () |
static LLPanelEstateInfo * | getPanelEstate () |
static LLPanelEstateCovenant * | getPanelCovenant () |
Protected Types | |
typedef std::vector< LLPanelRegionInfo * > | info_panels_t |
Protected Member Functions | |
LLFloaterRegionInfo (const LLRect &rect) | |
void | refreshFromRegion (LLViewerRegion *region) |
Protected Attributes | |
LLTabContainer * | mTab |
info_panels_t | mInfoPanels |
Static Protected Attributes | |
static LLFloaterRegionInfo * | sInstance = NULL |
static LLUUID | sRequestInvoice |
Definition at line 61 of file llfloaterregioninfo.h.
typedef std::vector<LLPanelRegionInfo*> LLFloaterRegionInfo::info_panels_t [protected] |
Definition at line 91 of file llfloaterregioninfo.h.
LLFloaterRegionInfo::~LLFloaterRegionInfo | ( | ) |
LLFloaterRegionInfo::LLFloaterRegionInfo | ( | const LLRect & | rect | ) | [protected] |
Definition at line 168 of file llfloaterregioninfo.cpp.
References LLView::addChild(), LLUICtrlFactory::buildPanel(), FALSE, LLRectBase< Type >::getHeight(), LLPanel::getLabel(), LLRectBase< Type >::getWidth(), gUICtrlFactory, LLFLOATER_HEADER_SIZE, mInfoPanels, mTab, NULL, LLTabContainerCommon::TOP, and TRUE.
Referenced by show().
LLFloaterRegionInfo * LLFloaterRegionInfo::getInstance | ( | ) | [static] |
Definition at line 251 of file llfloaterregioninfo.cpp.
References sInstance.
Referenced by getPanelCovenant(), getPanelEstate(), LLPanelRegionGeneralInfo::onClickManageTelehub(), and LLPanelRegionTerrainInfo::sendUpdate().
static const LLUUID& LLFloaterRegionInfo::getLastInvoice | ( | ) | [inline, static] |
Definition at line 74 of file llfloaterregioninfo.h.
References sRequestInvoice.
Referenced by LLPanelRegionTerrainInfo::callbackBakeTerrain(), LLPanelRegionDebugInfo::callbackRestart(), LLPanelEstateInfo::commitEstateInfo(), LLPanelEstateInfo::kickUserConfirm(), LLPanelRegionDebugInfo::onClickCancelRestart(), LLPanelRegionTerrainInfo::onClickDownloadRaw(), LLPanelRegionDebugInfo::onClickTopColliders(), LLPanelRegionDebugInfo::onClickTopScripts(), LLPanelRegionTerrainInfo::onClickUploadRaw(), LLPanelRegionGeneralInfo::onKickAllCommit(), LLPanelRegionGeneralInfo::onKickCommit(), LLPanelEstateInfo::onMessageCommit(), LLPanelRegionGeneralInfo::onMessageCommit(), processEstateOwnerRequest(), LLPanelEstateInfo::refreshFromRegion(), LLPanelEstateCovenant::sendChangeCovenantID(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionTerrainInfo::sendUpdate(), LLPanelRegionTextureInfo::sendUpdate(), LLPanelRegionDebugInfo::sendUpdate(), and LLPanelRegionGeneralInfo::sendUpdate().
LLPanelEstateCovenant * LLFloaterRegionInfo::getPanelCovenant | ( | ) | [static] |
Definition at line 386 of file llfloaterregioninfo.cpp.
References getInstance(), LLUICtrlFactory::getPanelByName(), LLUICtrlFactory::getTabContainerByName(), NULL, and tab.
Referenced by LLPanelEstateCovenant::confirmChangeCovenantCallback(), LLPanelEstateCovenant::confirmResetCovenantCallback(), LLPanelEstateCovenant::updateCovenantText(), LLPanelEstateCovenant::updateEstateName(), LLPanelEstateCovenant::updateEstateOwnerName(), and LLPanelEstateCovenant::updateLastModified().
LLPanelEstateInfo * LLFloaterRegionInfo::getPanelEstate | ( | ) | [static] |
Definition at line 375 of file llfloaterregioninfo.cpp.
References getInstance(), LLUICtrlFactory::getPanelByName(), LLUICtrlFactory::getTabContainerByName(), NULL, and tab.
Referenced by LLPanelEstateInfo::accessAddCore3(), LLPanelEstateInfo::accessRemoveCore(), all_estates_text(), LLPanelEstateInfo::callbackCacheName(), LLPanelEstateInfo::isLindenEstate(), LLDispatchSetEstateAccess::operator()(), LLDispatchEstateUpdateInfo::operator()(), LLPanelEstateInfo::refreshFromRegion(), and LLPanelEstateInfo::sendEstateAccessDelta().
static void LLFloaterRegionInfo::nextInvoice | ( | ) | [inline, static] |
Definition at line 75 of file llfloaterregioninfo.h.
References LLUUID::generate(), and sRequestInvoice.
Referenced by LLPanelEstateInfo::callbackChangeLindenEstate(), and LLPanelEstateInfo::refreshFromRegion().
void LLFloaterRegionInfo::processEstateOwnerRequest | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 257 of file llfloaterregioninfo.cpp.
References LLDispatcher::dispatch(), estate_dispatch_initialized, getLastInvoice(), LLUICtrlFactory::getPanelByName(), LLUICtrlFactory::getTabContainerByName(), LLPanelEstateInfo::initDispatch(), llendl, llwarns, request(), sInstance, tab, and LLDispatcher::unpackMessage().
Referenced by show().
void LLFloaterRegionInfo::processRegionInfo | ( | LLMessageSystem * | msg | ) | [static] |
Definition at line 290 of file llfloaterregioninfo.cpp.
References _PREHASH_RegionInfo, _PREHASH_TerrainLowerLimit, _PREHASH_TerrainRaiseLimit, _PREHASH_WaterHeight, LLViewerRegion::accessToString(), LLViewerRegion::canManageEstate(), LLPanel::childSetEnabled(), LLPanel::childSetValue(), FALSE, gAgent, LLMessageSystem::getBOOL(), LLMessageSystem::getF32(), LLMessageSystem::getF32Fast(), LLUICtrlFactory::getPanelByName(), LLAgent::getRegion(), LLMessageSystem::getString(), LLUICtrlFactory::getTabContainerByName(), LLMessageSystem::getU32(), LLMessageSystem::getU8(), LLAgent::isGodlike(), llendl, llinfos, MAX_STRING, REGION_FLAGS_ALLOW_DAMAGE, REGION_FLAGS_ALLOW_PARCEL_CHANGES, REGION_FLAGS_BLOCK_FLY, REGION_FLAGS_BLOCK_LAND_RESELL, REGION_FLAGS_BLOCK_PARCEL_SEARCH, REGION_FLAGS_BLOCK_TERRAFORM, REGION_FLAGS_RESTRICT_PUSHOBJECT, REGION_FLAGS_SKIP_COLLISIONS, REGION_FLAGS_SKIP_PHYSICS, REGION_FLAGS_SKIP_SCRIPTS, REGION_FLAGS_SUN_FIXED, sInstance, tab, and TRUE.
Referenced by LLViewerRegion::processRegionInfo().
void LLFloaterRegionInfo::refreshFromRegion | ( | LLViewerRegion * | region | ) | [protected] |
Definition at line 396 of file llfloaterregioninfo.cpp.
References llbind2nd(), mInfoPanels, and LLPanelRegionInfo::refreshFromRegion().
Referenced by show().
Definition at line 245 of file llfloaterregioninfo.cpp.
References gAgent, LLAgent::getRegion(), and show().
void LLFloaterRegionInfo::show | ( | LLViewerRegion * | region | ) | [static] |
Definition at line 216 of file llfloaterregioninfo.cpp.
References LLMessageSystem::addUUID(), gAgent, LLAgent::getID(), LLFloaterView::getNewFloaterPosition(), LLControlGroup::getRect(), LLAgent::getSessionID(), gFloaterView, gMessageSystem, gSavedSettings, left, LLFloaterRegionInfo(), LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLFloater::open(), processEstateOwnerRequest(), refreshFromRegion(), S32, LLAgent::sendReliableMessage(), LLMessageSystem::setHandlerFunc(), sInstance, top, and LLRectBase< Type >::translate().
Referenced by LLShowFloater::handleEvent(), and show().
info_panels_t LLFloaterRegionInfo::mInfoPanels [protected] |
Definition at line 92 of file llfloaterregioninfo.h.
Referenced by LLFloaterRegionInfo(), and refreshFromRegion().
LLTabContainer* LLFloaterRegionInfo::mTab [protected] |
LLFloaterRegionInfo * LLFloaterRegionInfo::sInstance = NULL [static, protected] |
---------------------------------------------------------------------------- LLFloaterRegionInfo ----------------------------------------------------------------------------
Definition at line 87 of file llfloaterregioninfo.h.
Referenced by getInstance(), processEstateOwnerRequest(), processRegionInfo(), show(), and ~LLFloaterRegionInfo().
LLUUID LLFloaterRegionInfo::sRequestInvoice [static, protected] |
Definition at line 94 of file llfloaterregioninfo.h.
Referenced by getLastInvoice(), and nextInvoice().