2 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com?
3 * Released under the terms of the GNU GPL v2.0.
5 * Derived from menuconfig.
62 extern attributes_t attributes[];
75 void set_colors(void);
77 /* this changes the windows attributes !!! */
78 void print_in_middle(WINDOW *win,
84 int get_line_length(const char *line);
85 int get_line_no(const char *text);
86 const char *get_line(const char *text, int line_no);
87 void fill_window(WINDOW *win, const char *text);
88 int btn_dialog(WINDOW *main_window, const char *msg, int btn_num, ...);
89 int dialog_inputbox(WINDOW *main_window,
90 const char *title, const char *prompt,
91 const char *init, char *result, int result_len);
92 void refresh_all_windows(WINDOW *main_window);
93 void show_scroll_win(WINDOW *main_window,