From 9330aba60a05a8d9889dab42bc92b9ebbc55941b Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 28 Jul 2014 10:42:25 +0800 Subject: ui/ncurses: Add language selector & support for language changes This change adds a language selector UI, and allows language changes from incoming configuration messages. Signed-off-by: Jeremy Kerr --- ui/ncurses/nc-cui.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/ncurses/nc-cui.h') diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index 417126f..ff735ae 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -60,6 +60,7 @@ struct cui { struct config *config; struct config_screen *config_screen; struct boot_editor *boot_editor; + struct lang_screen *lang_screen; struct help_screen *help_screen; struct pjs *pjs; void *platform_info; @@ -76,6 +77,7 @@ void cui_item_edit(struct pmenu_item *item); void cui_item_new(struct pmenu *menu); void cui_show_sysinfo(struct cui *cui); void cui_show_config(struct cui *cui); +void cui_show_lang(struct cui *cui); void cui_show_help(struct cui *cui, const char *title, const struct help_text *text); int cui_send_config(struct cui *cui, struct config *config); -- cgit v1.2.1