Home | History | Annotate | Download | only in fwl

Lines Matching full:pchild

76   return pItem && pItem->pChild ? pItem->pChild->pWidget : nullptr;
84 pItem = pItem->pChild;
107 Item* pChild = pItem->pParent->pChild;
109 while (pChild) {
110 if (pChild == pItem) {
111 if (pChild->pPrevious)
112 pChild->pPrevious->pNext = pChild->pNext;
113 if (pChild->pNext)
114 pChild->pNext->pPrevious = pChild->pPrevious;
115 if (pItem->pParent->pChild == pItem)
116 pItem->pParent->pChild = pItem->pNext;
122 if (!pChild->pNext)
125 pChild = pChild->pNext;
129 pChild = pItem->pParent->pChild;
130 if (pChild) {
131 while (pChild->pNext)
132 pChild = pChild->pNext;
134 pChild->pNext = pItem;
135 pItem->pPrevious = pChild;
137 pItem->pParent->pChild = pItem;
173 void CFWL_WidgetMgr::InsertWidget(CFWL_Widget* pParent, CFWL_Widget* pChild) {
184 Item* pItem = GetWidgetMgrItem(pChild);
186 auto item = pdfium::MakeUnique<Item>(pChild);
188 m_mapWidgetItem[pChild] = std::move(item);
195 if (pItem->pParent->pChild == pItem)
196 pItem->pParent->pChild = pItem->pNext;
199 AppendWidget(pChild);
210 if (pItem->pParent && pItem->pParent->pChild == pItem)
211 pItem->pParent->pChild = pItem->pNext;
213 Item* pChild = pItem->pChild;
214 while (pChild) {
215 Item* pNext = pChild->pNext;
216 RemoveWidget(pChild->pWidget);
217 pChild = pNext;
241 void CFWL_WidgetMgr::SetParent(CFWL_Widget* pParent, CFWL_Widget* pChild) {
243 Item* pItem = GetWidgetMgrItem(pChild);
251 if (pItem->pParent->pChild == pItem)
252 pItem->pParent->pChild = pItem->pNext;
258 AppendWidget(pChild);
303 CFWL_Widget* pChild = pFirst;
304 while (pChild) {
305 pChild = GetNextSiblingWidget(pChild);
519 CFWL_Widget* pChild =
521 if (!pChild)
547 CFX_RectF rect = pChild->GetWidgetRect();
561 else if (!(pChild->GetStates() & FWL_WGTSTATE_Invisible))
574 pChild =
575 pChild->GetOwnerApp()->GetWidgetMgr()->GetNextSiblingWidget(pChild);
576 } while (pChild);
604 pChild(nullptr),