summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b378ff4)
raw | patch | inline | side by side (parent: b378ff4)
author | Max Kellermann <max@duempel.org> | |
Fri, 25 Dec 2009 10:44:46 +0000 (11:44 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 25 Dec 2009 10:44:46 +0000 (11:44 +0100) |
src/screen_browser.c | patch | blob | history | |
src/screen_browser.h | patch | blob | history |
diff --git a/src/screen_browser.c b/src/screen_browser.c
index 50769b88a911c13dfdd27c9618329b004a4062ad..b11c48da91b590a4fbb408b576173666991f8d1f 100644 (file)
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
return false;
}
-static void
+void
screen_browser_paint_directory(WINDOW *w, unsigned width,
bool selected, const char *name)
{
diff --git a/src/screen_browser.h b/src/screen_browser.h
index 8589e75f6855ee502d7f6185b0a2c76ab2220560..ba2ad3bad895ec7125827059983a7587ed07ce6b 100644 (file)
--- a/src/screen_browser.h
+++ b/src/screen_browser.h
#include <stdbool.h>
+#ifdef HAVE_NCURSESW_NCURSES_H
+#include <ncursesw/ncurses.h>
+#else
+#include <ncurses.h>
+#endif
+
struct mpdclient;
struct mpdclient_playlist;
struct filelist;
#endif
+void
+screen_browser_paint_directory(WINDOW *w, unsigned width,
+ bool selected, const char *name);
+
void
screen_browser_paint(const struct screen_browser *browser);