aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lxdialog/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/lxdialog/dialog.h')
-rw-r--r--scripts/kconfig/lxdialog/dialog.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/kconfig/lxdialog/dialog.h b/scripts/kconfig/lxdialog/dialog.h
index a7cfdecc2409..8dea47f9d3e4 100644
--- a/scripts/kconfig/lxdialog/dialog.h
+++ b/scripts/kconfig/lxdialog/dialog.h
@@ -86,6 +86,9 @@
86#define ACS_DARROW 'v' 86#define ACS_DARROW 'v'
87#endif 87#endif
88 88
89/* error return codes */
90#define ERRDISPLAYTOOSMALL (KEY_MAX + 1)
91
89/* 92/*
90 * Color definitions 93 * Color definitions
91 */ 94 */
@@ -181,6 +184,7 @@ int item_is_tag(char tag);
181 184
182/* generic key handlers */ 185/* generic key handlers */
183int on_key_esc(WINDOW *win); 186int on_key_esc(WINDOW *win);
187int on_key_resize(void);
184 188
185void init_dialog(const char *backtitle); 189void init_dialog(const char *backtitle);
186void reset_dialog(void); 190void reset_dialog(void);
@@ -199,8 +203,8 @@ int dialog_yesno(const char *title, const char *prompt, int height, int width);
199int dialog_msgbox(const char *title, const char *prompt, int height, 203int dialog_msgbox(const char *title, const char *prompt, int height,
200 int width, int pause); 204 int width, int pause);
201int dialog_textbox(const char *title, const char *file, int height, int width); 205int dialog_textbox(const char *title, const char *file, int height, int width);
202int dialog_menu(const char *title, const char *prompt, int height, int width, 206int dialog_menu(const char *title, const char *prompt,
203 int menu_height, const void *selected, int *s_scroll); 207 const void *selected, int *s_scroll);
204int dialog_checklist(const char *title, const char *prompt, int height, 208int dialog_checklist(const char *title, const char *prompt, int height,
205 int width, int list_height); 209 int width, int list_height);
206extern char dialog_input_result[]; 210extern char dialog_input_result[];