LLScrollListIcon Class Reference

#include <llscrolllistctrl.h>

Inheritance diagram for LLScrollListIcon:

Inheritance graph
[legend]
Collaboration diagram for LLScrollListIcon:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScrollListIcon (LLImageGL *icon, S32 width=0, LLUUID image_id=LLUUID::null)
 ~LLScrollListIcon ()
virtual void drawToWidth (S32 width, const LLColor4 &color, const LLColor4 &highlight_color) const
virtual S32 getWidth () const
virtual S32 getHeight () const
virtual const LLStringgetText () const
virtual const LLStringgetTextLower () const
virtual void setWidth (S32 width)
virtual void setColor (const LLColor4 &)
virtual BOOL isText ()

Private Attributes

LLPointer< LLImageGLmIcon
LLString mImageUUID
S32 mWidth
LLColor4 mColor

Detailed Description

Definition at line 124 of file llscrolllistctrl.h.


Constructor & Destructor Documentation

LLScrollListIcon::LLScrollListIcon ( LLImageGL icon,
S32  width = 0,
LLUUID  image_id = LLUUID::null 
)

Definition at line 104 of file llscrolllistctrl.cpp.

References LLImageGL::getWidth(), and mWidth.

LLScrollListIcon::~LLScrollListIcon (  ) 

Definition at line 119 of file llscrolllistctrl.cpp.


Member Function Documentation

void LLScrollListIcon::drawToWidth ( S32  width,
const LLColor4 color,
const LLColor4 highlight_color 
) const [virtual]

Implements LLScrollListCell.

Definition at line 128 of file llscrolllistctrl.cpp.

References gl_draw_image(), mColor, and mIcon.

virtual S32 LLScrollListIcon::getHeight (  )  const [inline, virtual]

Implements LLScrollListCell.

Definition at line 131 of file llscrolllistctrl.h.

References mIcon.

virtual const LLString& LLScrollListIcon::getText (  )  const [inline, virtual]

Reimplemented from LLScrollListCell.

Definition at line 132 of file llscrolllistctrl.h.

References mImageUUID.

virtual const LLString& LLScrollListIcon::getTextLower (  )  const [inline, virtual]

Reimplemented from LLScrollListCell.

Definition at line 133 of file llscrolllistctrl.h.

References mImageUUID.

virtual S32 LLScrollListIcon::getWidth (  )  const [inline, virtual]

Implements LLScrollListCell.

Definition at line 130 of file llscrolllistctrl.h.

References mWidth.

virtual BOOL LLScrollListIcon::isText (  )  [inline, virtual]

Implements LLScrollListCell.

Definition at line 136 of file llscrolllistctrl.h.

References FALSE.

void LLScrollListIcon::setColor ( const LLColor4  )  [virtual]

Implements LLScrollListCell.

Definition at line 123 of file llscrolllistctrl.cpp.

References mColor.

Referenced by LLScrollListCtrl::addElement().

virtual void LLScrollListIcon::setWidth ( S32  width  )  [inline, virtual]

Implements LLScrollListCell.

Definition at line 134 of file llscrolllistctrl.h.

References mWidth.


Member Data Documentation

LLColor4 LLScrollListIcon::mColor [private]

Definition at line 142 of file llscrolllistctrl.h.

Referenced by drawToWidth(), and setColor().

LLPointer<LLImageGL> LLScrollListIcon::mIcon [private]

Definition at line 139 of file llscrolllistctrl.h.

Referenced by drawToWidth(), and getHeight().

LLString LLScrollListIcon::mImageUUID [private]

Definition at line 140 of file llscrolllistctrl.h.

Referenced by getText(), and getTextLower().

S32 LLScrollListIcon::mWidth [private]

Definition at line 141 of file llscrolllistctrl.h.

Referenced by getWidth(), LLScrollListIcon(), and setWidth().


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