LLCompass Class Reference

#include <llcompass.h>

Inheritance diagram for LLCompass:

Inheritance graph
[legend]
Collaboration diagram for LLCompass:

Collaboration graph
[legend]
List of all members.

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< LLViewerImagemTexture
LLPointer< LLViewerImagemBkgndTexture

Friends

std::ostream & operator<< (std::ostream &s, LLCompass &compass)

Detailed Description

Definition at line 46 of file llcompass.h.


Constructor & Destructor Documentation

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().


Member Function Documentation

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.

void LLCompass::setBkgndTexture ( LLUUID  image_id  ) 

Definition at line 83 of file llcompass.cpp.

References FALSE, LLViewerImageList::getImage(), gImageList, mBkgndTexture, and TRUE.

void LLCompass::setTexture ( LLUUID  image_id  ) 

Definition at line 78 of file llcompass.cpp.

References FALSE, LLViewerImageList::getImage(), gImageList, mTexture, and TRUE.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
LLCompass compass 
) [friend]

Definition at line 58 of file llcompass.h.


Member Data Documentation

LLPointer<LLViewerImage> LLCompass::mBkgndTexture [protected]

Definition at line 50 of file llcompass.h.

Referenced by draw(), LLCompass(), and setBkgndTexture().

LLPointer<LLViewerImage> LLCompass::mTexture [protected]

Definition at line 49 of file llcompass.h.

Referenced by draw(), LLCompass(), and setTexture().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:13 2010 for Second Life Viewer by  doxygen 1.4.7