• Home
  • Raw
  • Download

Lines Matching refs:pParent

45   return pItem && pItem->pParent ? pItem->pParent->pWidget : nullptr;  in GetParentWidget()
95 pItem = pItem->pParent; in GetSystemFormWidget()
104 if (!pItem->pParent) in AppendWidget()
107 Item* pChild = pItem->pParent->pChild; in AppendWidget()
115 if (pItem->pParent->pChild == pItem) in AppendWidget()
116 pItem->pParent->pChild = pItem->pNext; in AppendWidget()
129 pChild = pItem->pParent->pChild; in AppendWidget()
137 pItem->pParent->pChild = pItem; in AppendWidget()
173 void CFWL_WidgetMgr::InsertWidget(CFWL_Widget* pParent, CFWL_Widget* pChild) { in InsertWidget() argument
174 Item* pParentItem = GetWidgetMgrItem(pParent); in InsertWidget()
176 auto item = pdfium::MakeUnique<Item>(pParent); in InsertWidget()
178 m_mapWidgetItem[pParent] = std::move(item); in InsertWidget()
180 pParentItem->pParent = GetWidgetMgrItem(nullptr); in InsertWidget()
181 AppendWidget(pParent); in InsertWidget()
190 if (pItem->pParent && pItem->pParent != pParentItem) { in InsertWidget()
195 if (pItem->pParent->pChild == pItem) in InsertWidget()
196 pItem->pParent->pChild = pItem->pNext; in InsertWidget()
198 pItem->pParent = pParentItem; in InsertWidget()
210 if (pItem->pParent && pItem->pParent->pChild == pItem) in RemoveWidget()
211 pItem->pParent->pChild = pItem->pNext; in RemoveWidget()
229 pParentItem->pParent = GetWidgetMgrItem(nullptr); in SetOwner()
241 void CFWL_WidgetMgr::SetParent(CFWL_Widget* pParent, CFWL_Widget* pChild) { in SetParent() argument
242 Item* pParentItem = GetWidgetMgrItem(pParent); in SetParent()
246 if (pItem->pParent && pItem->pParent != pParentItem) { in SetParent()
251 if (pItem->pParent->pChild == pItem) in SetParent()
252 pItem->pParent->pChild = pItem->pNext; in SetParent()
257 pItem->pParent = pParentItem; in SetParent()
333 CFWL_Widget* CFWL_WidgetMgr::GetDefaultButton(CFWL_Widget* pParent) const { in GetDefaultButton()
334 if ((pParent->GetClassID() == FWL_Type::PushButton) && in GetDefaultButton()
335 (pParent->GetStates() & (1 << (FWL_WGTSTATE_MAX + 2)))) { in GetDefaultButton()
336 return pParent; in GetDefaultButton()
340 pParent->GetOwnerApp()->GetWidgetMgr()->GetFirstChildWidget(pParent); in GetDefaultButton()
602 : pParent(nullptr), in Item()