mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-29 21:13:00 +00:00
dialog::add_action_confirmed
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user