summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lib/playergfx.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-07 20:00:49 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-07 20:00:49 +0000
commit89658651d766faaed2503ac7b3cc146369347c81 (patch)
treec7a35ad6ebea87424117199726bc6890fd648f31 /apps/plugins/lib/playergfx.c
parentce8a1c986f1558d0cf2832064c00a01468595bd7 (diff)
downloadrockbox-89658651d766faaed2503ac7b3cc146369347c81.tar.gz
rockbox-89658651d766faaed2503ac7b3cc146369347c81.zip
Rockblox: * Ported to the Player :-P * Slight optimisation in refresh_board().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11146 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/playergfx.c')
-rw-r--r--apps/plugins/lib/playergfx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/lib/playergfx.c b/apps/plugins/lib/playergfx.c
index b6e7ccfc64..1df7a3be4c 100644
--- a/apps/plugins/lib/playergfx.c
+++ b/apps/plugins/lib/playergfx.c
@@ -85,6 +85,12 @@ void pgfx_display(int cx, int cy)
pgfx_rb->lcd_putc(cx + i, cy + j, gfx_chars[char_height * i + j]);
}
+void pgfx_display_block(int cx, int cy, int x, int y)
+{
+ pgfx_rb->lcd_putc(cx, cy, gfx_chars[char_height * x + y]);
+}
+
+
/*** Update functions ***/
void pgfx_update(void)