#include <llcompass.h>
Inheritance diagram for LLHorizontalCompass:
Public Member Functions | |
LLHorizontalCompass (const std::string &name, const LLRect &rect, const LLColor4 &focus_color, const LLUUID &image_id) | |
virtual | ~LLHorizontalCompass (void) |
void | setTexture (const LLUUID &image_id) |
virtual void | draw () |
Protected Attributes | |
LLColor4 | mFocusColor |
LLPointer< LLViewerImage > | mTexture |
Definition at line 79 of file llcompass.h.
LLHorizontalCompass::LLHorizontalCompass | ( | const std::string & | name, | |
const LLRect & | rect, | |||
const LLColor4 & | focus_color, | |||
const LLUUID & | image_id | |||
) |
---------------------------------------------------------------------------- LLHorizontalCompass ----------------------------------------------------------------------------
Definition at line 96 of file llcompass.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, setTexture(), and LLView::setVisible().
virtual LLHorizontalCompass::~LLHorizontalCompass | ( | void | ) | [inline, virtual] |
Definition at line 89 of file llcompass.h.
void LLHorizontalCompass::draw | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 425 of file llglsandbox.cpp.
References COMPASS_RANGE, f, F_PI, F_TWO_PI, gCamera, LLCoordFrame::getAtAxis(), LLRectBase< Type >::getHeight(), LLView::getVisible(), LLRectBase< Type >::getWidth(), gl_line_2d(), glBegin, glColor4f, glColor4fv, glEnd, height, left, llclamp(), mFocusColor, LLView::mRect, mTexture, LLColor4::mV, LLVector3::mV, right, S32, VX, VY, and width.
Definition at line 109 of file llcompass.cpp.
References FALSE, LLViewerImageList::getImage(), gImageList, mTexture, and TRUE.
Referenced by LLHorizontalCompass().
LLColor4 LLHorizontalCompass::mFocusColor [protected] |
LLPointer<LLViewerImage> LLHorizontalCompass::mTexture [protected] |