summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-19 13:00:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-19 13:00:14 +0000
commitc4be1ee9f9d834d45efdadb155572d22bfd8eaf7 (patch)
tree5739d44505ead06d78ce6278854f3468ac2e29df /apps/menu.c
parente1bea8954b0ed4497e4d5c51ae945d8b44ebab15 (diff)
downloadrockbox-c4be1ee9f9d834d45efdadb155572d22bfd8eaf7.zip
rockbox-c4be1ee9f9d834d45efdadb155572d22bfd8eaf7.tar.gz
rockbox-c4be1ee9f9d834d45efdadb155572d22bfd8eaf7.tar.bz2
rockbox-c4be1ee9f9d834d45efdadb155572d22bfd8eaf7.tar.xz
simulated player text lines are moved down 8 pixels to make room for icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1079 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c
index e68fdaf..fd4f4fc 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -60,16 +60,20 @@ void put_cursorxy(int x, int y, bool on)
lcd_bitmap ( bitmap_icons_6x8[Cursor],
x*6, y*8, 4, 8, true);
#elif defined(SIMULATOR)
+ /* player simulator */
unsigned char cursor[] = { 0x7f, 0x3e, 0x1c, 0x08 };
- lcd_bitmap ( cursor, x*6, y*8, 4, 8, true);
+ lcd_bitmap ( cursor, x*6, 8+y*8, 4, 8, true);
#else
lcd_puts(x, y, CURSOR_CHAR);
#endif
}
else {
-#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR)
+#if defined(HAVE_LCD_BITMAP)
/* I use xy here since it needs to disregard the margins */
lcd_clearrect (x*6, y*8, 4, 8);
+#elif defined(SIMULATOR)
+ /* player simulator in action */
+ lcd_clearrect (x*6, 8+y*8, 4, 8);
#else
lcd_puts(x, y, " ");
#endif