LLIconCtrl Class Reference

#include <lliconctrl.h>

Inheritance diagram for LLIconCtrl:

Inheritance graph
[legend]
Collaboration diagram for LLIconCtrl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLIconCtrl (const LLString &name, const LLRect &rect, const LLUUID &image_id)
 LLIconCtrl (const LLString &name, const LLRect &rect, const LLString &image_name)
virtual ~LLIconCtrl ()
virtual void draw ()
void setImage (const LLString &image_name)
void setImage (const LLUUID &image_name)
const LLUUIDgetImage () const
LLString getImageName () const
virtual void setValue (const LLSD &value)
virtual LLSD getValue () const
void setColor (const LLColor4 &color)
virtual LLXMLNodePtr getXML (bool save_children=true) const

Static Public Member Functions

static LLViewfromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)

Private Attributes

LLColor4 mColor
LLString mImageName
LLUUID mImageID
LLPointer< LLUIImagemImagep


Detailed Description

Definition at line 47 of file lliconctrl.h.


Constructor & Destructor Documentation

LLIconCtrl::LLIconCtrl ( const LLString name,
const LLRect rect,
const LLUUID image_id 
)

Definition at line 47 of file lliconctrl.cpp.

References FALSE, setImage(), and LLUICtrl::setTabStop().

Referenced by fromXML().

Here is the call graph for this function:

Here is the caller graph for this function:

LLIconCtrl::LLIconCtrl ( const LLString name,
const LLRect rect,
const LLString image_name 
)

Definition at line 59 of file lliconctrl.cpp.

References FALSE, setImage(), and LLUICtrl::setTabStop().

Here is the call graph for this function:

LLIconCtrl::~LLIconCtrl (  )  [virtual]

Definition at line 73 of file lliconctrl.cpp.

References mImagep, and NULL.


Member Function Documentation

void LLIconCtrl::draw ( void   )  [virtual]

Reimplemented from LLView.

Definition at line 104 of file lliconctrl.cpp.

References LLView::draw(), LLView::getLocalRect(), mColor, mImagep, and LLPointer< Type >::notNull().

Here is the call graph for this function:

void LLIconCtrl::setImage ( const LLString image_name  ) 

void LLIconCtrl::setImage ( const LLUUID image_name  ) 

Definition at line 96 of file lliconctrl.cpp.

References LLImageProviderInterface::getUIImageByID(), mImageID, mImageName, mImagep, and LLUI::sImageProvider.

Here is the call graph for this function:

const LLUUID& LLIconCtrl::getImage (  )  const [inline]

Definition at line 60 of file lliconctrl.h.

References mImageID.

Referenced by getValue().

Here is the caller graph for this function:

LLString LLIconCtrl::getImageName (  )  const [inline]

Definition at line 61 of file lliconctrl.h.

References mImageName.

Referenced by LLPanelGroupSubTab::postBuild().

Here is the caller graph for this function:

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

Reimplemented from LLView.

Definition at line 115 of file lliconctrl.cpp.

References LLSD::asString(), LLSD::asUUID(), LLSD::isUUID(), and setImage().

Here is the call graph for this function:

LLSD LLIconCtrl::getValue (  )  const [virtual]

Reimplemented from LLUICtrl.

Definition at line 128 of file lliconctrl.cpp.

References getImage().

Here is the call graph for this function:

void LLIconCtrl::setColor ( const LLColor4 color  )  [inline, virtual]

Reimplemented from LLUICtrl.

Definition at line 67 of file lliconctrl.h.

References mColor.

Referenced by fromXML().

Here is the caller graph for this function:

LLXMLNodePtr LLIconCtrl::getXML ( bool  save_children = true  )  const [virtual]

Reimplemented from LLUICtrl.

Definition at line 135 of file lliconctrl.cpp.

References LLUICtrl::getXML(), mColor, mImageName, LLColor4::mV, and TRUE.

Here is the call graph for this function:

LLView * LLIconCtrl::fromXML ( LLXMLNodePtr  node,
LLView parent,
LLUICtrlFactory factory 
) [static]

Reimplemented from LLUICtrl.

Definition at line 149 of file lliconctrl.cpp.

References LLView::createRect(), LLUICtrlFactory::getAttributeColor(), LLUICtrl::initFromXML(), LLIconCtrl(), setColor(), and LLColor4::white.

Here is the call graph for this function:


Member Data Documentation

Definition at line 73 of file lliconctrl.h.

Referenced by draw(), getXML(), and setColor().

Definition at line 74 of file lliconctrl.h.

Referenced by getImageName(), getXML(), and setImage().

Definition at line 75 of file lliconctrl.h.

Referenced by getImage(), and setImage().

Definition at line 76 of file lliconctrl.h.

Referenced by draw(), setImage(), and ~LLIconCtrl().


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

Generated on Fri May 16 08:49:27 2008 for SecondLife by  doxygen 1.5.5