28 #ifndef YSL_INC_UI_menu_h_
29 #define YSL_INC_UI_menu_h_ 1
49 friend class MenuHost;
53 typedef map<IndexType, Menu*>
SubMap;
71 Menu(
const Rect& = {},
const shared_ptr<ListType>& = {}, ID = 0);
91 operator+=(const ValueType&);
106 IsItemEnabled(
ListType::size_type) const;
134 CheckConfirmed(
ListType::size_type) const override;
150 ShowSub(IndexType,
ZOrderType = DefaultMenuZOrder);
174 LocateMenu(Menu&, const Menu&, Menu::IndexType);
215 operator+=(
const ValueType&);
247 ImplRet(mMenus.find(
id) != mMenus.end())
289 ShowRaw(Menu& mnu,
ZOrderType = DefaultMenuZOrder);
330 HideUnrelated(Menu& mnu, Menu& mnuParent);