#include <llfloaterregioninfo.h>
Inheritance diagram for LLPanelRegionInfo:
Public Member Functions | |
LLPanelRegionInfo () | |
virtual bool | refreshFromRegion (LLViewerRegion *region) |
virtual bool | estateUpdate (LLMessageSystem *msg) |
virtual BOOL | postBuild () |
virtual void | updateChild (LLUICtrl *child_ctrl) |
void | enableButton (const char *btn_name, BOOL enable=TRUE) |
void | disableButton (const char *btn_name) |
Static Public Member Functions | |
static void | onBtnSet (void *user_data) |
static void | onChangeChildCtrl (LLUICtrl *ctrl, void *user_data) |
static void | onChangeAnything (LLUICtrl *ctrl, void *user_data) |
Protected Types | |
typedef std::vector< std::string > | strings_t |
Protected Member Functions | |
void | initCtrl (const char *name) |
void | initHelpBtn (const char *name, const char *xml_alert) |
virtual BOOL | sendUpdate () |
void | sendEstateOwnerMessage (LLMessageSystem *msg, const char *request, const LLUUID &invoice, const strings_t &strings) |
Static Protected Member Functions | |
static void | onClickHelp (void *data) |
Protected Attributes | |
LLHost | mHost |
Definition at line 99 of file llfloaterregioninfo.h.
typedef std::vector<std::string> LLPanelRegionInfo::strings_t [protected] |
Definition at line 127 of file llfloaterregioninfo.h.
LLPanelRegionInfo::LLPanelRegionInfo | ( | ) | [inline] |
Definition at line 102 of file llfloaterregioninfo.h.
void LLPanelRegionInfo::disableButton | ( | const char * | btn_name | ) |
Definition at line 511 of file llfloaterregioninfo.cpp.
References LLPanel::childDisable().
Referenced by onBtnSet().
Definition at line 506 of file llfloaterregioninfo.cpp.
References LLPanel::childSetEnabled().
Referenced by LLPanelEstateInfo::checkSunHourSlider().
virtual bool LLPanelRegionInfo::estateUpdate | ( | LLMessageSystem * | msg | ) | [inline, virtual] |
Reimplemented in LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 108 of file llfloaterregioninfo.h.
void LLPanelRegionInfo::initCtrl | ( | const char * | name | ) | [protected] |
Definition at line 516 of file llfloaterregioninfo.cpp.
References LLPanel::childSetCommitCallback(), and onChangeAnything().
Referenced by LLPanelEstateInfo::postBuild(), LLPanelRegionTerrainInfo::postBuild(), LLPanelRegionTextureInfo::postBuild(), LLPanelRegionDebugInfo::postBuild(), and LLPanelRegionGeneralInfo::postBuild().
void LLPanelRegionInfo::initHelpBtn | ( | const char * | name, | |
const char * | xml_alert | |||
) | [protected] |
Definition at line 521 of file llfloaterregioninfo.cpp.
References LLPanel::childSetAction(), and onClickHelp().
Referenced by LLPanelEstateCovenant::postBuild(), LLPanelEstateInfo::postBuild(), LLPanelRegionTerrainInfo::postBuild(), LLPanelRegionDebugInfo::postBuild(), and LLPanelRegionGeneralInfo::postBuild().
---------------------------------------------------------------------------- Local class implementation ----------------------------------------------------------------------------
Definition at line 422 of file llfloaterregioninfo.cpp.
References disableButton(), and sendUpdate().
Referenced by postBuild().
Definition at line 433 of file llfloaterregioninfo.cpp.
References LLView::getParent(), and updateChild().
Referenced by LLPanelEstateInfo::postBuild().
Definition at line 527 of file llfloaterregioninfo.cpp.
References LLViewerWindow::alertXml(), and gViewerWindow.
Referenced by initHelpBtn().
BOOL LLPanelRegionInfo::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Reimplemented in LLPanelRegionGeneralInfo, LLPanelRegionDebugInfo, LLPanelRegionTextureInfo, LLPanelRegionTerrainInfo, LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 454 of file llfloaterregioninfo.cpp.
References LLPanel::childDisable(), LLPanel::childSetAction(), onBtnSet(), and TRUE.
Referenced by LLPanelEstateCovenant::postBuild(), LLPanelEstateInfo::postBuild(), LLPanelRegionTerrainInfo::postBuild(), LLPanelRegionTextureInfo::postBuild(), LLPanelRegionDebugInfo::postBuild(), and LLPanelRegionGeneralInfo::postBuild().
bool LLPanelRegionInfo::refreshFromRegion | ( | LLViewerRegion * | region | ) | [virtual] |
Reimplemented in LLPanelRegionGeneralInfo, LLPanelRegionDebugInfo, LLPanelRegionTextureInfo, LLPanelRegionTerrainInfo, LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 467 of file llfloaterregioninfo.cpp.
References LLViewerRegion::getHost(), and mHost.
Referenced by LLPanelEstateCovenant::refreshFromRegion(), LLPanelEstateInfo::refreshFromRegion(), LLPanelRegionTerrainInfo::refreshFromRegion(), LLPanelRegionTextureInfo::refreshFromRegion(), LLPanelRegionDebugInfo::refreshFromRegion(), LLPanelRegionGeneralInfo::refreshFromRegion(), and LLFloaterRegionInfo::refreshFromRegion().
void LLPanelRegionInfo::sendEstateOwnerMessage | ( | LLMessageSystem * | msg, | |
const char * | request, | |||
const LLUUID & | invoice, | |||
const strings_t & | strings | |||
) | [protected] |
Definition at line 473 of file llfloaterregioninfo.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, _PREHASH_TransactionID, LLMessageSystem::addString(), LLMessageSystem::addUUID(), LLMessageSystem::addUUIDFast(), end, gAgent, LLAgent::getID(), LLAgent::getSessionID(), llendl, llinfos, mHost, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLMessageSystem::nextBlockFast(), NULL, LLUUID::null, and LLMessageSystem::sendReliable().
Referenced by LLPanelEstateInfo::kickUserConfirm(), LLPanelEstateInfo::refreshFromRegion(), LLPanelRegionTerrainInfo::sendUpdate(), LLPanelRegionTextureInfo::sendUpdate(), LLPanelRegionDebugInfo::sendUpdate(), and LLPanelRegionGeneralInfo::sendUpdate().
virtual BOOL LLPanelRegionInfo::sendUpdate | ( | ) | [inline, protected, virtual] |
Reimplemented in LLPanelRegionGeneralInfo, LLPanelRegionDebugInfo, LLPanelRegionTextureInfo, LLPanelRegionTerrainInfo, LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 125 of file llfloaterregioninfo.h.
References TRUE.
Referenced by onBtnSet().
Reimplemented in LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 462 of file llfloaterregioninfo.cpp.
Referenced by onChangeChildCtrl().
LLHost LLPanelRegionInfo::mHost [protected] |
Definition at line 136 of file llfloaterregioninfo.h.
Referenced by refreshFromRegion(), and sendEstateOwnerMessage().