#include <llcompass.h>


Public Member Functions | |
| LLCompass (const std::string &name, const LLRect &rect) | |
| void | setTexture (LLUUID image_id) |
| void | setBkgndTexture (LLUUID image_id) |
| virtual void | draw () |
Protected Attributes | |
| LLPointer< LLViewerImage > | mTexture |
| LLPointer< LLViewerImage > | mBkgndTexture |
Friends | |
| std::ostream & | operator<< (std::ostream &s, LLCompass &compass) |
Definition at line 46 of file llcompass.h.
| LLCompass::LLCompass | ( | const std::string & | name, | |
| const LLRect & | rect | |||
| ) |
---------------------------------------------------------------------------- LLCompass ----------------------------------------------------------------------------
Definition at line 65 of file llcompass.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, mBkgndTexture, mTexture, NULL, and LLView::setVisible().

| void LLCompass::setTexture | ( | LLUUID | image_id | ) |
Definition at line 76 of file llcompass.cpp.
References FALSE, LLViewerImageList::getImage(), gImageList, mTexture, and TRUE.

| void LLCompass::setBkgndTexture | ( | LLUUID | image_id | ) |
Definition at line 81 of file llcompass.cpp.
References FALSE, LLViewerImageList::getImage(), gImageList, mBkgndTexture, and TRUE.

| void LLCompass::draw | ( | void | ) | [virtual] |
Reimplemented from LLView.
Definition at line 344 of file llglsandbox.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4f(), COMPASS_SIZE, LLGLImmediate::end(), gAgent, LLCoordFrame::getAtAxis(), LLAgent::getFrameAgent(), gGL, mBkgndTexture, mTexture, LLVector3::mV, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLVertexBuffer::QUADS, RAD_TO_DEG, S32, LLGLImmediate::texCoord2f(), LLGLImmediate::translatef(), LLGLImmediate::vertex2i(), VX, and VY.

| std::ostream& operator<< | ( | std::ostream & | s, | |
| LLCompass & | compass | |||
| ) | [friend] |
Definition at line 58 of file llcompass.h.
LLPointer<LLViewerImage> LLCompass::mTexture [protected] |
LLPointer<LLViewerImage> LLCompass::mBkgndTexture [protected] |
Definition at line 50 of file llcompass.h.
Referenced by draw(), LLCompass(), and setBkgndTexture().
1.5.5