Code

screen_browser: export screen_browser_paint_directory()
[ncmpc.git] / src / screen_browser.h
index 8589e75f6855ee502d7f6185b0a2c76ab2220560..ba2ad3bad895ec7125827059983a7587ed07ce6b 100644 (file)
 
 #include <stdbool.h>
 
+#ifdef HAVE_NCURSESW_NCURSES_H
+#include <ncursesw/ncurses.h>
+#else
+#include <ncurses.h>
+#endif
+
 struct mpdclient;
 struct mpdclient_playlist;
 struct filelist;
@@ -54,6 +60,10 @@ screen_browser_sync_highlights(G_GNUC_UNUSED struct filelist *fl,
 
 #endif
 
+void
+screen_browser_paint_directory(WINDOW *w, unsigned width,
+                              bool selected, const char *name);
+
 void
 screen_browser_paint(const struct screen_browser *browser);