void LLFloaterBuyLandUI::SelectionObserver::changed() { LLFloaterBuyLandUI* ui = LLFloaterBuyLandUI::soleInstance(false); if (ui) { if (LLViewerParcelMgr::getInstance()->selectionEmpty()) { ui->close(); } else { ui->setParcel( LLViewerParcelMgr::getInstance()->getSelectionRegion(), LLViewerParcelMgr::getInstance()->getParcelSelection()); } } }
// static void LLFloaterBuyLandUI::onClickErrorWeb(void* data) { LLFloaterBuyLandUI* self = (LLFloaterBuyLandUI*)data; LLWeb::loadURLExternal(self->mCannotBuyURI); self->close(); }
// static void LLFloaterBuyLandUI::onClickCancel(void* data) { LLFloaterBuyLandUI* self = (LLFloaterBuyLandUI*)data; self->close(); }