#include <llcompass.h>
Inheritance diagram for LLCompass:
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 67 of file llcompass.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, mBkgndTexture, mTexture, NULL, and LLView::setVisible().
void LLCompass::draw | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 355 of file llglsandbox.cpp.
References COMPASS_SIZE, f, gAgent, LLCoordFrame::getAtAxis(), LLAgent::getFrameAgent(), LLView::getVisible(), glBegin, glColor4f, glEnd, glPopMatrix, glRotatef, glTranslatef, height, mBkgndTexture, mTexture, LLVector3::mV, RAD_TO_DEG, S32, VX, VY, and width.
Definition at line 83 of file llcompass.cpp.
References FALSE, LLViewerImageList::getImage(), gImageList, mBkgndTexture, and TRUE.
Definition at line 78 of file llcompass.cpp.
References FALSE, LLViewerImageList::getImage(), gImageList, mTexture, and TRUE.
std::ostream& operator<< | ( | std::ostream & | s, | |
LLCompass & | compass | |||
) | [friend] |
Definition at line 58 of file llcompass.h.
LLPointer<LLViewerImage> LLCompass::mBkgndTexture [protected] |
Definition at line 50 of file llcompass.h.
Referenced by draw(), LLCompass(), and setBkgndTexture().
LLPointer<LLViewerImage> LLCompass::mTexture [protected] |