#include <llscrollingpanellist.h>
Public Member Functions | |
LLScrollingPanelList (const LLString &name, const LLRect &rect) | |
virtual void | setValue (const LLSD &value) |
virtual LLXMLNodePtr | getXML (bool save_children) const |
virtual void | draw () |
void | clearPanels () |
void | addPanel (LLScrollingPanel *panel) |
void | updatePanels (BOOL allow_modify) |
Static Public Member Functions | |
static LLView * | fromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) |
Private Member Functions | |
void | updatePanelVisiblilty () |
Private Attributes | |
std::deque< LLScrollingPanel * > | mPanelList |
Definition at line 52 of file llscrollingpanellist.h.
Definition at line 55 of file llscrollingpanellist.h.
Referenced by fromXML().
virtual void LLScrollingPanelList::setValue | ( | const LLSD & | value | ) | [inline, virtual] |
virtual LLXMLNodePtr LLScrollingPanelList::getXML | ( | bool | save_children | ) | const [inline, virtual] |
Reimplemented from LLUICtrl.
Definition at line 60 of file llscrollingpanellist.h.
References LLUICtrl::getXML().
void LLScrollingPanelList::draw | ( | void | ) | [virtual] |
Reimplemented from LLView.
Definition at line 133 of file llscrollingpanellist.cpp.
References LLView::draw(), and updatePanelVisiblilty().
void LLScrollingPanelList::clearPanels | ( | ) |
Definition at line 45 of file llscrollingpanellist.cpp.
References LLView::deleteAllChildren(), FALSE, mPanelList, and LLView::reshape().
Referenced by LLFloaterCustomize::clearScrollingPanelList(), and LLFloaterCustomize::generateVisualParamHints().
void LLScrollingPanelList::addPanel | ( | LLScrollingPanel * | panel | ) |
Definition at line 52 of file llscrollingpanellist.cpp.
References LLView::addChildAtEnd(), FALSE, LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), llmax(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, mPanelList, LLView::reshape(), S32, and LLView::translate().
Referenced by LLFloaterCustomize::generateVisualParamHints().
void LLScrollingPanelList::updatePanels | ( | BOOL | allow_modify | ) |
Definition at line 85 of file llscrollingpanellist.cpp.
References mPanelList, and LLScrollingPanel::updatePanel().
Referenced by LLFloaterCustomize::updateScrollingPanelList().
LLView * LLScrollingPanelList::fromXML | ( | LLXMLNodePtr | node, | |
LLView * | parent, | |||
LLUICtrlFactory * | factory | |||
) | [static] |
Reimplemented from LLUICtrl.
Definition at line 142 of file llscrollingpanellist.cpp.
References LLView::createRect(), LLUICtrl::initFromXML(), and LLScrollingPanelList().
void LLScrollingPanelList::updatePanelVisiblilty | ( | ) | [private] |
Definition at line 95 of file llscrollingpanellist.cpp.
References BORDER_WIDTH, LLRectBase< Type >::getHeight(), LLView::getParent(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLView::localPointToScreen(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, mPanelList, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, S32, LLView::setVisible(), and LLRectBase< Type >::stretch().
Referenced by draw().
std::deque<LLScrollingPanel*> LLScrollingPanelList::mPanelList [private] |
Definition at line 73 of file llscrollingpanellist.h.
Referenced by addPanel(), clearPanels(), updatePanels(), and updatePanelVisiblilty().