• Home
  • Raw
  • Download

Lines Matching refs:pItem

44   Item* pItem = GetWidgetMgrItem(pWidget);  in GetParentWidget()  local
45 return pItem && pItem->pParent ? pItem->pParent->pWidget : nullptr; in GetParentWidget()
49 Item* pItem = GetWidgetMgrItem(pWidget); in GetOwnerWidget() local
50 return pItem && pItem->pOwner ? pItem->pOwner->pWidget : nullptr; in GetOwnerWidget()
54 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstSiblingWidget() local
55 if (!pItem) in GetFirstSiblingWidget()
58 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
59 while (pItem && pItem->pPrevious) in GetFirstSiblingWidget()
60 pItem = pItem->pPrevious; in GetFirstSiblingWidget()
61 return pItem ? pItem->pWidget : nullptr; in GetFirstSiblingWidget()
65 Item* pItem = GetWidgetMgrItem(pWidget); in GetPriorSiblingWidget() local
66 return pItem && pItem->pPrevious ? pItem->pPrevious->pWidget : nullptr; in GetPriorSiblingWidget()
70 Item* pItem = GetWidgetMgrItem(pWidget); in GetNextSiblingWidget() local
71 return pItem && pItem->pNext ? pItem->pNext->pWidget : nullptr; in GetNextSiblingWidget()
75 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstChildWidget() local
76 return pItem && pItem->pChild ? pItem->pChild->pWidget : nullptr; in GetFirstChildWidget()
80 Item* pItem = GetWidgetMgrItem(pWidget); in GetLastChildWidget() local
81 if (!pItem) in GetLastChildWidget()
84 pItem = pItem->pChild; in GetLastChildWidget()
85 while (pItem && pItem->pNext) in GetLastChildWidget()
86 pItem = pItem->pNext; in GetLastChildWidget()
87 return pItem ? pItem->pWidget : nullptr; in GetLastChildWidget()
91 Item* pItem = GetWidgetMgrItem(pWidget); in GetSystemFormWidget() local
92 while (pItem) { in GetSystemFormWidget()
93 if (IsAbleNative(pItem->pWidget)) in GetSystemFormWidget()
94 return pItem->pWidget; in GetSystemFormWidget()
95 pItem = pItem->pParent; in GetSystemFormWidget()
101 Item* pItem = GetWidgetMgrItem(pWidget); in AppendWidget() local
102 if (!pItem) in AppendWidget()
104 if (!pItem->pParent) in AppendWidget()
107 Item* pChild = pItem->pParent->pChild; in AppendWidget()
110 if (pChild == pItem) { in AppendWidget()
115 if (pItem->pParent->pChild == pItem) in AppendWidget()
116 pItem->pParent->pChild = pItem->pNext; in AppendWidget()
118 pItem->pNext = nullptr; in AppendWidget()
119 pItem->pPrevious = nullptr; in AppendWidget()
129 pChild = pItem->pParent->pChild; in AppendWidget()
134 pChild->pNext = pItem; in AppendWidget()
135 pItem->pPrevious = pChild; in AppendWidget()
137 pItem->pParent->pChild = pItem; in AppendWidget()
138 pItem->pPrevious = nullptr; in AppendWidget()
140 pItem->pNext = nullptr; in AppendWidget()
184 Item* pItem = GetWidgetMgrItem(pChild); in InsertWidget() local
185 if (!pItem) { in InsertWidget()
187 pItem = item.get(); in InsertWidget()
190 if (pItem->pParent && pItem->pParent != pParentItem) { in InsertWidget()
191 if (pItem->pPrevious) in InsertWidget()
192 pItem->pPrevious->pNext = pItem->pNext; in InsertWidget()
193 if (pItem->pNext) in InsertWidget()
194 pItem->pNext->pPrevious = pItem->pPrevious; in InsertWidget()
195 if (pItem->pParent->pChild == pItem) in InsertWidget()
196 pItem->pParent->pChild = pItem->pNext; in InsertWidget()
198 pItem->pParent = pParentItem; in InsertWidget()
203 Item* pItem = GetWidgetMgrItem(pWidget); in RemoveWidget() local
204 if (!pItem) in RemoveWidget()
206 if (pItem->pPrevious) in RemoveWidget()
207 pItem->pPrevious->pNext = pItem->pNext; in RemoveWidget()
208 if (pItem->pNext) in RemoveWidget()
209 pItem->pNext->pPrevious = pItem->pPrevious; in RemoveWidget()
210 if (pItem->pParent && pItem->pParent->pChild == pItem) in RemoveWidget()
211 pItem->pParent->pChild = pItem->pNext; in RemoveWidget()
213 Item* pChild = pItem->pChild; in RemoveWidget()
233 Item* pItem = GetWidgetMgrItem(pOwned); in SetOwner() local
234 if (!pItem) { in SetOwner()
236 pItem = item.get(); in SetOwner()
239 pItem->pOwner = pParentItem; in SetOwner()
243 Item* pItem = GetWidgetMgrItem(pChild); in SetParent() local
244 if (!pItem) in SetParent()
246 if (pItem->pParent && pItem->pParent != pParentItem) { in SetParent()
247 if (pItem->pPrevious) in SetParent()
248 pItem->pPrevious->pNext = pItem->pNext; in SetParent()
249 if (pItem->pNext) in SetParent()
250 pItem->pNext->pPrevious = pItem->pPrevious; in SetParent()
251 if (pItem->pParent->pChild == pItem) in SetParent()
252 pItem->pParent->pChild = pItem->pNext; in SetParent()
254 pItem->pNext = nullptr; in SetParent()
255 pItem->pPrevious = nullptr; in SetParent()
257 pItem->pParent = pParentItem; in SetParent()
508 Item* pItem = GetWidgetMgrItem(pWidget); in IsNeedRepaint() local
509 if (pItem && pItem->iRedrawCounter > 0) { in IsNeedRepaint()
510 pItem->iRedrawCounter = 0; in IsNeedRepaint()