mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-31 21:14:29 +00:00
changemode uses the new dialogkey system
This commit is contained in:
1 parent
970d65c71a
commit
009e1e2eb4
2 files changed
+44
-63
No files matched your search
@@ -146,6 +146,8 @@ EX namespace dialog {
|
||||
|
||||
EX void add_action_push(const reaction_t& action) { add_action([action] { pushScreen(action); }); }
|
||||
|
||||
EX void add_action_push_clear(const reaction_t& action) { add_action([action] { clearMessages(); pushScreen(action); }); }
|
||||
|
||||
EX void handler(int sym, int uni) {
|
||||
dialog::handleNavigation(sym, uni);
|
||||
if(doexiton(sym, uni)) popScreen();
|
||||
|
||||
Reference in new issue
Block a user