LLFloaterSellLandUI Class Reference

Inheritance diagram for LLFloaterSellLandUI:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterSellLandUI:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual BOOL postBuild ()
virtual void onClose (bool app_quitting)
bool setParcel (LLViewerRegion *region, LLParcelSelectionHandle parcel)

Static Public Member Functions

static LLFloaterSellLandUIsoleInstance (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

LLViewerRegionmRegion
LLParcelSelectionHandle mParcelSelection
bool mParcelIsForSale
bool mSellToBuyer
bool mChoseSellTo
S32 mParcelPrice
S32 mParcelActualArea
LLUUID mParcelSnapshot
LLUUID mAuthorizedBuyer
bool mParcelSoldWithObjects

Static Private Attributes

static LLFloaterSellLandUIsInstance = NULL

Classes

class  SelectionObserver


Detailed Description

Definition at line 54 of file llfloatersellland.cpp.


Constructor & Destructor Documentation

LLFloaterSellLandUI::LLFloaterSellLandUI (  )  [private]

Definition at line 140 of file llfloatersellland.cpp.

Referenced by soleInstance().

Here is the caller graph for this function:

LLFloaterSellLandUI::~LLFloaterSellLandUI (  )  [private, virtual]

Definition at line 146 of file llfloatersellland.cpp.

References NULL, and sInstance.


Member Function Documentation

void LLFloaterSellLandUI::updateParcelInfo (  )  [private]

void LLFloaterSellLandUI::refreshUI (  )  [private]

void LLFloaterSellLandUI::setBadge ( const char *  id,
Badge  badge 
) [private]

Definition at line 252 of file llfloatersellland.cpp.

References BADGE_ERROR, BADGE_NOTE, BADGE_OK, BADGE_WARN, and LLPanel::childSetValue().

Referenced by refreshUI().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSellLandUI::onChangeValue ( LLUICtrl ctrl,
void *  userdata 
) [static, private]

Definition at line 369 of file llfloatersellland.cpp.

References doSelectAgent().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSellLandUI::doSelectAgent ( void *  userdata  )  [static, private]

Definition at line 405 of file llfloatersellland.cpp.

References LLFloater::addDependentFloater(), callbackAvatarPick(), FALSE, LLFloaterAvatarPicker::show(), and TRUE.

Referenced by onChangeValue(), and postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSellLandUI::doCancel ( void *  userdata  )  [static, private]

Definition at line 431 of file llfloatersellland.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLFloaterSellLandUI::doSellLand ( void *  userdata  )  [static, private]

Definition at line 458 of file llfloatersellland.cpp.

References LLViewerWindow::alertXml(), LLParcel::getArea(), LLParcel::getForSale(), gViewerWindow, llformat(), onConfirmSale(), and S32.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSellLandUI::onConfirmSale ( S32  option,
void *  userdata 
) [static, private]

void LLFloaterSellLandUI::doShowObjects ( void *  userdata  )  [static, private]

Definition at line 438 of file llfloatersellland.cpp.

References callbackHighlightTransferable(), LLParcel::getLocalID(), RT_SELL, send_parcel_select_objects(), and LLNotifyBox::showXml().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSellLandUI::callbackHighlightTransferable ( S32  option,
void *  userdata 
) [static, private]

Definition at line 452 of file llfloatersellland.cpp.

References LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::unhighlightAll().

Referenced by doShowObjects().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterSellLandUI::callbackAvatarPick ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  ids,
void *  data 
) [static, private]

Definition at line 413 of file llfloatersellland.cpp.

References LLPanel::childSetText(), mAuthorizedBuyer, mParcelSelection, refreshUI(), and LLParcel::setAuthorizedBuyerID().

Referenced by doSelectAgent().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFloaterSellLandUI::postBuild ( void   )  [virtual]

void LLFloaterSellLandUI::onClose ( bool  app_quitting  )  [virtual]

Reimplemented from LLFloater.

Definition at line 171 of file llfloatersellland.cpp.

References LLFloater::destroy(), and LLFloater::onClose().

Here is the call graph for this function:

LLFloaterSellLandUI * LLFloaterSellLandUI::soleInstance ( bool  createIfNeeded  )  [static]

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 61 of file llfloatersellland.cpp.

Referenced by setParcel().

Definition at line 62 of file llfloatersellland.cpp.

Referenced by callbackAvatarPick(), refreshUI(), setParcel(), and updateParcelInfo().

Definition at line 63 of file llfloatersellland.cpp.

Referenced by updateParcelInfo().

Definition at line 64 of file llfloatersellland.cpp.

Referenced by refreshUI(), and updateParcelInfo().

Definition at line 65 of file llfloatersellland.cpp.

Referenced by refreshUI(), setParcel(), and updateParcelInfo().

Definition at line 66 of file llfloatersellland.cpp.

Referenced by refreshUI(), and updateParcelInfo().

Definition at line 67 of file llfloatersellland.cpp.

Referenced by refreshUI(), and updateParcelInfo().

Definition at line 68 of file llfloatersellland.cpp.

Referenced by refreshUI(), and updateParcelInfo().

Definition at line 69 of file llfloatersellland.cpp.

Referenced by callbackAvatarPick(), refreshUI(), and updateParcelInfo().

Definition at line 70 of file llfloatersellland.cpp.

Referenced by updateParcelInfo().

Definition at line 76 of file llfloatersellland.cpp.

Referenced by soleInstance(), and ~LLFloaterSellLandUI().


The documentation for this class was generated from the following file:

Generated on Fri May 16 08:46:33 2008 for SecondLife by  doxygen 1.5.5