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
[];
76 void set_colors(void);
78 /* this changes the windows attributes !!! */
79 void print_in_middle(WINDOW
*win
,
85 int get_line_length(const char *line
);
86 int get_line_no(const char *text
);
87 const char *get_line(const char *text
, int line_no
);
88 void fill_window(WINDOW
*win
, const char *text
);
89 int btn_dialog(WINDOW
*main_window
, const char *msg
, int btn_num
, ...);
90 int dialog_inputbox(WINDOW
*main_window
,
91 const char *title
, const char *prompt
,
92 const char *init
, char **resultp
, int *result_len
);
93 void refresh_all_windows(WINDOW
*main_window
);
94 void show_scroll_win(WINDOW
*main_window
,