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< LLViewerImage > | mImagep |
S32 | mHilite |
Private Attributes | |
LLTextureView * | mTextureView |
Classes | |
struct | sort |
struct | sort_fetch |
Definition at line 77 of file lltextureview.cpp.
LLTextureBar::LLTextureBar | ( | const std::string & | name, | |
const LLRect & | r, | |||
LLTextureView * | texview | |||
) | [inline] |
Definition at line 84 of file lltextureview.cpp.
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] |
virtual EWidgetType LLTextureBar::getWidgetType | ( | ) | const [inline, virtual] |
Implements LLView.
Definition at line 91 of file lltextureview.cpp.
References WIDGET_TYPE_TEXTURE_BAR.
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.
Definition at line 80 of file lltextureview.cpp.
Referenced by draw(), handleMouseDown(), LLTextureBar::sort_fetch::operator()(), and LLTextureBar::sort::operator()().
LLTextureView* LLTextureBar::mTextureView [private] |