8040b105d1572ecccbbb647b5b13ec94ce617488
1 #ifndef SCREEN_UTILS_H
2 #define SCREEN_UTILS_H
4 /* sound an audible and/or visible bell */
5 void screen_bell(void);
7 /* read a characher from the status window */
8 int screen_getch(WINDOW *w, char *prompt);
10 /* read a string from the status window */
11 char *screen_getstr(WINDOW *w, char *prompt);
12 char *screen_readln(WINDOW *w, char *prompt, char *value,
13 GList **history, GCompletion *gcmp);
14 char *screen_readln_masked(WINDOW *w, char *prompt);
15 char *screen_read_pasword(WINDOW *w, char *prompt);
16 /* query user for a string and find it in a list window */
17 int screen_find(screen_t *screen,
18 list_window_t *lw,
19 int rows,
20 command_t findcmd,
21 list_window_callback_fn_t callback_fn,
22 void *callback_data);
24 gint screen_auth(mpdclient_t *c);
26 void screen_display_completion_list(screen_t *screen, GList *list);
28 void set_xterm_title(char *format, ...);
30 #endif