70 std::span<const std::string_view> iconNames);
73 int RowCount()
const {
return static_cast<int>(_rows.size()); }
76 int TabCount()
const {
return static_cast<int>(_tabs.size()); }
87 void SetRow(
int slot,
int index,
const MenuRow* row, std::string_view pendingHint);
88 void SetEmpty(
int slot, std::string_view text);
89 void SetPager(
int slot, std::string_view text);
90 void SetPrompt(
int slot, std::string_view text, std::string_view hint);
92 void SetFooter(
int slot, std::string_view back, std::string_view cancel);
95 std::optional<MenuButton>
FindButton(std::string_view
id)
const;
99 void AddText(std::string_view variable, std::function<std::string(
int slot)> text);
106 std::string LabelVar;
113 std::string Decrease;
114 std::string Increase;
115 std::string LabelVar;
117 std::string ValueVar;
122 std::string Variable;
123 std::function<std::string(
int slot)> Value;
126 PlayerScreens _screens;
128 std::string _subtitle;
135 std::string _pagePrevious;
136 std::string _pageNext;
137 std::vector<TabIds> _tabs;
138 std::vector<RowIds> _rows;
139 std::span<const std::string_view> _iconNames;
140 std::vector<ScreenText> _texts;