#include <llfloaterregioninfo.h>
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) |
static void | onChangeText (LLLineEditor *caller, void *user_data) |
Protected Types | |
typedef std::vector< std::string > | strings_t |
Protected Member Functions | |
void | initCtrl (const char *name) |
void | initTextCtrl (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 102 of file llfloaterregioninfo.h.
typedef std::vector<std::string> LLPanelRegionInfo::strings_t [protected] |
Definition at line 132 of file llfloaterregioninfo.h.
LLPanelRegionInfo::LLPanelRegionInfo | ( | ) | [inline] |
Definition at line 105 of file llfloaterregioninfo.h.
void LLPanelRegionInfo::onBtnSet | ( | void * | user_data | ) | [static] |
---------------------------------------------------------------------------- Local class implementation ----------------------------------------------------------------------------
Definition at line 427 of file llfloaterregioninfo.cpp.
References disableButton(), and sendUpdate().
Referenced by postBuild().
void LLPanelRegionInfo::onChangeChildCtrl | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 438 of file llfloaterregioninfo.cpp.
References LLView::getParent(), and updateChild().
Referenced by LLPanelEstateInfo::postBuild().
void LLPanelRegionInfo::onChangeAnything | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 449 of file llfloaterregioninfo.cpp.
References enableButton(), and LLPanel::refresh().
Referenced by initCtrl(), initTextCtrl(), and onChangeText().
void LLPanelRegionInfo::onChangeText | ( | LLLineEditor * | caller, | |
void * | user_data | |||
) | [static] |
Definition at line 461 of file llfloaterregioninfo.cpp.
References onChangeAnything().
Referenced by initTextCtrl().
bool LLPanelRegionInfo::refreshFromRegion | ( | LLViewerRegion * | region | ) | [virtual] |
Reimplemented in LLPanelRegionGeneralInfo, LLPanelRegionDebugInfo, LLPanelRegionTextureInfo, LLPanelRegionTerrainInfo, LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 483 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().
virtual bool LLPanelRegionInfo::estateUpdate | ( | LLMessageSystem * | msg | ) | [inline, virtual] |
Reimplemented in LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 112 of file llfloaterregioninfo.h.
BOOL LLPanelRegionInfo::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Reimplemented in LLPanelRegionGeneralInfo, LLPanelRegionDebugInfo, LLPanelRegionTextureInfo, LLPanelRegionTerrainInfo, LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 469 of file llfloaterregioninfo.cpp.
References LLPanel::childDisable(), LLPanel::childSetAction(), onBtnSet(), LLPanel::refresh(), and TRUE.
Referenced by LLPanelEstateCovenant::postBuild(), LLPanelEstateInfo::postBuild(), LLPanelRegionTerrainInfo::postBuild(), LLPanelRegionTextureInfo::postBuild(), LLPanelRegionDebugInfo::postBuild(), and LLPanelRegionGeneralInfo::postBuild().
void LLPanelRegionInfo::updateChild | ( | LLUICtrl * | child_ctrl | ) | [virtual] |
Reimplemented in LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 478 of file llfloaterregioninfo.cpp.
Referenced by onChangeChildCtrl().
void LLPanelRegionInfo::enableButton | ( | const char * | btn_name, | |
BOOL | enable = TRUE | |||
) |
Definition at line 522 of file llfloaterregioninfo.cpp.
References LLPanel::childSetEnabled().
Referenced by LLPanelEstateInfo::checkSunHourSlider(), onChangeAnything(), LLPanelEstateInfo::onChangeFixedSun(), and LLPanelEstateInfo::onChangeUseGlobalTime().
void LLPanelRegionInfo::disableButton | ( | const char * | btn_name | ) |
Definition at line 527 of file llfloaterregioninfo.cpp.
References LLPanel::childDisable().
Referenced by onBtnSet().
void LLPanelRegionInfo::initCtrl | ( | const char * | name | ) | [protected] |
Definition at line 532 of file llfloaterregioninfo.cpp.
References LLPanel::childSetCommitCallback(), and onChangeAnything().
Referenced by LLPanelEstateInfo::postBuild(), LLPanelRegionTerrainInfo::postBuild(), LLPanelRegionTextureInfo::postBuild(), LLPanelRegionDebugInfo::postBuild(), and LLPanelRegionGeneralInfo::postBuild().
void LLPanelRegionInfo::initTextCtrl | ( | const char * | name | ) | [protected] |
Definition at line 537 of file llfloaterregioninfo.cpp.
References LLPanel::childSetCommitCallback(), LLPanel::childSetKeystrokeCallback(), onChangeAnything(), and onChangeText().
Referenced by LLPanelEstateInfo::postBuild().
void LLPanelRegionInfo::initHelpBtn | ( | const char * | name, | |
const char * | xml_alert | |||
) | [protected] |
Definition at line 543 of file llfloaterregioninfo.cpp.
References LLPanel::childSetAction(), and onClickHelp().
Referenced by LLPanelEstateCovenant::postBuild(), LLPanelEstateInfo::postBuild(), LLPanelRegionTerrainInfo::postBuild(), LLPanelRegionDebugInfo::postBuild(), and LLPanelRegionGeneralInfo::postBuild().
void LLPanelRegionInfo::onClickHelp | ( | void * | data | ) | [static, protected] |
Definition at line 549 of file llfloaterregioninfo.cpp.
References LLViewerWindow::alertXml(), and gViewerWindow.
Referenced by initHelpBtn().
virtual BOOL LLPanelRegionInfo::sendUpdate | ( | ) | [inline, protected, virtual] |
Reimplemented in LLPanelRegionGeneralInfo, LLPanelRegionDebugInfo, LLPanelRegionTextureInfo, LLPanelRegionTerrainInfo, LLPanelEstateInfo, and LLPanelEstateCovenant.
Definition at line 130 of file llfloaterregioninfo.h.
References TRUE.
Referenced by onBtnSet().
void LLPanelRegionInfo::sendEstateOwnerMessage | ( | LLMessageSystem * | msg, | |
const char * | request, | |||
const LLUUID & | invoice, | |||
const strings_t & | strings | |||
) | [protected] |
Definition at line 489 of file llfloaterregioninfo.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, _PREHASH_TransactionID, LLMessageSystem::addString(), LLMessageSystem::addUUID(), LLMessageSystem::addUUIDFast(), 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().
LLHost LLPanelRegionInfo::mHost [protected] |
Definition at line 141 of file llfloaterregioninfo.h.
Referenced by refreshFromRegion(), and sendEstateOwnerMessage().