LLTextureBar Class Reference

Inheritance diagram for LLTextureBar:

Inheritance graph
Collaboration diagram for LLTextureBar:

Collaboration graph
List of all members.

Public Member Functions

 LLTextureBar (const std::string &name, const LLRect &r, LLTextureView *texview)
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
virtual void draw ()
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
virtual LLRect getRequiredRect ()

Public Attributes

LLPointer< LLViewerImagemImagep
S32 mHilite

Private Attributes



struct  sort
struct  sort_fetch

Detailed Description

Definition at line 77 of file lltextureview.cpp.

Constructor & Destructor Documentation

LLTextureBar::LLTextureBar ( const std::string &  name,
const LLRect r,
LLTextureView texview 
) [inline]

Definition at line 84 of file lltextureview.cpp.

Member Function Documentation

void LLTextureBar::draw (  )  [virtual]

Reimplemented from LLView.

Definition at line 140 of file lltextureview.cpp.

References LLColor4::blue, bottom, LLColor4::cyan, LLColor4::cyan2, f, LLRectBase< Type >::getHeight(), gl_rect_2d(), glColor4f, glColor4fv, LLColor4::green, LLColor4::green2, LLColor4::green4, LLColor4::grey, gTextureFetch, LAST_STATE, LLFontGL::LEFT, left, llclamp(), llfloor(), llformat(), LLColor4::magenta, LLColor4::magenta1, LLTextureFetch::mDebugID, mHilite, mImagep, LLTextureView::mOrderFetch, LLView::mRect, mTextureView, LLColor4::mV, LLColor4::orange, LLColor4::pink2, LLColor4::purple, LLColor4::red, LLFontGL::renderUTF8(), right, S32, LLColor4::setAlpha(), LLFontGL::sMonospace, title_x1, title_x2, title_x3, title_x4, LLFontGL::TOP, top, VALPHA, LLColor4::white, and LLColor4::yellow.

LLRect LLTextureBar::getRequiredRect (  )  [virtual]

Reimplemented from LLView.

Definition at line 356 of file lltextureview.cpp.

References LLRectBase< Type >::mTop, and texture_bar_height.

virtual LLString LLTextureBar::getWidgetTag (  )  const [inline, virtual]

Implements LLView.

Definition at line 92 of file lltextureview.cpp.


virtual EWidgetType LLTextureBar::getWidgetType (  )  const [inline, virtual]

Implements LLView.

Definition at line 91 of file lltextureview.cpp.


BOOL LLTextureBar::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 346 of file lltextureview.cpp.

References gTextureFetch, LLView::handleMouseDown(), MASK_ALT, MASK_CONTROL, MASK_SHIFT, LLTextureFetch::mDebugID, mImagep, and TRUE.

Member Data Documentation

S32 LLTextureBar::mHilite

Definition at line 81 of file lltextureview.cpp.

Referenced by draw().

LLPointer<LLViewerImage> LLTextureBar::mImagep

Definition at line 80 of file lltextureview.cpp.

Referenced by draw(), handleMouseDown(), LLTextureBar::sort_fetch::operator()(), and LLTextureBar::sort::operator()().

LLTextureView* LLTextureBar::mTextureView [private]

Definition at line 137 of file lltextureview.cpp.

Referenced by draw().

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