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