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 (LLUIImagePtr icon, S32 width=0)
 LLScrollListIcon (const LLSD &value, S32 width=0)
 ~LLScrollListIcon ()
virtual void draw (const LLColor4 &color, const LLColor4 &highlight_color) const
virtual S32 getWidth () const
virtual S32 getHeight () const
virtual const LLSD getValue () const
virtual void setColor (const LLColor4 &)
virtual BOOL isText () const
virtual void setValue (const LLSD &value)

Private Attributes

LLUIImagePtr mIcon
LLColor4 mColor


Detailed Description

Definition at line 139 of file llscrolllistctrl.h.


Constructor & Destructor Documentation

LLScrollListIcon::LLScrollListIcon ( LLUIImagePtr  icon,
S32  width = 0 
)

Definition at line 107 of file llscrolllistctrl.cpp.

LLScrollListIcon::LLScrollListIcon ( const LLSD value,
S32  width = 0 
)

Definition at line 114 of file llscrolllistctrl.cpp.

References setValue().

Here is the call graph for this function:

LLScrollListIcon::~LLScrollListIcon (  ) 

Definition at line 122 of file llscrolllistctrl.cpp.


Member Function Documentation

void LLScrollListIcon::draw ( const LLColor4 color,
const LLColor4 highlight_color 
) const [virtual]

Implements LLScrollListCell.

Definition at line 169 of file llscrolllistctrl.cpp.

References mColor, and mIcon.

S32 LLScrollListIcon::getWidth (  )  const [virtual]

Reimplemented from LLScrollListCell.

Definition at line 158 of file llscrolllistctrl.cpp.

References LLScrollListCell::getWidth(), mIcon, and LLPointer< Type >::notNull().

Here is the call graph for this function:

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

Implements LLScrollListCell.

Definition at line 147 of file llscrolllistctrl.h.

References mIcon.

virtual const LLSD LLScrollListIcon::getValue (  )  const [inline, virtual]

Reimplemented from LLScrollListCell.

Definition at line 148 of file llscrolllistctrl.h.

References LLPointer< Type >::isNull(), mIcon, and LLStringBase< char >::null.

Here is the call graph for this function:

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

Reimplemented from LLScrollListCell.

Definition at line 153 of file llscrolllistctrl.cpp.

References mColor.

Referenced by LLScrollListCtrl::addElement().

Here is the caller graph for this function:

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

Implements LLScrollListCell.

Definition at line 150 of file llscrolllistctrl.h.

References FALSE.

void LLScrollListIcon::setValue ( const LLSD value  )  [virtual]

Reimplemented from LLScrollListCell.

Definition at line 126 of file llscrolllistctrl.cpp.

References LLSD::asString(), LLSD::asUUID(), LLUI::getUIImage(), LLImageProviderInterface::getUIImageByID(), LLSD::isUUID(), mIcon, LLUUID::notNull(), NULL, LLUI::sImageProvider, and LLUUID::validate().

Referenced by LLScrollListIcon().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 154 of file llscrolllistctrl.h.

Referenced by draw(), getHeight(), getValue(), getWidth(), and setValue().

Definition at line 155 of file llscrolllistctrl.h.

Referenced by draw(), and setColor().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:03:08 2008 for SecondLife by  doxygen 1.5.5