diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-05-31 09:04:51 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-31 09:04:51 +0000 |
commit | 9314a68db6d992fcc220e9bd5d8a7278199e2563 (patch) | |
tree | fd57828904990fd9c86cf3bc36899ac20bfdb7a1 /apps/menu.c | |
parent | 3f7d6d5217a3e1a701779ed8adf2152d6fb3f003 (diff) | |
download | rockbox-9314a68db6d992fcc220e9bd5d8a7278199e2563.tar.gz rockbox-9314a68db6d992fcc220e9bd5d8a7278199e2563.zip |
Replaced - cursor with more suitable char for player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@848 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c index a863925eca..b8c652c04a 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -38,6 +38,16 @@ struct menu { #define MENU_LINES 2 #endif +#ifdef HAVE_LCD_BITMAP +#define CURSOR_CHAR "-" +#else +#ifdef HAVE_NEW_CHARCELL_LCD +#define CURSOR_CHAR "\x7e" +#else +#define CURSOR_CHAR "\x89" +#endif +#endif + static struct menu menus[MAX_MENUS]; static bool inuse[MAX_MENUS] = { false }; @@ -57,7 +67,7 @@ static void menu_draw(int m) } /* place the cursor */ - lcd_puts(0, menus[m].cursor - menus[m].top, "-"); + lcd_puts(0, menus[m].cursor - menus[m].top, CURSOR_CHAR); lcd_update(); } @@ -85,7 +95,7 @@ static void put_cursor(int m, int target) } if (do_update) { - lcd_puts(0, menus[m].cursor - menus[m].top, "-"); + lcd_puts(0, menus[m].cursor - menus[m].top, CURSOR_CHAR); lcd_update(); } |