28 #ifndef YSL_INC_UI_yuicont_h_
29 #define YSL_INC_UI_yuicont_h_ 1
60 LocateOffset(const IWidget* pEnd, Point, const IWidget* pWgt);
85 template<
class _tW
idget,
typename _fFetcher>
89 if(
YB_LIKELY(dynamic_cast<_tWidget*>(&wgt)))
92 _tWidget*
const pNode(fetch_ptr(wgt));
165 typedef multimap<ZOrderType, ItemType>
WidgetMap; \
240 template<class _tContainer, class... _tWidgets>
244 unseq_apply(std::bind(
static_cast<void(_tContainer::*)(IWidget&)
>(
245 &_tContainer::operator+=), std::ref(con), std::placeholders::_1),
246 std::forward<IWidget&>(wgts)...);
254 template<
class _tContainer,
class... _tWidgets>
259 >(&_tContainer::Add), std::ref(con), std::placeholders::_1, z),
260 std::forward<IWidget&>(wgts)...);
268 template<
class _tContainer,
class... _tWidgets>
273 &_tContainer::operator-=), std::ref(con), std::placeholders::_1),
274 std::forward<IWidget&>(wgts)...);