aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browse.h
blob: c58867500028bf9af71b9a49ae82d1edcb5935b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
void clear_highlights(mpdclient_filelist_t *filelist);
void sync_highlights(mpdclient_t *c, mpdclient_filelist_t *filelist);
void set_highlight(mpdclient_filelist_t *filelist, 
		   mpd_Song *song, 
		   int highlight);


const char *browse_lw_callback(int index, int *highlight, void *filelist);

int browse_handle_select(screen_t *screen, 
			 mpdclient_t *c,
			 list_window_t *lw,
			 mpdclient_filelist_t *filelist);
int browse_handle_select_all (screen_t *screen, 
		     mpdclient_t *c,
		     list_window_t *lw,
		     mpdclient_filelist_t *filelist);
int browse_handle_enter(screen_t *screen, 
			mpdclient_t *c,
			list_window_t *lw,
			mpdclient_filelist_t *filelist);

#ifdef HAVE_GETMOUSE
int browse_handle_mouse_event(screen_t *screen, 
			      mpdclient_t *c,
			      list_window_t *lw,
			      mpdclient_filelist_t *filelist);
#else
#define browse_handle_mouse_event(s,c,lw,filelist) (0)
#endif