LLStatBar Class Reference

#include <llstatbar.h>

Inheritance diagram for LLStatBar:

Inheritance graph
[legend]
Collaboration diagram for LLStatBar:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLStatBar (const std::string &name, const LLRect &rect)
virtual void draw ()
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
const LLStringgetLabel () const
void setLabel (const LLString &label)
void setUnitLabel (const LLString &unit_label)
LLRect getRequiredRect ()

Public Attributes

F32 mMinBar
F32 mMaxBar
F32 mTickSpacing
F32 mLabelSpacing
U32 mPrecision
BOOL mPerSec
BOOL mDisplayBar
BOOL mDisplayHistory
BOOL mDisplayMean
F32 mUpdatesPerSec
LLStatmStatp

Private Attributes

LLFrameTimer mUpdateTimer
LLString mLabel
LLString mUnitLabel
F32 mValue


Detailed Description

Definition at line 40 of file llstatbar.h.


Constructor & Destructor Documentation

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


Member Function Documentation

void LLStatBar::draw ( void   )  [virtual]

BOOL LLStatBar::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 63 of file llstatbar.cpp.

References FALSE, LLRectBase< Type >::getHeight(), LLView::getParent(), LLView::getRect(), LLRectBase< Type >::getWidth(), mDisplayBar, mDisplayHistory, LLView::reshape(), and TRUE.

Here is the call graph for this function:

const LLString & LLStatBar::getLabel ( void   )  const

Definition at line 261 of file llstatbar.cpp.

References mLabel.

Referenced by LLStatView::getStatBar().

Here is the caller graph for this function:

void LLStatBar::setLabel ( const LLString label  ) 

Definition at line 266 of file llstatbar.cpp.

References mLabel.

Referenced by init_stat_view().

Here is the caller graph for this function:

void LLStatBar::setUnitLabel ( const LLString unit_label  ) 

Definition at line 271 of file llstatbar.cpp.

References mUnitLabel.

Referenced by init_stat_view().

Here is the caller graph for this function:

LLRect LLStatBar::getRequiredRect (  )  [virtual]

Reimplemented from LLView.

Definition at line 276 of file llstatbar.cpp.

References mDisplayBar, mDisplayHistory, and LLRectBase< Type >::mTop.


Member Data Documentation

Definition at line 55 of file llstatbar.h.

Referenced by draw(), init_stat_view(), LLStatBar(), and LLFloaterJoystick::postBuild().

Definition at line 56 of file llstatbar.h.

Referenced by draw(), init_stat_view(), LLStatBar(), and LLFloaterJoystick::postBuild().

Definition at line 57 of file llstatbar.h.

Referenced by draw(), init_stat_view(), and LLStatBar().

Definition at line 58 of file llstatbar.h.

Referenced by draw(), init_stat_view(), and LLStatBar().

Definition at line 59 of file llstatbar.h.

Referenced by draw(), getRequiredRect(), handleMouseDown(), init_stat_view(), and LLStatBar().

Definition at line 60 of file llstatbar.h.

Referenced by draw(), getRequiredRect(), handleMouseDown(), init_stat_view(), and LLStatBar().

Definition at line 61 of file llstatbar.h.

Referenced by draw(), init_stat_view(), and LLStatBar().

Definition at line 63 of file llstatbar.h.

Referenced by draw(), and LLStatBar().

Definition at line 64 of file llstatbar.h.

Referenced by LLStatView::addStat(), draw(), and LLStatBar().

Definition at line 66 of file llstatbar.h.

Referenced by draw().

Definition at line 67 of file llstatbar.h.

Referenced by draw(), getLabel(), LLStatBar(), and setLabel().

Definition at line 68 of file llstatbar.h.

Referenced by draw(), and setUnitLabel().

Definition at line 69 of file llstatbar.h.

Referenced by draw(), and LLStatBar().


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

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