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 LLFloaterBuyCurrencyUI * | soleInstance (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 LLFloaterBuyCurrencyUI * | sInstance = NULL |
Definition at line 51 of file llfloaterbuycurrency.cpp.
LLFloaterBuyCurrencyUI::LLFloaterBuyCurrencyUI | ( | ) | [private] |
LLFloaterBuyCurrencyUI::~LLFloaterBuyCurrencyUI | ( | ) | [private, virtual] |
BOOL LLFloaterBuyCurrencyUI::canClose | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 184 of file llfloaterbuycurrency.cpp.
References LLCurrencyUIManager::canCancel(), and mManager.
void LLFloaterBuyCurrencyUI::draw | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 168 of file llfloaterbuycurrency.cpp.
References LLCurrencyUIManager::bought(), LLFloater::close(), LLFloater::draw(), mManager, LLCurrencyUIManager::process(), and updateUI().
void LLFloaterBuyCurrencyUI::noTarget | ( | ) |
Definition at line 131 of file llfloaterbuycurrency.cpp.
References mHasTarget, mManager, LLCurrencyUIManager::setAmount(), and STANDARD_BUY_AMOUNT.
Referenced by LLFloaterBuyCurrency::buyCurrency().
Definition at line 314 of file llfloaterbuycurrency.cpp.
References soleInstance().
Referenced by postBuild().
Definition at line 329 of file llfloaterbuycurrency.cpp.
References soleInstance().
Referenced by postBuild().
Definition at line 339 of file llfloaterbuycurrency.cpp.
References LLWeb::loadURLExternal(), and soleInstance().
Referenced by postBuild().
void LLFloaterBuyCurrencyUI::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 189 of file llfloaterbuycurrency.cpp.
References LLFloater::destroy(), and LLFloater::onClose().
BOOL LLFloaterBuyCurrencyUI::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 155 of file llfloaterbuycurrency.cpp.
References LLPanel::childSetAction(), mManager, onClickBuy(), onClickCancel(), onClickErrorWeb(), LLCurrencyUIManager::prepare(), TRUE, and updateUI().
LLFloaterBuyCurrencyUI * LLFloaterBuyCurrencyUI::soleInstance | ( | bool | createIfNeeded | ) | [static] |
Definition at line 94 of file llfloaterbuycurrency.cpp.
References LLUICtrlFactory::buildFloater(), LLFloater::center(), gUICtrlFactory, LLFloaterBuyCurrencyUI(), and sInstance.
Referenced by LLFloaterBuyCurrency::buyCurrency(), onClickBuy(), onClickCancel(), and onClickErrorWeb().
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().
void LLFloaterBuyCurrencyUI::updateUI | ( | ) |
Definition at line 195 of file llfloaterbuycurrency.cpp.
References LLViewChildren::BADGE_ERROR, LLViewChildren::BADGE_NOTE, LLCurrencyUIManager::buying(), LLCurrencyUIManager::canBuy(), LLPanel::childHide(), LLPanel::childSetEnabled(), LLPanel::childSetTextArg(), LLPanel::childSetVisible(), LLPanel::childShow(), LLCurrencyUIManager::errorMessage(), LLCurrencyUIManager::errorURI(), LLCurrencyUIManager::getAmount(), LLStatusBar::getBalance(), LLUICtrlFactory::getTextBoxByName(), gStatusBar, LLCurrencyUIManager::hasError(), llformat(), mChildren, mHasTarget, mManager, mTargetName, mTargetPrice, S32, LLViewChildren::setBadge(), LLView::setVisible(), LLTextBox::setWrappedText(), and LLCurrencyUIManager::updateUI().
Referenced by LLFloaterBuyCurrency::buyCurrency(), draw(), and postBuild().
Definition at line 68 of file llfloaterbuycurrency.cpp.
Referenced by noTarget(), target(), and updateUI().
Definition at line 66 of file llfloaterbuycurrency.cpp.
Referenced by canClose(), draw(), noTarget(), postBuild(), target(), and updateUI().
std::string LLFloaterBuyCurrencyUI::mTargetName |
LLFloaterBuyCurrencyUI * LLFloaterBuyCurrencyUI::sInstance = NULL [static, private] |
Definition at line 58 of file llfloaterbuycurrency.cpp.
Referenced by soleInstance(), and ~LLFloaterBuyCurrencyUI().