Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
status: display below current playlist We should really create another window to keep this separated
src/seamus.c | 6 +++---
diff --git a/src/seamus.c b/src/seamus.c index 26eb98d069e81c1b64899bdf78dea578b1f8128a..54f60aed1bbc96b2ab5fb6c5e3e8620f841a2ee4 100755 --- a/src/seamus.c +++ b/src/seamus.c @@ -166,7 +166,7 @@ TICKIT_PEN_BOLD, 1, 0); tickit_renderbuffer_setpen(render_buffer, pen); - tickit_renderbuffer_text(render_buffer, "Hello!"); + tickit_renderbuffer_text(render_buffer, "Hello, welcome to seamus"); tickit_renderbuffer_restore(render_buffer); } @@ -180,12 +180,12 @@ // XXX: Deal with pagination/offsetting? fetch_mpd_current_queue(connection, queue, count); - tickit_renderbuffer_goto(render_buffer, 2, 0); + tickit_renderbuffer_goto(render_buffer, tickit_window_lines(win) - 2, 0); tickit_renderbuffer_text(render_buffer, current_status); int i; for (i = 0; i < count; i++) { - tickit_renderbuffer_goto(render_buffer, 4 + i, 0); + tickit_renderbuffer_goto(render_buffer, 2 + i, 0); tickit_renderbuffer_text(render_buffer, queue[i]); free(queue[i]); }