diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-13 09:13:47 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-13 09:13:47 +0000 |
| commit | 24c8da0b56c5961d948bf85d2a1b25dffd6f9c00 (patch) | |
| tree | a1885cf4facfcb96fc04abe944d3f1a1db7b0c9b | |
| parent | cd2d62c690d68b3243f7619ec2c917a6936f3390 (diff) | |
| download | rockbox-24c8da0b56c5961d948bf85d2a1b25dffd6f9c00.zip rockbox-24c8da0b56c5961d948bf85d2a1b25dffd6f9c00.tar.gz rockbox-24c8da0b56c5961d948bf85d2a1b25dffd6f9c00.tar.bz2 rockbox-24c8da0b56c5961d948bf85d2a1b25dffd6f9c00.tar.xz | |
remove put_cursorxy() which is not used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12296 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/menu.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/apps/menu.c b/apps/menu.c index a084871..f1738e7 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -322,44 +322,6 @@ void menu_draw(int m) gui_synclist_draw(&(menus[m].synclist)); } -/* count in letter positions, NOT pixels */ -void put_cursorxy(int x, int y, bool on) -{ -#ifdef HAVE_LCD_BITMAP - int fh, fw; - int xpos, ypos; - - /* check here instead of at every call (ugly, but cheap) */ - if (global_settings.invert_cursor) - return; - - lcd_getstringsize((unsigned char *)"A", &fw, &fh); - xpos = x*6; - ypos = y*fh + lcd_getymargin(); - if ( fh > 8 ) - ypos += (fh - 8) / 2; -#endif - - /* place the cursor */ - if(on) { -#ifdef HAVE_LCD_BITMAP - lcd_mono_bitmap(bitmap_icons_6x8[Icon_Cursor], xpos, ypos, 4, 8); -#else - lcd_putc(x, y, CURSOR_CHAR); -#endif - } - else { -#if defined(HAVE_LCD_BITMAP) - /* I use xy here since it needs to disregard the margins */ - lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); - lcd_fillrect (xpos, ypos, 4, 8); - lcd_set_drawmode(DRMODE_SOLID); -#else - lcd_putc(x, y, ' '); -#endif - } -} - /******************************************************************/ /* New menu stuff here!! ******************************************************************/ |