#include <llvelocitybar.h>
Inheritance diagram for LLVelocityBar:
Public Member Functions | |
LLVelocityBar (const std::string &name, const LLRect &rect) | |
virtual EWidgetType | getWidgetType () const |
virtual LLString | getWidgetTag () const |
virtual void | draw () |
Definition at line 38 of file llvelocitybar.h.
LLVelocityBar::LLVelocityBar | ( | const std::string & | name, | |
const LLRect & | rect | |||
) | [inline] |
void LLVelocityBar::draw | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 54 of file llvelocitybar.cpp.
References bottom, f, gAgent, LLAgent::getVelocity(), LLView::getVisible(), LLRectBase< Type >::getWidth(), gl_rect_2d(), LLFontGL::LEFT, left, LLVector3::magVec(), LLView::mRect, LLFontGL::renderUTF8(), right, S32, LLFontGL::sMonospace, LLFontGL::TOP, and top.
LLString LLVelocityBar::getWidgetTag | ( | ) | const [virtual] |
EWidgetType LLVelocityBar::getWidgetType | ( | ) | const [virtual] |
Implements LLView.
Definition at line 42 of file llvelocitybar.cpp.
References WIDGET_TYPE_VELOCITY_BAR.