LLFloaterBuyCurrencyUI Class Reference

Inheritance diagram for LLFloaterBuyCurrencyUI:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterBuyCurrencyUI:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void noTarget ()
void target (const std::string &name, S32 price)
virtual BOOL postBuild ()
void updateUI ()
virtual void draw ()
virtual BOOL canClose ()
virtual void onClose (bool app_quitting)

Static Public Member Functions

static LLFloaterBuyCurrencyUIsoleInstance (bool createIfNeeded)
static void onClickBuy (void *data)
static void onClickCancel (void *data)
static void onClickErrorWeb (void *data)

Public Attributes

LLViewChildren mChildren
LLCurrencyUIManager mManager
bool mHasTarget
std::string mTargetName
S32 mTargetPrice

Private Member Functions

 LLFloaterBuyCurrencyUI ()
virtual ~LLFloaterBuyCurrencyUI ()

Static Private Attributes

static LLFloaterBuyCurrencyUIsInstance = NULL


Detailed Description

Definition at line 51 of file llfloaterbuycurrency.cpp.


Constructor & Destructor Documentation

LLFloaterBuyCurrencyUI::LLFloaterBuyCurrencyUI (  )  [private]

Definition at line 115 of file llfloaterbuycurrency.cpp.

Referenced by soleInstance().

Here is the caller graph for this function:

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

Definition at line 122 of file llfloaterbuycurrency.cpp.

References NULL, and sInstance.


Member Function Documentation

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

Definition at line 94 of file llfloaterbuycurrency.cpp.

References LLUICtrlFactory::buildFloater(), LLFloater::center(), LLSingleton< LLUICtrlFactory >::getInstance(), LLFloaterBuyCurrencyUI(), and sInstance.

Referenced by LLFloaterBuyCurrency::buyCurrency(), onClickBuy(), onClickCancel(), and onClickErrorWeb().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterBuyCurrencyUI::noTarget (  ) 

Definition at line 131 of file llfloaterbuycurrency.cpp.

References mHasTarget, mManager, LLCurrencyUIManager::setAmount(), and STANDARD_BUY_AMOUNT.

Referenced by LLFloaterBuyCurrency::buyCurrency().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterBuyCurrencyUI::target ( const std::string &  name,
S32  price 
)

Definition at line 137 of file llfloaterbuycurrency.cpp.

References LLStatusBar::getBalance(), gStatusBar, mHasTarget, MINIMUM_BALANCE_AMOUNT, mManager, mTargetName, mTargetPrice, S32, and LLCurrencyUIManager::setAmount().

Referenced by LLFloaterBuyCurrency::buyCurrency().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFloaterBuyCurrencyUI::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 155 of file llfloaterbuycurrency.cpp.

References LLPanel::childSetAction(), mManager, onClickBuy(), onClickCancel(), onClickErrorWeb(), LLCurrencyUIManager::prepare(), TRUE, and updateUI().

Here is the call graph for this function:

void LLFloaterBuyCurrencyUI::updateUI (  ) 

void LLFloaterBuyCurrencyUI::draw ( void   )  [virtual]

Reimplemented from LLFloater.

Definition at line 168 of file llfloaterbuycurrency.cpp.

References LLCurrencyUIManager::bought(), LLFloater::close(), LLFloater::draw(), mManager, LLCurrencyUIManager::process(), and updateUI().

Here is the call graph for this function:

BOOL LLFloaterBuyCurrencyUI::canClose (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 184 of file llfloaterbuycurrency.cpp.

References LLCurrencyUIManager::canCancel(), and mManager.

Here is the call graph for this function:

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

Reimplemented from LLFloater.

Definition at line 189 of file llfloaterbuycurrency.cpp.

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

Here is the call graph for this function:

void LLFloaterBuyCurrencyUI::onClickBuy ( void *  data  )  [static]

Definition at line 323 of file llfloaterbuycurrency.cpp.

References soleInstance().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterBuyCurrencyUI::onClickCancel ( void *  data  )  [static]

Definition at line 338 of file llfloaterbuycurrency.cpp.

References soleInstance().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterBuyCurrencyUI::onClickErrorWeb ( void *  data  )  [static]

Definition at line 348 of file llfloaterbuycurrency.cpp.

References LLWeb::loadURLExternal(), and soleInstance().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 58 of file llfloaterbuycurrency.cpp.

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

Definition at line 65 of file llfloaterbuycurrency.cpp.

Referenced by updateUI().

Definition at line 66 of file llfloaterbuycurrency.cpp.

Referenced by canClose(), draw(), noTarget(), postBuild(), target(), and updateUI().

Definition at line 68 of file llfloaterbuycurrency.cpp.

Referenced by noTarget(), target(), and updateUI().

Definition at line 69 of file llfloaterbuycurrency.cpp.

Referenced by target(), and updateUI().

Definition at line 70 of file llfloaterbuycurrency.cpp.

Referenced by target(), and updateUI().


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

Generated on Fri May 16 08:45:03 2008 for SecondLife by  doxygen 1.5.5