#include <llcompass.h>


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 94 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::setTexture | ( | const LLUUID & | image_id | ) |
Definition at line 107 of file llcompass.cpp.
References FALSE, LLViewerImageList::getImage(), gImageList, mTexture, and TRUE.
Referenced by LLHorizontalCompass().


| void LLHorizontalCompass::draw | ( | void | ) | [virtual] |
Reimplemented from LLView.
Definition at line 410 of file llglsandbox.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4f(), LLGLImmediate::color4fv(), COMPASS_RANGE, LLGLImmediate::end(), F_PI, F_TWO_PI, LLCoordFrame::getAtAxis(), LLRectBase< Type >::getHeight(), LLSingleton< LLViewerCamera >::getInstance(), LLView::getRect(), LLRectBase< Type >::getWidth(), gGL, gl_line_2d(), llclamp(), mFocusColor, mTexture, LLColor4::mV, LLVector3::mV, LLVertexBuffer::QUADS, S32, LLGLImmediate::texCoord2f(), LLGLImmediate::vertex2i(), VX, and VY.

LLColor4 LLHorizontalCompass::mFocusColor [protected] |
LLPointer<LLViewerImage> LLHorizontalCompass::mTexture [protected] |
1.5.5