//----------------------------------------------------------------------------------------------- void CDataBrowser::setViewSize (const CRect& size, bool invalid) { if (getViewSize () != size) { CScrollView::setViewSize (size, invalid); recalculateLayout (true); } }
void StackedLayout::activateStackedLayout () { #if 1 // triggerAsyncUpdate (); #else m_active = true; recalculateLayout (); #endif }
//----------------------------------------------------------------------------------------------- bool CDataBrowser::attached (CView *parent) { bool result = CScrollView::attached (parent); if (result) { recalculateLayout (true); db->dbAttached (this); } return result; }
void ResizableLayout::componentMovedOrResized(Component& component, bool /*wasMoved*/, bool wasResized) { if (&component == m_owner) { if (wasResized) { recalculateLayout(); } } else { updateLayoutFor(&component); } }
void StackedLayout::handleAsyncUpdate () { m_active = true; recalculateLayout (); }
void StackedLayout::resized () { recalculateLayout (); }