#include <llstatbar.h>
Inheritance diagram for LLStatBar:
Public Member Functions | |
LLStatBar (const std::string &name, const LLRect &rect) | |
virtual EWidgetType | getWidgetType () const |
virtual LLString | getWidgetTag () const |
virtual void | draw () |
virtual BOOL | handleMouseDown (S32 x, S32 y, MASK mask) |
const LLString & | getLabel () 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 |
LLStat * | mStatp |
Private Attributes | |
LLFrameTimer | mUpdateTimer |
LLString | mLabel |
LLString | mUnitLabel |
F32 | mValue |
Definition at line 40 of file llstatbar.h.
LLStatBar::LLStatBar | ( | const std::string & | name, | |
const LLRect & | rect | |||
) |
Definition at line 45 of file llstatbar.cpp.
References FALSE, mDisplayBar, mDisplayHistory, mDisplayMean, mLabel, mLabelSpacing, mMaxBar, mMinBar, mPerSec, mPrecision, mStatp, mTickSpacing, mUpdatesPerSec, mValue, NULL, and TRUE.
void LLStatBar::draw | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 98 of file llstatbar.cpp.
References bottom, LLView::draw(), f, LLStat::getCurrent(), LLStat::getCurrentPerSec(), LLFrameTimer::getElapsedTimeF32(), LLRectBase< Type >::getHeight(), LLStat::getMax(), LLStat::getMaxPerSec(), LLStat::getMean(), LLStat::getMeanPerSec(), LLStat::getMin(), LLStat::getMinPerSec(), LLStat::getNextBin(), LLStat::getNumValues(), LLStat::getPrev(), LLStat::getPrevPerSec(), LLRectBase< Type >::getWidth(), gl_rect_2d(), i, LLFontGL::LEFT, left, llendl, llfloor(), llwarns, mDisplayBar, mDisplayHistory, mDisplayMean, mLabel, mLabelSpacing, mMaxBar, mMinBar, mPerSec, mPrecision, LLView::mRect, mStatp, mTickSpacing, mUnitLabel, mUpdatesPerSec, mUpdateTimer, mValue, LLFontGL::renderUTF8(), LLFrameTimer::reset(), LLFontGL::RIGHT, right, S32, LLFontGL::sMonospace, LLFontGL::TOP, top, and width.
const LLString & LLStatBar::getLabel | ( | ) | const |
LLRect LLStatBar::getRequiredRect | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 286 of file llstatbar.cpp.
References mDisplayBar, mDisplayHistory, and LLRectBase< Type >::mTop.
LLString LLStatBar::getWidgetTag | ( | ) | const [virtual] |
EWidgetType LLStatBar::getWidgetType | ( | ) | const [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.
Definition at line 281 of file llstatbar.cpp.
References mUnitLabel.
Referenced by init_stat_view().
Definition at line 62 of file llstatbar.h.
Referenced by draw(), getRequiredRect(), handleMouseDown(), init_stat_view(), and LLStatBar().
Definition at line 63 of file llstatbar.h.
Referenced by draw(), getRequiredRect(), handleMouseDown(), init_stat_view(), and LLStatBar().
LLString LLStatBar::mLabel [private] |
Definition at line 70 of file llstatbar.h.
Referenced by draw(), getLabel(), LLStatBar(), and setLabel().
Definition at line 59 of file llstatbar.h.
Referenced by draw(), init_stat_view(), LLStatBar(), and LLFloaterJoystick::show().
Definition at line 57 of file llstatbar.h.
Referenced by draw(), LLFloaterJoystick::draw(), init_stat_view(), LLStatBar(), and LLFloaterJoystick::show().
Definition at line 56 of file llstatbar.h.
Referenced by draw(), LLFloaterJoystick::draw(), init_stat_view(), LLStatBar(), and LLFloaterJoystick::show().
Definition at line 67 of file llstatbar.h.
Referenced by LLStatView::addStat(), draw(), and LLStatBar().
Definition at line 58 of file llstatbar.h.
Referenced by draw(), init_stat_view(), LLStatBar(), and LLFloaterJoystick::show().
LLString LLStatBar::mUnitLabel [private] |
LLFrameTimer LLStatBar::mUpdateTimer [private] |
F32 LLStatBar::mValue [private] |