

Public Member Functions | |
| virtual BOOL | postBuild () |
| virtual void | onClose (bool app_quitting) |
| bool | setParcel (LLViewerRegion *region, LLParcelSelectionHandle parcel) |
Static Public Member Functions | |
| static LLFloaterSellLandUI * | soleInstance (bool createIfNeeded) |
Private Member Functions | |
| LLFloaterSellLandUI () | |
| virtual | ~LLFloaterSellLandUI () |
| void | updateParcelInfo () |
| void | refreshUI () |
| void | setBadge (const char *id, Badge badge) |
Static Private Member Functions | |
| static void | onChangeValue (LLUICtrl *ctrl, void *userdata) |
| static void | doSelectAgent (void *userdata) |
| static void | doCancel (void *userdata) |
| static void | doSellLand (void *userdata) |
| static void | onConfirmSale (S32 option, void *userdata) |
| static void | doShowObjects (void *userdata) |
| static void | callbackHighlightTransferable (S32 option, void *userdata) |
| static void | callbackAvatarPick (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *data) |
Private Attributes | |
| LLViewerRegion * | mRegion |
| LLParcelSelectionHandle | mParcelSelection |
| bool | mParcelIsForSale |
| bool | mSellToBuyer |
| bool | mChoseSellTo |
| S32 | mParcelPrice |
| S32 | mParcelActualArea |
| LLUUID | mParcelSnapshot |
| LLUUID | mAuthorizedBuyer |
| bool | mParcelSoldWithObjects |
Static Private Attributes | |
| static LLFloaterSellLandUI * | sInstance = NULL |
Classes | |
| class | SelectionObserver |
Definition at line 54 of file llfloatersellland.cpp.
| LLFloaterSellLandUI::LLFloaterSellLandUI | ( | ) | [private] |
| LLFloaterSellLandUI::~LLFloaterSellLandUI | ( | ) | [private, virtual] |
| void LLFloaterSellLandUI::callbackAvatarPick | ( | const std::vector< std::string > & | names, | |
| const std::vector< LLUUID > & | ids, | |||
| void * | data | |||
| ) | [static, private] |
Definition at line 419 of file llfloatersellland.cpp.
References LLPanel::childSetText(), mAuthorizedBuyer, mParcelSelection, refreshUI(), and LLParcel::setAuthorizedBuyerID().
Referenced by doSelectAgent().
| void LLFloaterSellLandUI::callbackHighlightTransferable | ( | S32 | option, | |
| void * | userdata | |||
| ) | [static, private] |
Definition at line 458 of file llfloatersellland.cpp.
References gSelectMgr, and LLSelectMgr::unhighlightAll().
Referenced by doShowObjects().
Definition at line 411 of file llfloatersellland.cpp.
References LLFloater::addDependentFloater(), callbackAvatarPick(), FALSE, LLFloaterAvatarPicker::show(), and TRUE.
Referenced by onChangeValue(), and postBuild().
Definition at line 464 of file llfloatersellland.cpp.
References LLViewerWindow::alertXml(), LLParcel::getArea(), LLParcel::getForSale(), gViewerWindow, llformat(), onConfirmSale(), and S32.
Referenced by postBuild().
Definition at line 444 of file llfloatersellland.cpp.
References callbackHighlightTransferable(), LLParcel::getLocalID(), RT_SELL, send_parcel_select_objects(), and LLNotifyBox::showXml().
Referenced by postBuild().
Definition at line 375 of file llfloatersellland.cpp.
References doSelectAgent().
Referenced by postBuild().
| void LLFloaterSellLandUI::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 171 of file llfloatersellland.cpp.
References LLFloater::destroy(), and LLFloater::onClose().
Definition at line 504 of file llfloatersellland.cpp.
References gParcelMgr, LLUUID::null, PF_FOR_SALE, S32, LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLParcel::setAuthorizedBuyerID(), LLParcel::setParcelFlag(), LLParcel::setSalePrice(), LLParcel::setSellWithObjects(), and TRUE.
Referenced by doSellLand().
| BOOL LLFloaterSellLandUI::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 177 of file llfloatersellland.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetPrevalidate(), doCancel(), doSelectAgent(), doSellLand(), doShowObjects(), onChangeValue(), LLLineEditor::prevalidateNonNegativeS32(), and TRUE.
| void LLFloaterSellLandUI::refreshUI | ( | ) | [private] |
Definition at line 278 of file llfloatersellland.cpp.
References LLSD::asString(), BADGE_ERROR, BADGE_NOTE, BADGE_OK, LLPanel::childDisable(), LLPanel::childEnable(), LLPanel::childGetValue(), LLPanel::childHide(), LLPanel::childSetText(), LLPanel::childSetTextArg(), LLPanel::childSetValue(), LLPanel::childShow(), LLParcel::getName(), LLViewerUICtrlFactory::getTexturePickerByName(), llformat(), mAuthorizedBuyer, mChoseSellTo, mParcelActualArea, mParcelPrice, mParcelSelection, mParcelSnapshot, mSellToBuyer, LLUUID::notNull(), LLLineEditor::prevalidateNonNegativeS32(), setBadge(), LLTextureCtrl::setImageAssetID(), and utf8str_to_wstring().
Referenced by callbackAvatarPick(), and setParcel().
Definition at line 258 of file llfloatersellland.cpp.
References BADGE_ERROR, BADGE_NOTE, BADGE_OK, BADGE_WARN, LLPanel::childSetValue(), LLControlGroup::getString(), and gViewerArt.
Referenced by refreshUI().
| bool LLFloaterSellLandUI::setParcel | ( | LLViewerRegion * | region, | |
| LLParcelSelectionHandle | parcel | |||
| ) |
Definition at line 190 of file llfloatersellland.cpp.
References mChoseSellTo, mParcelSelection, mRegion, refreshUI(), and updateParcelInfo().
Referenced by LLFloaterSellLandUI::SelectionObserver::changed(), and LLFloaterSellLand::sellLand().
| LLFloaterSellLandUI * LLFloaterSellLandUI::soleInstance | ( | bool | createIfNeeded | ) | [static] |
Definition at line 119 of file llfloatersellland.cpp.
References LLViewerParcelMgr::addObserver(), LLUICtrlFactory::buildFloater(), LLFloater::center(), gParcelMgr, gUICtrlFactory, LLFloaterSellLandUI(), NULL, and sInstance.
Referenced by LLFloaterSellLandUI::SelectionObserver::changed(), and LLFloaterSellLand::sellLand().
| void LLFloaterSellLandUI::updateParcelInfo | ( | ) | [private] |
Definition at line 208 of file llfloatersellland.cpp.
References LLPanel::childSetText(), LLPanel::childSetValue(), gCacheName, LLParcel::getArea(), LLParcel::getAuthorizedBuyerID(), LLParcel::getForSale(), LLCacheName::getName(), LLParcel::getSalePrice(), LLParcel::getSellWithObjects(), LLParcel::getSnapshotID(), mAuthorizedBuyer, MAX_STRING, mChoseSellTo, mParcelActualArea, mParcelIsForSale, mParcelPrice, mParcelSelection, mParcelSnapshot, mParcelSoldWithObjects, mSellToBuyer, and LLUUID::notNull().
Referenced by setParcel().
LLUUID LLFloaterSellLandUI::mAuthorizedBuyer [private] |
Definition at line 69 of file llfloatersellland.cpp.
Referenced by callbackAvatarPick(), refreshUI(), and updateParcelInfo().
bool LLFloaterSellLandUI::mChoseSellTo [private] |
Definition at line 65 of file llfloatersellland.cpp.
Referenced by refreshUI(), setParcel(), and updateParcelInfo().
S32 LLFloaterSellLandUI::mParcelActualArea [private] |
Definition at line 67 of file llfloatersellland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
bool LLFloaterSellLandUI::mParcelIsForSale [private] |
S32 LLFloaterSellLandUI::mParcelPrice [private] |
Definition at line 66 of file llfloatersellland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
Definition at line 62 of file llfloatersellland.cpp.
Referenced by callbackAvatarPick(), refreshUI(), setParcel(), and updateParcelInfo().
LLUUID LLFloaterSellLandUI::mParcelSnapshot [private] |
Definition at line 68 of file llfloatersellland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
bool LLFloaterSellLandUI::mParcelSoldWithObjects [private] |
LLViewerRegion* LLFloaterSellLandUI::mRegion [private] |
bool LLFloaterSellLandUI::mSellToBuyer [private] |
Definition at line 64 of file llfloatersellland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
LLFloaterSellLandUI * LLFloaterSellLandUI::sInstance = NULL [static, private] |
Definition at line 76 of file llfloatersellland.cpp.
Referenced by soleInstance(), and ~LLFloaterSellLandUI().
1.4.7