void add_cancel_button(const std::string &text, const std::function< void()> &callback={})
The cancel button can not only be activated by selecting it, but via the MENU_BACK button...
Definition: dialog.cpp:76
This class provides functions for drawing things on screen.
Definition: drawing_context.hpp:42
void add_default_button(const std::string &text, const std::function< void()> &callback={})
The default gets focused when the dialog is first shown.
Definition: dialog.cpp:69