60 while(pWgt && pWgt != pEnd)
71 list<pair<IWidget*, Point>> lst;
78 lst.push_back(make_pair(pCon, pt));
89 auto i(std::find(lst.begin() |
get_key, lst.end() |
get_key, pCon));
92 return pt - i.get()->second;
97 return Point::Invalid;
147 using namespace ystdex;
149 auto t(mWidgets.size());
153 t -= mWidgets.size();
155 YAssert(t <= 1,
"Duplicate desktop object pointer found.");
161 MUIContainer::GetBegin()
163 using namespace ystdex;
168 MUIContainer::GetEnd()
170 using namespace ystdex;
179 mWidgets.insert(make_pair(z,
ItemType(&wgt)));
188 &wgt) != mWidgets.end();
198 YAssert(pWgt,
"Null pointer found.");