#include <lltextureview.h>
Inheritance diagram for LLTextureView:
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 |
LLTextBox * | mInfoTextp |
std::vector< LLTextureBar * > | mTextureBars |
U32 | mNumTextureBars |
LLGLTexMemBar * | mGLTexMemBar |
Friends | |
class | LLTextureBar |
class | LLGLTexMemBar |
Definition at line 42 of file lltextureview.h.
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 | ( | ) |
BOOL LLTextureView::addBar | ( | LLViewerImage * | image, | |
BOOL | hilight = FALSE | |||
) | [private] |
Referenced by draw().
static void LLTextureView::addDebugImage | ( | LLViewerImage * | image | ) | [inline, static] |
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.
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.
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] |
friend class LLGLTexMemBar [friend] |
friend class LLTextureBar [friend] |
Definition at line 44 of file lltextureview.h.
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] |
std::vector<LLTextureBar*> LLTextureView::mTextureBars [private] |
std::set< LLViewerImage * > LLTextureView::sDebugImages [static] |
Definition at line 79 of file lltextureview.h.
Referenced by addDebugImage(), clearDebugImages(), draw(), and removeDebugImage().