mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-26 23:12:51 +00:00
renamed display 'recently changed settings' to 'find a setting', also recently changed now use a list widget
This commit is contained in:
parent
b89204e616
commit
472cbe205b
@ -3003,10 +3003,11 @@ EX void edit_all_settings() {
|
|||||||
|
|
||||||
for(auto &fs: params) fs.second->check_change();
|
for(auto &fs: params) fs.second->check_change();
|
||||||
|
|
||||||
int id = 0;
|
dialog::start_list(1000, 1000, 'a');
|
||||||
for(auto l: last_changed)
|
for(auto l: last_changed)
|
||||||
if(l->available() && id < 10)
|
if(l->available())
|
||||||
l->show_edit_option('a'+(id++));
|
l->show_edit_option(dialog::list_fake_key++);
|
||||||
|
dialog::end_list();
|
||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
dialog::addItem(XLAT("find a setting"), '/');
|
dialog::addItem(XLAT("find a setting"), '/');
|
||||||
@ -3077,7 +3078,7 @@ EX void showSettings() {
|
|||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
|
|
||||||
#if CAP_CONFIG
|
#if CAP_CONFIG
|
||||||
dialog::addItem(XLAT("recently changed settings"), '/');
|
dialog::addItem(XLAT("find a setting"), '/');
|
||||||
dialog::add_action_push(edit_all_settings);
|
dialog::add_action_push(edit_all_settings);
|
||||||
|
|
||||||
dialog::addItem(XLAT("save the current config"), 's');
|
dialog::addItem(XLAT("save the current config"), 's');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user