#include <llstatusbar.h>
Inheritance diagram for LLStatusBar:
Definition at line 69 of file llstatusbar.h.
LLStatusBar::LLStatusBar | ( | const std::string & | name, | |
const LLRect & | rect | |||
) |
Definition at line 122 of file llstatusbar.cpp.
References LLUICtrlFactory::buildPanel(), LLPanel::childSetAction(), LLPanel::childSetActionTextbox(), LLPanel::childSetCommitCallback(), FALSE, LLUICtrlFactory::getTextBoxByName(), gUICtrlFactory, mBalanceTimer, mHealthTimer, LLView::mMouseOpaque, mTextBalance, mTextHealth, mTextParcelName, mTextTime, onClickBalance(), onClickBuild(), onClickBuyCurrency(), onClickBuyLand(), onClickFly(), onClickHealth(), onClickParcelInfo(), onClickPush(), onClickScriptDebug(), onClickScripts(), onClickSearch(), onClickVoice(), onCommitSearch(), sDays, LLPanel::setFocusRoot(), LLUICtrl::setIsChrome(), setupDate(), sMonths, and TRUE.
LLStatusBar::~LLStatusBar | ( | ) |
Definition at line 532 of file llstatusbar.cpp.
References getBalance(), and setBalance().
Referenced by upload_done_callback().
void LLStatusBar::draw | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 199 of file llstatusbar.cpp.
References LLPanel::draw(), LLControlGroup::getColor(), LLRectBase< Type >::getHeight(), LLControlGroup::getS32(), LLRectBase< Type >::getWidth(), gl_drop_shadow(), LLPanel::mBgVisible, LLView::mRect, refresh(), LLUI::sColorsGroup, and LLUI::sConfigGroup.
S32 LLStatusBar::getBalance | ( | ) | const |
Definition at line 596 of file llstatusbar.cpp.
References mBalance.
Referenced by can_afford_transaction(), creditBalance(), debitBalance(), handle_buy_object(), LLFileEnableUpload::handleEvent(), LLTaskInvFVBridge::performAction(), LLPanelDirLand::postBuild(), process_money_balance_reply(), LLFloaterBuyCurrencyUI::target(), LLFloaterBuyLandUI::updateAgentInfo(), LLFloaterBuyCurrencyUI::updateUI(), and upload_new_resource().
S32 LLStatusBar::getHealth | ( | ) | const |
S32 LLStatusBar::getSquareMetersCommitted | ( | ) | const |
Definition at line 626 of file llstatusbar.cpp.
References mSquareMetersCommitted.
Referenced by LLFloaterLandHoldings::refreshAggregates(), and LLFloaterBuyLandUI::updateAgentInfo().
S32 LLStatusBar::getSquareMetersCredit | ( | ) | const |
Definition at line 621 of file llstatusbar.cpp.
References mSquareMetersCredit.
Referenced by LLFloaterLandHoldings::refreshAggregates().
S32 LLStatusBar::getSquareMetersLeft | ( | ) | const |
Definition at line 631 of file llstatusbar.cpp.
References mSquareMetersCommitted, and mSquareMetersCredit.
Referenced by LLPanelGroupLandMoney::activate(), LLPanelGroupLandMoney::impl::applyContribution(), and LLFloaterLandHoldings::refreshAggregates().
LLString LLStatusBar::getWidgetTag | ( | ) | const [virtual] |
Reimplemented from LLPanel.
Definition at line 189 of file llstatusbar.cpp.
References LL_STATUS_BAR_TAG.
EWidgetType LLStatusBar::getWidgetType | ( | ) | const [virtual] |
Reimplemented from LLPanel.
Definition at line 183 of file llstatusbar.cpp.
References WIDGET_TYPE_STATUS_BAR.
BOOL LLStatusBar::isUserTiered | ( | ) | const |
Definition at line 778 of file llstatusbar.cpp.
References LLFloaterDirectory::showFindAll().
Referenced by LLStatusBar(), and onCommitSearch().
Definition at line 771 of file llstatusbar.cpp.
References onClickSearch().
Referenced by LLStatusBar().
void LLStatusBar::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 214 of file llstatusbar.cpp.
References LLViewerParcelMgr::canAgentBuyParcel(), LLPanel::childGetRect(), LLPanel::childSetRect(), LLPanel::childSetVisible(), FALSE, gAgent, gCacheName, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowDamage(), LLViewerRegion::getAllowDamage(), LLParcel::getAllowFly(), LLParcel::getAllowModify(), LLParcel::getAllowOtherScripts(), LLParcel::getArea(), LLVoiceClient::getAreaVoiceDisabled(), LLViewerRegion::getBlockFly(), LLViewerParcelMgr::getDwelling(), LLFrameTimer::getElapsedSeconds(), LLParcel::getForSale(), LLParcel::getGroupID(), LLCacheName::getGroupName(), LLRectBase< Type >::getHeight(), LLParcel::getIsGroupOwned(), LLCacheName::getName(), LLViewerRegion::getName(), LLParcel::getName(), LLViewerRegion::getNetDetailsForLCD(), LLParcel::getOwnerID(), LLAgent::getPositionAgent(), LLView::getRect(), LLAgent::getRegion(), LLViewerRegion::getRegionFlags(), LLParcel::getRestrictPushObject(), LLViewerRegion::getRestrictPushObject(), LLMenuBarGL::getRightmostMenuEdge(), LLViewerRegion::getSimAccessString(), LLTextBox::getText(), LLTextBox::getTextPixelWidth(), LLAgent::getVelocity(), LLRectBase< Type >::getWidth(), gMenuBarView, gPacificDaylightTime, gParcelMgr, GRAPHIC_FUDGE, gVoiceClient, LLFrameTimer::hasExpired(), ICON_FLASH_FREQUENCY, LLHUDIcon::iconsNearby(), LLUUID::isNull(), LLParcel::isPublic(), llformat(), llmin(), lltrunc(), cLLRegionDetails::mAccesString, LLVector3::magVecSquared(), cLLRegionDetails::mArea, MAX_STRING, mBalance, cLLRegionDetails::mBalance, MENU_PARCEL_SPACING, cLLRegionDetails::mForSale, mHealthTimer, LLRectBase< Type >::mLeft, cLLRegionDetails::mOwner, cLLRegionDetails::mParcelName, cLLRegionDetails::mPing, LLView::mRect, mRegionDetails, cLLRegionDetails::mRegionName, mTextHealth, mTextParcelName, mTextTime, cLLRegionDetails::mTime, cLLRegionDetails::mTraffic, LLVector3::mV, cLLRegionDetails::mX, cLLRegionDetails::mY, cLLRegionDetails::mZ, r, REGION_FLAGS_ESTATE_SKIP_SCRIPTS, REGION_FLAGS_SKIP_SCRIPTS, LLView::reshape(), S32, sDays, LLView::setRect(), LLTextBox::setText(), LLView::setToolTip(), LLView::setVisible(), sMonths, LLFontGL::sSansSerifSmall, t, TEXT_HEIGHT, time_corrected(), tut::tm(), TRUE, utc_to_pacific_time(), VX, VY, VZ, x, and y.
Referenced by draw().
Definition at line 542 of file llstatusbar.cpp.
References LLControlGroup::getF32(), LLResMgr::getMonetaryString(), gResMgr, gSavedSettings, ICON_TIMER_EXPIRY, make_ui_sound(), mBalance, mBalanceTimer, mTextBalance, LLFrameTimer::reset(), LLTextBox::setText(), and LLFrameTimer::setTimerExpirySec().
Referenced by creditBalance(), debitBalance(), and process_money_balance_reply().
Definition at line 565 of file llstatusbar.cpp.
References gAgent, LLAgent::getAvatarObject(), LLControlGroup::getF32(), LLCharacter::getSex(), gSavedSettings, ICON_TIMER_EXPIRY, llformat(), make_ui_sound(), mHealth, mHealthTimer, mTextHealth, LLFrameTimer::reset(), LLTextBox::setText(), LLFrameTimer::setTimerExpirySec(), and SEX_FEMALE.
Referenced by process_health_message().
Definition at line 611 of file llstatusbar.cpp.
References mSquareMetersCommitted.
Referenced by process_money_balance_reply().
Definition at line 607 of file llstatusbar.cpp.
References mSquareMetersCredit.
Referenced by process_money_balance_reply().
void LLStatusBar::setupDate | ( | ) | [private] |
Definition at line 708 of file llstatusbar.cpp.
References LLPanel::childGetText(), i, MAX_DATE_STRING_LENGTH, sDays, and sMonths.
Referenced by LLStatusBar().
void LLStatusBar::setVisibleForMouselook | ( | bool | visible | ) |
Definition at line 522 of file llstatusbar.cpp.
References LLPanel::childSetVisible(), mTextBalance, mTextTime, LLPanel::setBackgroundVisible(), and LLView::setVisible().
Referenced by LLAgent::endAnimationUpdateUI().
const U32 LLStatusBar::MAX_DATE_STRING_LENGTH = 2000 [static, private] |
S32 LLStatusBar::mBalance [private] |
Definition at line 121 of file llstatusbar.h.
Referenced by getBalance(), refresh(), and setBalance().
LLFrameTimer* LLStatusBar::mBalanceTimer [private] |
Definition at line 125 of file llstatusbar.h.
Referenced by LLStatusBar(), setBalance(), and ~LLStatusBar().
LLButton* LLStatusBar::mBtnBuyCurrency [private] |
Definition at line 119 of file llstatusbar.h.
S32 LLStatusBar::mHealth [private] |
LLFrameTimer* LLStatusBar::mHealthTimer [private] |
Definition at line 126 of file llstatusbar.h.
Referenced by LLStatusBar(), refresh(), setHealth(), and ~LLStatusBar().
S32 LLStatusBar::mSquareMetersCommitted [private] |
Definition at line 124 of file llstatusbar.h.
Referenced by getSquareMetersCommitted(), getSquareMetersLeft(), and setLandCommitted().
S32 LLStatusBar::mSquareMetersCredit [private] |
Definition at line 123 of file llstatusbar.h.
Referenced by getSquareMetersCredit(), getSquareMetersLeft(), isUserTiered(), and setLandCredit().
LLTextBox* LLStatusBar::mTextBalance [private] |
Definition at line 113 of file llstatusbar.h.
Referenced by LLStatusBar(), setBalance(), and setVisibleForMouselook().
LLTextBox* LLStatusBar::mTextHealth [private] |
Definition at line 114 of file llstatusbar.h.
Referenced by LLStatusBar(), refresh(), and setHealth().
LLTextBox* LLStatusBar::mTextParcelName [private] |
LLTextBox* LLStatusBar::mTextTime [private] |
Definition at line 115 of file llstatusbar.h.
Referenced by LLStatusBar(), refresh(), and setVisibleForMouselook().
std::vector< std::string > LLStatusBar::sDays [static, private] |
Definition at line 128 of file llstatusbar.h.
Referenced by LLStatusBar(), refresh(), and setupDate().
std::vector< std::string > LLStatusBar::sMonths [static, private] |
Definition at line 129 of file llstatusbar.h.
Referenced by LLStatusBar(), refresh(), and setupDate().