diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-06-15 11:39:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-06-15 11:39:36 +0000 |
commit | e35f8eb603eac34b64b720289851b95cbc68c769 (patch) | |
tree | 20bdbffd929f2086cd01a66d9e5a1d04f4c60435 /apps/menu.c | |
parent | 07079466b32c0ce041abc709e8d9c0796023716e (diff) | |
download | rockbox-e35f8eb603eac34b64b720289851b95cbc68c769.tar.gz rockbox-e35f8eb603eac34b64b720289851b95cbc68c769.zip |
made the player simulator get a "nice" cursor too!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1009 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/menu.c b/apps/menu.c index ab665b8f04..b49bd3a17b 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -59,12 +59,15 @@ void put_cursorxy(int x, int y, bool on) | |||
59 | #ifdef HAVE_LCD_BITMAP | 59 | #ifdef HAVE_LCD_BITMAP |
60 | lcd_bitmap ( bitmap_icons_6x8[Cursor], | 60 | lcd_bitmap ( bitmap_icons_6x8[Cursor], |
61 | x*6, y*8, 4, 8, true); | 61 | x*6, y*8, 4, 8, true); |
62 | #elif defined(SIMULATOR) | ||
63 | unsigned char cursor[] = { 0x7f, 0x3e, 0x1c, 0x08 }; | ||
64 | lcd_bitmap ( cursor, x*6, y*8, 4, 8, true); | ||
62 | #else | 65 | #else |
63 | lcd_puts(x, y, CURSOR_CHAR); | 66 | lcd_puts(x, y, CURSOR_CHAR); |
64 | #endif | 67 | #endif |
65 | } | 68 | } |
66 | else { | 69 | else { |
67 | #ifdef HAVE_LCD_BITMAP | 70 | #if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR) |
68 | /* I use xy here since it needs to disregard the margins */ | 71 | /* I use xy here since it needs to disregard the margins */ |
69 | lcd_clearrect (x*6, y*8, 4, 8); | 72 | lcd_clearrect (x*6, y*8, 4, 8); |
70 | #else | 73 | #else |