34 const std::vector<std::string>& initial,
35 const std::vector<Uint32>& flags);
44 int run(std::vector<std::string>& result);
47 bool updateInternal()
override;
48 ssize_t get_index(
const SDL_MouseButtonEvent& button);
53 INPUT_BUTTON_ACCEPT = 1,
54 INPUT_BUTTON_CANCEL = -2
57 ssize_t next(ssize_t current);
58 [[nodiscard]]
bool valid(ssize_t current)
const;
59 std::shared_ptr<SdlInputWidgetPair> get(ssize_t index);
61 std::vector<std::shared_ptr<SdlInputWidgetPair>> _list;