#include <lliconctrl.h>
Inheritance diagram for LLIconCtrl:


| 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 EWidgetType | getWidgetType () const | 
| virtual LLString | getWidgetTag () const | 
| virtual void | draw () | 
| void | setImage (const LLUUID &image_id) | 
| const LLUUID & | getImage () 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 LLView * | fromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) | 
| Protected Attributes | |
| LLColor4 | mColor | 
| LLString | mImageName | 
| LLUUID | mImageID | 
| LLPointer< LLImageGL > | mImagep | 
Definition at line 47 of file lliconctrl.h.
Definition at line 45 of file lliconctrl.cpp.
References FALSE, setImage(), and LLUICtrl::setTabStop().
Referenced by fromXML().
Definition at line 58 of file lliconctrl.cpp.
References FALSE, LLUI::sAssetsGroup, LLUUID::set(), setImage(), and LLUICtrl::setTabStop().
| LLIconCtrl::~LLIconCtrl | ( | ) |  [virtual] | 
| void LLIconCtrl::draw | ( | ) |  [virtual] | 
Reimplemented from LLView.
Definition at line 87 of file lliconctrl.cpp.
References LLView::draw(), LLRectBase< Type >::getHeight(), LLView::getVisible(), LLRectBase< Type >::getWidth(), gl_draw_scaled_image(), LLUUID::isNull(), mColor, mImageID, mImagep, LLView::mRect, and LLPointer< Type >::notNull().
| LLView * LLIconCtrl::fromXML | ( | LLXMLNodePtr | node, | |
| LLView * | parent, | |||
| LLUICtrlFactory * | factory | |||
| ) |  [static] | 
Definition at line 137 of file lliconctrl.cpp.
References LLView::createRect(), LLUICtrlFactory::getAttributeColor(), LLUICtrl::initFromXML(), LLIconCtrl(), LLUI::sAssetsGroup, LLUUID::set(), setColor(), and LLColor4::white.
| const LLUUID& LLIconCtrl::getImage | ( | ) | const  [inline] | 
Definition at line 61 of file lliconctrl.h.
References mImageID.
Referenced by getValue(), and LLPanelGroupSubTab::postBuild().
| LLSD LLIconCtrl::getValue | ( | ) | const  [virtual] | 
| virtual LLString LLIconCtrl::getWidgetTag | ( | ) | const  [inline, virtual] | 
| virtual EWidgetType LLIconCtrl::getWidgetType | ( | ) | const  [inline, virtual] | 
| LLXMLNodePtr LLIconCtrl::getXML | ( | bool | save_children = true | ) | const  [virtual] | 
Reimplemented from LLUICtrl.
Definition at line 123 of file lliconctrl.cpp.
References LLUICtrl::getXML(), mColor, mImageName, LLColor4::mV, and TRUE.
Reimplemented from LLUICtrl.
Definition at line 67 of file lliconctrl.h.
References mColor.
Referenced by fromXML().
Definition at line 80 of file lliconctrl.cpp.
References LLImageProviderInterface::getUIImageByID(), mImageID, mImagep, and LLUI::sImageProvider.
Referenced by LLIconCtrl(), LLViewChildren::setBadge(), LLPanelGroupNotices::setItem(), setValue(), and LLPanelGroupNotices::showNotice().
Reimplemented from LLView.
Definition at line 110 of file lliconctrl.cpp.
References LLSD::asUUID(), and setImage().
| LLColor4 LLIconCtrl::mColor  [protected] | 
| LLUUID LLIconCtrl::mImageID  [protected] | 
| LLString LLIconCtrl::mImageName  [protected] | 
| LLPointer<LLImageGL> LLIconCtrl::mImagep  [protected] | 
 1.4.7
 1.4.7