X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsong_paint.h;h=41080a1c3f9298e1dbe8dddd3a380211de85ecef;hb=6d5f08886f5cda18061d66d047abcf1553a9048e;hp=e46f4f5413d51bf527a5a31a4a4b5011f17588b1;hpb=0796b270b1699336f29908d11bca92d64da0653c;p=ncmpc.git diff --git a/src/song_paint.h b/src/song_paint.h index e46f4f5..41080a1 100644 --- a/src/song_paint.h +++ b/src/song_paint.h @@ -15,18 +15,15 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + */ #ifndef NCMPC_SONG_PAINT_H #define NCMPC_SONG_PAINT_H -#include +#include "config.h" +#include "ncmpc_curses.h" -#ifdef HAVE_NCURSESW_NCURSES_H -#include -#else -#include -#endif +#include struct mpd_song; struct hscroll; @@ -42,10 +39,11 @@ struct hscroll; * @param highlight true if the row is highlighted * @param song the song object * @param hscroll an optional hscroll object + * @param format the song format */ void paint_song_row(WINDOW *w, unsigned y, unsigned width, bool selected, bool highlight, const struct mpd_song *song, - struct hscroll *hscroll); + struct hscroll *hscroll, const char *format); #endif