mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-19 12:28:07 +00:00
show keyboard in 'search for setting'
This commit is contained in:
@@ -4222,6 +4222,9 @@ EX void find_parameter() {
|
||||
|
||||
dialog::addBreak(100);
|
||||
dialog::addInfo(XLAT("press letters to search"));
|
||||
|
||||
if(dialog::onscreen_keyboard) dialog::setting_keyboard();
|
||||
|
||||
dialog::addSelItem(XLAT("matching items"), its(found), 0);
|
||||
dialog::display();
|
||||
|
||||
|
||||
@@ -1390,6 +1390,12 @@ EX namespace dialog {
|
||||
addKeyboardItem(lr ? " \t\x1\x2" : " \t");
|
||||
}
|
||||
|
||||
EX void setting_keyboard() {
|
||||
addKeyboardItem("qwertyuiop");
|
||||
addKeyboardItem("asdfghjkl");
|
||||
addKeyboardItem("zxcvbnm_\b");
|
||||
}
|
||||
|
||||
EX bool onscreen_keyboard = ISMOBILE;
|
||||
|
||||
struct number_dialog_help {
|
||||
|
||||
Reference in New Issue
Block a user