1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com>
5 * Derived from menuconfig.
58 extern attributes_t attributes
[];
72 void set_colors(void);
74 /* this changes the windows attributes !!! */
75 void print_in_middle(WINDOW
*win
,
81 int get_line_length(const char *line
);
82 int get_line_no(const char *text
);
83 const char *get_line(const char *text
, int line_no
);
84 void fill_window(WINDOW
*win
, const char *text
);
85 int btn_dialog(WINDOW
*main_window
, const char *msg
, int btn_num
, ...);
86 int dialog_inputbox(WINDOW
*main_window
,
87 const char *title
, const char *prompt
,
88 const char *init
, char **resultp
, int *result_len
);
89 void refresh_all_windows(WINDOW
*main_window
);
90 void show_scroll_win(WINDOW
*main_window
,