aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browse.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-11-15 11:23:11 +0000
committerKalle Wallin <kaw@linux.se>2004-11-15 11:23:11 +0000
commite3c905a56bcc1fed3848485201a4a434aa9fc162 (patch)
treeaed87e32dc8c39473fa86b3d11d2048a06ac055f /src/screen_browse.h
parent41d25e22f8b3fabc954d5b58db6d1d36706aa418 (diff)
downloadmpd-e3c905a56bcc1fed3848485201a4a434aa9fc162.tar.gz
mpd-e3c905a56bcc1fed3848485201a4a434aa9fc162.tar.xz
mpd-e3c905a56bcc1fed3848485201a4a434aa9fc162.zip
Added a search screen
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/screen_browse.h')
-rw-r--r--src/screen_browse.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/screen_browse.h b/src/screen_browse.h
new file mode 100644
index 000000000..ddb3f21b0
--- /dev/null
+++ b/src/screen_browse.h
@@ -0,0 +1,30 @@
+
+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);
+
+
+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_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
+
+
+