10 #ifndef MENUOUTPUT_HPP 11 #define MENUOUTPUT_HPP 16 namespace duds {
namespace ui {
namespace menu {
50 std::shared_ptr<MenuView>
mview;
123 void lock(std::size_t newRange);
145 bool fore(Menu::ItemVec::const_iterator &iter);
153 bool revr(Menu::ItemVec::const_iterator &iter);
196 static std::shared_ptr<MenuOutput>
make(
197 const std::shared_ptr<MenuView> &
view,
200 return std::make_shared<MenuOutput>(
view, vis);
211 void attach(
const std::shared_ptr<MenuView> &
view,
int vis = 0);
215 const std::shared_ptr<MenuView> &
view()
const {
225 const std::shared_ptr<Menu> &
menu()
const;
240 #endif // #ifndef MENUOUTPUT_HPP