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:
parent
fa1cc8b44c
commit
db96f3499c
@ -1260,6 +1260,10 @@ EX namespace dialog {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EX void add_action_confirmed(const reaction_t& act) {
|
||||||
|
dialog::add_action(dialog::add_confirmation(act));
|
||||||
|
}
|
||||||
|
|
||||||
#if HDR
|
#if HDR
|
||||||
|
|
||||||
template<class T> void addBoolItem_choice(const string& s, T& b, T val, char c) {
|
template<class T> void addBoolItem_choice(const string& s, T& b, T val, char c) {
|
||||||
|
Loading…
Reference in New Issue
Block a user