Searched refs:pPreItem (Results 1 – 1 of 1) sorted by relevance
754 for (auto& pPreItem : keepLayoutItems) { in SplitLayoutItem() local755 pLayoutItem->RemoveChild(pPreItem); in SplitLayoutItem()756 pPreItem->m_sPos.y -= fSplitPos; in SplitLayoutItem()757 if (pPreItem->m_sPos.y < 0) in SplitLayoutItem()758 pPreItem->m_sPos.y = 0; in SplitLayoutItem()759 if (pPreItem->m_sPos.y + pPreItem->m_sSize.height > lHeightForKeep) { in SplitLayoutItem()760 pPreItem->m_sPos.y = lHeightForKeep; in SplitLayoutItem()761 lHeightForKeep += pPreItem->m_sSize.height; in SplitLayoutItem()762 pSecondLayoutItem->m_sSize.height += pPreItem->m_sSize.height; in SplitLayoutItem()764 pSecondParent->m_sSize.height += pPreItem->m_sSize.height; in SplitLayoutItem()[all …]