Code

Added completion stuff
[ncmpc.git] / src / screen_utils.h
1 #ifndef SCREEN_UTILS_H
2 #define SCREEN_UTILS_H
4 /* read a characher from the status window */
5 int screen_getch(WINDOW *w, char *prompt);
7 /* read a string from the status window */
8 char *screen_getstr(WINDOW *w, char *prompt);
9 char *screen_readln(WINDOW *w, char *prompt, char *value,
10                     GList **history, GCompletion *gcmp);
12 /* query user for a string and find it in a list window */
13 int screen_find(screen_t *screen,
14                 mpdclient_t *c,
15                 list_window_t *lw, 
16                 int rows,
17                 command_t findcmd,
18                 list_window_callback_fn_t callback_fn);
21 void screen_display_completion_list(screen_t *screen, GList *list);
23 #endif