1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

dialog::add_action_confirmed

This commit is contained in:
Zeno Rogue 2020-07-12 20:49:06 +02:00
parent fa1cc8b44c
commit db96f3499c

View File

@ -1260,6 +1260,10 @@ EX namespace dialog {
return false;
}
EX void add_action_confirmed(const reaction_t& act) {
dialog::add_action(dialog::add_confirmation(act));
}
#if HDR
template<class T> void addBoolItem_choice(const string& s, T& b, T val, char c) {