LLHorizontalCompass Class Reference

#include <llcompass.h>

Inheritance diagram for LLHorizontalCompass:

Inheritance graph
[legend]
Collaboration diagram for LLHorizontalCompass:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 79 of file llcompass.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

void LLHorizontalCompass::setTexture ( const LLUUID image_id  ) 

Definition at line 109 of file llcompass.cpp.

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

Referenced by LLHorizontalCompass().


Member Data Documentation

LLColor4 LLHorizontalCompass::mFocusColor [protected]

Definition at line 82 of file llcompass.h.

Referenced by draw().

LLPointer<LLViewerImage> LLHorizontalCompass::mTexture [protected]

Definition at line 83 of file llcompass.h.

Referenced by draw(), and setTexture().


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