LLTextureView Class Reference

#include <lltextureview.h>

Inheritance diagram for LLTextureView:

Inheritance graph
[legend]
Collaboration diagram for LLTextureView:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTextureView (const std::string &name, const LLRect &rect)
 ~LLTextureView ()
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
void draw ()
BOOL handleMouseDown (S32 x, S32 y, MASK mask)
BOOL handleMouseUp (S32 x, S32 y, MASK mask)
BOOL handleKey (KEY key, MASK mask, BOOL called_from_parent)

Static Public Member Functions

static void addDebugImage (LLViewerImage *image)
static void removeDebugImage (LLViewerImage *image)
static void clearDebugImages ()

Static Public Attributes

static std::set< LLViewerImage * > sDebugImages

Private Member Functions

BOOL addBar (LLViewerImage *image, BOOL hilight=FALSE)
void removeAllBars ()

Private Attributes

BOOL mFreezeView
BOOL mOrderFetch
BOOL mPrintList
LLTextBoxmInfoTextp
std::vector< LLTextureBar * > mTextureBars
U32 mNumTextureBars
LLGLTexMemBarmGLTexMemBar

Friends

class LLTextureBar
class LLGLTexMemBar

Detailed Description

Definition at line 42 of file lltextureview.h.


Constructor & Destructor Documentation

LLTextureView::LLTextureView ( const std::string &  name,
const LLRect rect 
)

Definition at line 530 of file lltextureview.cpp.

References FALSE, mGLTexMemBar, LLContainerView::setDisplayChildren(), LLView::setVisible(), and TRUE.

LLTextureView::~LLTextureView (  ) 

Definition at line 543 of file lltextureview.cpp.

References mGLTexMemBar.


Member Function Documentation

BOOL LLTextureView::addBar ( LLViewerImage image,
BOOL  hilight = FALSE 
) [private]

Referenced by draw().

static void LLTextureView::addDebugImage ( LLViewerImage image  )  [inline, static]

Definition at line 58 of file lltextureview.h.

References sDebugImages.

static void LLTextureView::clearDebugImages (  )  [inline, static]

Definition at line 60 of file lltextureview.h.

References sDebugImages.

Referenced by LLWorldMapView::draw().

void LLTextureView::draw (  )  [virtual]

Reimplemented from LLContainerView.

Definition at line 570 of file lltextureview.cpp.

References addBar(), LLView::addChild(), count, LLContainerView::draw(), f, FALSE, func, LLView::getChildList(), LLRectBase< Type >::getHeight(), LLHoverView::getLastHoverObject(), LLPrimitive::getNumTEs(), LLSelectMgr::getSelection(), LLViewerObject::getTEImage(), LLRectBase< Type >::getWidth(), gHoverView, gImageList, gSelectMgr, HIGH_PRIORITY, i, llendl, LLGLTexMemBar, llinfos, mFreezeView, mGLTexMemBar, LLViewerImageList::mImageList, mOrderFetch, mPrintList, LLView::mRect, mTextureBars, LLContainerView::reshape(), S32, sDebugImages, LLView::sortChildren(), and TRUE.

LLString LLTextureView::getWidgetTag (  )  const [virtual]

Reimplemented from LLContainerView.

Definition at line 555 of file lltextureview.cpp.

References LL_TEXTURE_VIEW_TAG.

EWidgetType LLTextureView::getWidgetType (  )  const [virtual]

Reimplemented from LLContainerView.

Definition at line 550 of file lltextureview.cpp.

References WIDGET_TYPE_TEXTURE_VIEW.

BOOL LLTextureView::handleKey ( KEY  key,
MASK  mask,
BOOL  called_from_parent 
) [virtual]

Reimplemented from LLView.

Definition at line 805 of file lltextureview.cpp.

References FALSE.

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

Reimplemented from LLContainerView.

Definition at line 775 of file lltextureview.cpp.

References gTextureFetch, LLView::handleMouseDown(), MASK_ALT, MASK_CONTROL, MASK_SHIFT, LLTextureFetch::mDebugPause, mFreezeView, mOrderFetch, mPrintList, and TRUE.

BOOL LLTextureView::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLContainerView.

Definition at line 800 of file lltextureview.cpp.

References FALSE.

void LLTextureView::removeAllBars (  )  [private]

static void LLTextureView::removeDebugImage ( LLViewerImage image  )  [inline, static]

Definition at line 59 of file lltextureview.h.

References sDebugImages.


Friends And Related Function Documentation

friend class LLGLTexMemBar [friend]

Definition at line 45 of file lltextureview.h.

Referenced by draw().

friend class LLTextureBar [friend]

Definition at line 44 of file lltextureview.h.


Member Data Documentation

BOOL LLTextureView::mFreezeView [private]

Definition at line 67 of file lltextureview.h.

Referenced by draw(), LLGLTexMemBar::draw(), and handleMouseDown().

LLGLTexMemBar* LLTextureView::mGLTexMemBar [private]

Definition at line 76 of file lltextureview.h.

Referenced by draw(), LLTextureView(), and ~LLTextureView().

LLTextBox* LLTextureView::mInfoTextp [private]

Definition at line 71 of file lltextureview.h.

U32 LLTextureView::mNumTextureBars [private]

Definition at line 74 of file lltextureview.h.

BOOL LLTextureView::mOrderFetch [private]

Definition at line 68 of file lltextureview.h.

Referenced by draw(), LLGLTexMemBar::draw(), LLTextureBar::draw(), and handleMouseDown().

BOOL LLTextureView::mPrintList [private]

Definition at line 69 of file lltextureview.h.

Referenced by draw(), and handleMouseDown().

std::vector<LLTextureBar*> LLTextureView::mTextureBars [private]

Definition at line 73 of file lltextureview.h.

Referenced by draw().

std::set< LLViewerImage * > LLTextureView::sDebugImages [static]

Definition at line 79 of file lltextureview.h.

Referenced by addDebugImage(), clearDebugImages(), draw(), and removeDebugImage().


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