#include <llpanel.h>
Inheritance diagram for LLLayoutStack:
Definition at line 266 of file llpanel.h.
typedef std::vector<LLEmbeddedPanel*> LLLayoutStack::e_panel_list_t [protected] |
LLLayoutStack::LLLayoutStack | ( | eLayoutOrientation | orientation | ) |
LLLayoutStack::~LLLayoutStack | ( | ) | [virtual] |
Definition at line 1203 of file llpanel.cpp.
void LLLayoutStack::addPanel | ( | LLPanel * | panel, | |
S32 | min_width, | |||
S32 | min_height, | |||
BOOL | auto_resize, | |||
S32 | index = S32_MAX | |||
) |
Definition at line 1320 of file llpanel.cpp.
References LLView::addChild(), FALSE, llclamp(), mOrientation, mPanels, LLLayoutStack::LLEmbeddedPanel::mResizeBar, S32, LLView::sendChildToFront(), LLView::setEnabled(), and TRUE.
Referenced by fromXML().
void LLLayoutStack::calcMinExtents | ( | ) | [protected] |
Definition at line 1606 of file llpanel.cpp.
References HORIZONTAL, llmax(), mMinHeight, mMinWidth, mOrientation, mPanels, and PANEL_STACK_GAP.
Referenced by removeCtrl(), and updateLayout().
void LLLayoutStack::draw | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 1207 of file llpanel.cpp.
References LLView::drawChild(), LLRectBase< Type >::getHeight(), LLView::getLocalRect(), LLRectBase< Type >::getWidth(), HORIZONTAL, llround(), mMinHeight, mMinWidth, mOrientation, mPanels, LLView::mRect, and updateLayout().
LLLayoutStack::LLEmbeddedPanel * LLLayoutStack::findEmbeddedPanel | ( | LLPanel * | panelp | ) | [protected] |
LLView * LLLayoutStack::fromXML | ( | LLXMLNodePtr | node, | |
LLView * | parent, | |||
LLUICtrlFactory * | factory | |||
) | [static] |
Definition at line 1261 of file llpanel.cpp.
References addPanel(), LLPanel::fromXML(), HORIZONTAL, LLView::initFromXML(), llendl, LLLayoutStack(), llwarns, LLPointer< Type >::notNull(), S32, LLView::setFollowsNone(), TRUE, and VERTICAL.
S32 LLLayoutStack::getCurStackSize | ( | ) | [protected] |
S32 LLLayoutStack::getMinHeight | ( | ) |
S32 LLLayoutStack::getMinStackSize | ( | ) | [protected] |
S32 LLLayoutStack::getMinWidth | ( | ) |
virtual LLString LLLayoutStack::getWidgetTag | ( | ) | const [inline, virtual] |
virtual EWidgetType LLLayoutStack::getWidgetType | ( | ) | const [inline, virtual] |
LLXMLNodePtr LLLayoutStack::getXML | ( | bool | save_children = true |
) | const [virtual] |
Reimplemented from LLView.
Definition at line 1254 of file llpanel.cpp.
References LLView::getXML().
Reimplemented from LLView.
Definition at line 1233 of file llpanel.cpp.
References calcMinExtents(), findEmbeddedPanel(), mPanels, and LLView::removeCtrl().
Reimplemented from LLView.
Definition at line 1248 of file llpanel.cpp.
References LLView::reshape().
Definition at line 1357 of file llpanel.cpp.
References calcMinExtents(), FALSE, LLRectBase< Type >::getHeight(), LLCriticalDamp::getInterpolant(), LLRectBase< Type >::getWidth(), HORIZONTAL, lerp(), llassert_always, llmax(), llround(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, mMinHeight, mMinWidth, mOrientation, mPanels, LLView::mRect, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, NULL, PANEL_STACK_GAP, RESIZE_BAR_OVERLAP, S32, LLView::setVisible(), TRUE, and VERTICAL.
Referenced by draw().
S32 LLLayoutStack::mMinHeight [protected] |
Definition at line 309 of file llpanel.h.
Referenced by calcMinExtents(), draw(), getMinHeight(), and updateLayout().
S32 LLLayoutStack::mMinWidth [protected] |
Definition at line 308 of file llpanel.h.
Referenced by calcMinExtents(), draw(), getMinWidth(), and updateLayout().
eLayoutOrientation LLLayoutStack::mOrientation [protected] |
Definition at line 303 of file llpanel.h.
Referenced by addPanel(), calcMinExtents(), draw(), and updateLayout().
e_panel_list_t LLLayoutStack::mPanels [protected] |
Definition at line 306 of file llpanel.h.
Referenced by addPanel(), calcMinExtents(), draw(), findEmbeddedPanel(), removeCtrl(), and updateLayout().