LLStatusBar Class Reference

#include <llstatusbar.h>

Inheritance diagram for LLStatusBar:

Inheritance graph
[legend]
Collaboration diagram for LLStatusBar:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLStatusBar (const std::string &name, const LLRect &rect)
 ~LLStatusBar ()
void draw ()
void setBalance (S32 balance)
void debitBalance (S32 debit)
void creditBalance (S32 credit)
void setHealth (S32 percent)
void setLandCredit (S32 credit)
void setLandCommitted (S32 committed)
void refresh ()
void setVisibleForMouselook (bool visible)
S32 getBalance () const
S32 getHealth () const
BOOL isUserTiered () const
S32 getSquareMetersCredit () const
S32 getSquareMetersCommitted () const
S32 getSquareMetersLeft () const

Public Attributes

LLRegionDetails mRegionDetails

Private Member Functions

void setupDate ()

Static Private Member Functions

static void onCommitSearch (LLUICtrl *, void *data)
static void onClickSearch (void *data)
static void onClickStatGraph (void *data)

Private Attributes

LLTextBoxmTextBalance
LLTextBoxmTextHealth
LLTextBoxmTextTime
LLTextBoxmTextParcelName
LLStatGraphmSGBandwidth
LLStatGraphmSGPacketLoss
LLButtonmBtnBuyCurrency
S32 mBalance
S32 mHealth
S32 mSquareMetersCredit
S32 mSquareMetersCommitted
LLFrameTimermBalanceTimer
LLFrameTimermHealthTimer

Static Private Attributes

static std::vector< std::string > sDays
static std::vector< std::string > sMonths
static const U32 MAX_DATE_STRING_LENGTH = 2000


Detailed Description

Definition at line 84 of file llstatusbar.h.


Constructor & Destructor Documentation

LLStatusBar::LLStatusBar ( const std::string &  name,
const LLRect rect 
)

LLStatusBar::~LLStatusBar (  ) 

Definition at line 213 of file llstatusbar.cpp.

References mBalanceTimer, mHealthTimer, and NULL.


Member Function Documentation

void LLStatusBar::draw ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 229 of file llstatusbar.cpp.

References LLPanel::draw(), LLView::getRect(), gl_drop_shadow(), LLPanel::isBackgroundVisible(), refresh(), LLUI::sColorsGroup, and LLUI::sConfigGroup.

Here is the call graph for this function:

void LLStatusBar::setBalance ( S32  balance  ) 

void LLStatusBar::debitBalance ( S32  debit  ) 

Definition at line 646 of file llstatusbar.cpp.

References getBalance(), and setBalance().

Referenced by upload_done_callback().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLStatusBar::creditBalance ( S32  credit  ) 

Definition at line 651 of file llstatusbar.cpp.

References getBalance(), and setBalance().

Here is the call graph for this function:

void LLStatusBar::setHealth ( S32  percent  ) 

void LLStatusBar::setLandCredit ( S32  credit  ) 

Definition at line 721 of file llstatusbar.cpp.

References mSquareMetersCredit.

Referenced by process_money_balance_reply().

Here is the caller graph for this function:

void LLStatusBar::setLandCommitted ( S32  committed  ) 

Definition at line 725 of file llstatusbar.cpp.

References mSquareMetersCommitted.

Referenced by process_money_balance_reply().

Here is the caller graph for this function:

void LLStatusBar::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 244 of file llstatusbar.cpp.

References LLViewerParcelMgr::canAgentBuyParcel(), LLPanel::childGetRect(), LLPanel::childSetEnabled(), LLPanel::childSetRect(), LLPanel::childSetVisible(), FALSE, gAgent, gCacheName, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowDamage(), LLViewerRegion::getAllowDamage(), LLParcel::getAllowFly(), LLParcel::getAllowModify(), LLParcel::getAllowOtherScripts(), LLParcel::getArea(), LLViewerRegion::getBlockFly(), LLControlGroup::getBOOL(), LLViewerParcelMgr::getDwelling(), LLFrameTimer::getElapsedSeconds(), LLParcel::getForSale(), LLCacheName::getFullName(), LLParcel::getGroupID(), LLCacheName::getGroupName(), LLRectBase< Type >::getHeight(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getIsGroupOwned(), LLViewerThrottle::getMaxBandwidth(), 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(), LLParcel::getVoiceEnabled(), LLRectBase< Type >::getWidth(), gMenuBarView, gPacificDaylightTime, gSavedSettings, gViewerThrottle, LLFrameTimer::hasExpired(), ICON_FLASH_FREQUENCY, LLHUDIcon::iconsNearby(), LLUUID::isNull(), LLParcel::isPublic(), llformat(), llmin(), lltrunc(), LLRegionDetails::mAccesString, LLVector3::magVecSquared(), LLRegionDetails::mArea, mBalance, LLRegionDetails::mBalance, MENU_PARCEL_SPACING, LLRegionDetails::mForSale, mHealthTimer, LLRectBase< Type >::mLeft, LLRegionDetails::mOwner, LLRegionDetails::mParcelName, LLRegionDetails::mPing, mRegionDetails, LLRegionDetails::mRegionName, LLRectBase< Type >::mRight, mSGBandwidth, mSGPacketLoss, mTextHealth, mTextParcelName, mTextTime, LLRegionDetails::mTime, LLRegionDetails::mTraffic, LLVector3::mV, LLRegionDetails::mX, LLRegionDetails::mY, LLRegionDetails::mZ, r, REGION_FLAGS_ESTATE_SKIP_SCRIPTS, REGION_FLAGS_SKIP_SCRIPTS, LLView::reshape(), S32, sDays, LLRectBase< Type >::set(), LLStatGraph::setMax(), LLStatGraph::setMin(), LLRectBase< Type >::setOriginAndSize(), LLView::setRect(), LLTextBox::setText(), LLStatGraph::setThreshold(), LLView::setToolTip(), LLView::setVisible(), sMonths, LLFontGL::sSansSerifSmall, TEXT_HEIGHT, time_corrected(), tut::tm(), LLRectBase< Type >::translate(), TRUE, utc_to_pacific_time(), VX, VY, and VZ.

Referenced by draw().

Here is the caller graph for this function:

void LLStatusBar::setVisibleForMouselook ( bool  visible  ) 

Definition at line 634 of file llstatusbar.cpp.

References LLPanel::childSetVisible(), mSGBandwidth, mSGPacketLoss, mTextBalance, mTextTime, LLPanel::setBackgroundVisible(), and LLView::setVisible().

Referenced by LLAgent::endAnimationUpdateUI().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLStatusBar::getBalance (  )  const

S32 LLStatusBar::getHealth (  )  const

Definition at line 716 of file llstatusbar.cpp.

References mHealth.

BOOL LLStatusBar::isUserTiered (  )  const

Definition at line 730 of file llstatusbar.cpp.

References mSquareMetersCredit.

S32 LLStatusBar::getSquareMetersCredit (  )  const

Definition at line 735 of file llstatusbar.cpp.

References mSquareMetersCredit.

Referenced by LLFloaterLandHoldings::refreshAggregates().

Here is the caller graph for this function:

S32 LLStatusBar::getSquareMetersCommitted (  )  const

Definition at line 740 of file llstatusbar.cpp.

References mSquareMetersCommitted.

Referenced by LLFloaterLandHoldings::refreshAggregates(), and LLFloaterBuyLandUI::updateAgentInfo().

Here is the caller graph for this function:

S32 LLStatusBar::getSquareMetersLeft (  )  const

void LLStatusBar::setupDate (  )  [private]

Definition at line 821 of file llstatusbar.cpp.

References LLPanel::getString(), i, MAX_DATE_STRING_LENGTH, sDays, and sMonths.

Referenced by LLStatusBar().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLStatusBar::onCommitSearch ( LLUICtrl ,
void *  data 
) [static, private]

Definition at line 884 of file llstatusbar.cpp.

References onClickSearch().

Referenced by LLStatusBar().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLStatusBar::onClickSearch ( void *  data  )  [static, private]

Definition at line 891 of file llstatusbar.cpp.

References LLFloaterDirectory::showFindAll().

Referenced by LLStatusBar(), and onCommitSearch().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLStatusBar::onClickStatGraph ( void *  data  )  [static, private]

Definition at line 899 of file llstatusbar.cpp.

References LLUIFactory< T, LLUISingleton< T, VISIBILITY_POLICY >, VISIBILITY_POLICY >::showInstance().

Referenced by LLStatusBar().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 115 of file llstatusbar.h.

Referenced by refresh().

Definition at line 126 of file llstatusbar.h.

Referenced by LLStatusBar(), setBalance(), and setVisibleForMouselook().

Definition at line 127 of file llstatusbar.h.

Referenced by LLStatusBar(), refresh(), and setHealth().

Definition at line 128 of file llstatusbar.h.

Referenced by LLStatusBar(), refresh(), and setVisibleForMouselook().

Definition at line 130 of file llstatusbar.h.

Referenced by LLStatusBar(), and refresh().

Definition at line 132 of file llstatusbar.h.

Referenced by LLStatusBar(), refresh(), and setVisibleForMouselook().

Definition at line 133 of file llstatusbar.h.

Referenced by LLStatusBar(), refresh(), and setVisibleForMouselook().

Definition at line 135 of file llstatusbar.h.

Definition at line 137 of file llstatusbar.h.

Referenced by getBalance(), refresh(), and setBalance().

Definition at line 138 of file llstatusbar.h.

Referenced by getHealth(), and setHealth().

Definition at line 140 of file llstatusbar.h.

Referenced by getSquareMetersCommitted(), getSquareMetersLeft(), and setLandCommitted().

Definition at line 141 of file llstatusbar.h.

Referenced by LLStatusBar(), setBalance(), and ~LLStatusBar().

Definition at line 142 of file llstatusbar.h.

Referenced by LLStatusBar(), refresh(), setHealth(), and ~LLStatusBar().

std::vector< std::string > LLStatusBar::sDays [static, private]

Definition at line 144 of file llstatusbar.h.

Referenced by LLStatusBar(), refresh(), and setupDate().

std::vector< std::string > LLStatusBar::sMonths [static, private]

Definition at line 145 of file llstatusbar.h.

Referenced by LLStatusBar(), refresh(), and setupDate().

const U32 LLStatusBar::MAX_DATE_STRING_LENGTH = 2000 [static, private]

Definition at line 146 of file llstatusbar.h.

Referenced by setupDate().


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

Generated on Fri May 16 09:07:43 2008 for SecondLife by  doxygen 1.5.5