#include "config.h"
#include "ncmpc_curses.h"
#include <stdbool.h>
Go to the source code of this file.
|
void | paint_song_row (WINDOW *w, unsigned y, unsigned width, bool selected, bool highlight, const struct mpd_song *song, struct hscroll *hscroll, const char *format) |
|
◆ paint_song_row()
void paint_song_row |
( |
WINDOW * |
w, |
|
|
unsigned |
y, |
|
|
unsigned |
width, |
|
|
bool |
selected, |
|
|
bool |
highlight, |
|
|
const struct mpd_song * |
song, |
|
|
struct hscroll * |
hscroll, |
|
|
const char * |
format |
|
) |
| |
Paints a song into a list window row. The cursor must be set to the first character in the row prior to calling this function.
- Parameters
-
w | the ncurses window |
y | the row number in the window |
width | the width of the row |
selected | true if the row is selected |
highlight | true if the row is highlighted |
song | the song object |
hscroll | an optional hscroll object |
format | the song format |