1 #ifndef MENU_HPP_INCLUDED
2 #define MENU_HPP_INCLUDED
4 #include "../../Core/Types/Box.hpp"
34 bool OptionsValid(std::int32_t MenuCount,
const std::vector<std::string>& RawActions,
const std::vector<std::string>& RawTargets);
99 std::int32_t
IndexOf(
const std::string& Option);
126 std::tuple<std::int32_t, std::string, std::string>
FindOption(std::uint32_t Index);
139 std::tuple<std::int32_t, std::string, std::string>
FindOption(
const std::string& Option);
152 std::tuple<std::int32_t, std::string, std::string>
FindOption(
const std::vector<std::string>&
Options);
165 std::vector<std::tuple<std::int32_t, std::string, std::string>>
FindOptions(
const std::string& Option);
178 std::vector<std::tuple<std::int32_t, std::string, std::string>>
FindOptions(
const std::vector<std::string>&
Options);
212 bool WaitContains(std::uint32_t Duration, std::uint32_t Step,
const std::string& Option);
235 bool Select(std::int32_t Index,
bool CloseMenu =
true);
246 bool Select(
const std::string& Option,
bool CloseMenu =
true);
257 bool Select(
const std::vector<std::string>&
Options,
bool CloseMenu =
true);