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