• Home
  • Raw
  • Download

Lines Matching refs:pItem

39   Item* pItem = GetWidgetMgrItem(pWidget);  in GetParentWidget()  local
40 return pItem && pItem->pParent ? pItem->pParent->pWidget : nullptr; in GetParentWidget()
44 Item* pItem = GetWidgetMgrItem(pWidget); in GetOwnerWidget() local
45 return pItem && pItem->pOwner ? pItem->pOwner->pWidget : nullptr; in GetOwnerWidget()
49 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstSiblingWidget() local
50 if (!pItem) in GetFirstSiblingWidget()
53 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
54 while (pItem && pItem->pPrevious) in GetFirstSiblingWidget()
55 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
56 return pItem ? pItem->pWidget : nullptr; in GetFirstSiblingWidget()
60 Item* pItem = GetWidgetMgrItem(pWidget); in GetPriorSiblingWidget() local
61 return pItem && pItem->pPrevious ? pItem->pPrevious->pWidget : nullptr; in GetPriorSiblingWidget()
65 Item* pItem = GetWidgetMgrItem(pWidget); in GetNextSiblingWidget() local
66 return pItem && pItem->pNext ? pItem->pNext->pWidget : nullptr; in GetNextSiblingWidget()
70 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstChildWidget() local
71 return pItem && pItem->pChild ? pItem->pChild->pWidget : nullptr; in GetFirstChildWidget()
75 Item* pItem = GetWidgetMgrItem(pWidget); in GetLastChildWidget() local
76 if (!pItem) in GetLastChildWidget()
79 pItem = pItem->pChild; in GetLastChildWidget()
80 while (pItem && pItem->pNext) in GetLastChildWidget()
81 pItem = pItem->pNext; in GetLastChildWidget()
82 return pItem ? pItem->pWidget : nullptr; in GetLastChildWidget()
86 Item* pItem = GetWidgetMgrItem(pWidget); in GetSystemFormWidget() local
87 while (pItem) { in GetSystemFormWidget()
88 if (IsAbleNative(pItem->pWidget)) in GetSystemFormWidget()
89 return pItem->pWidget; in GetSystemFormWidget()
90 pItem = pItem->pParent; in GetSystemFormWidget()
96 Item* pItem = GetWidgetMgrItem(pWidget); in AppendWidget() local
97 if (!pItem) in AppendWidget()
99 if (!pItem->pParent) in AppendWidget()
102 Item* pChild = pItem->pParent->pChild; in AppendWidget()
105 if (pChild == pItem) { in AppendWidget()
110 if (pItem->pParent->pChild == pItem) in AppendWidget()
111 pItem->pParent->pChild = pItem->pNext; in AppendWidget()
113 pItem->pNext = nullptr; in AppendWidget()
114 pItem->pPrevious = nullptr; in AppendWidget()
124 pChild = pItem->pParent->pChild; in AppendWidget()
129 pChild->pNext = pItem; in AppendWidget()
130 pItem->pPrevious = pChild; in AppendWidget()
132 pItem->pParent->pChild = pItem; in AppendWidget()
133 pItem->pPrevious = nullptr; in AppendWidget()
135 pItem->pNext = nullptr; in AppendWidget()
165 Item* pItem = GetWidgetMgrItem(pChild); in InsertWidget() local
166 if (!pItem) { in InsertWidget()
168 pItem = item.get(); in InsertWidget()
171 if (pItem->pParent && pItem->pParent != pParentItem) { in InsertWidget()
172 if (pItem->pPrevious) in InsertWidget()
173 pItem->pPrevious->pNext = pItem->pNext; in InsertWidget()
174 if (pItem->pNext) in InsertWidget()
175 pItem->pNext->pPrevious = pItem->pPrevious; in InsertWidget()
176 if (pItem->pParent->pChild == pItem) in InsertWidget()
177 pItem->pParent->pChild = pItem->pNext; in InsertWidget()
179 pItem->pParent = pParentItem; in InsertWidget()
184 Item* pItem = GetWidgetMgrItem(pWidget); in RemoveWidget() local
185 if (!pItem) in RemoveWidget()
187 if (pItem->pPrevious) in RemoveWidget()
188 pItem->pPrevious->pNext = pItem->pNext; in RemoveWidget()
189 if (pItem->pNext) in RemoveWidget()
190 pItem->pNext->pPrevious = pItem->pPrevious; in RemoveWidget()
191 if (pItem->pParent && pItem->pParent->pChild == pItem) in RemoveWidget()
192 pItem->pParent->pChild = pItem->pNext; in RemoveWidget()
194 Item* pChild = pItem->pChild; in RemoveWidget()
214 Item* pItem = GetWidgetMgrItem(pOwned); in SetOwner() local
215 if (!pItem) { in SetOwner()
217 pItem = item.get(); in SetOwner()
220 pItem->pOwner = pParentItem; in SetOwner()
224 Item* pItem = GetWidgetMgrItem(pChild); in SetParent() local
225 if (!pItem) in SetParent()
227 if (pItem->pParent && pItem->pParent != pParentItem) { in SetParent()
228 if (pItem->pPrevious) in SetParent()
229 pItem->pPrevious->pNext = pItem->pNext; in SetParent()
230 if (pItem->pNext) in SetParent()
231 pItem->pNext->pPrevious = pItem->pPrevious; in SetParent()
232 if (pItem->pParent->pChild == pItem) in SetParent()
233 pItem->pParent->pChild = pItem->pNext; in SetParent()
235 pItem->pNext = nullptr; in SetParent()
236 pItem->pPrevious = nullptr; in SetParent()
238 pItem->pParent = pParentItem; in SetParent()