summaryrefslogtreecommitdiff
path: root/apps/plugins/calendar.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-12 09:51:16 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-12 09:51:16 +0000
commitfef82552e19efd2f2a7c5918c650bbf39bfd454d (patch)
tree2f5676473bfc91b565b5825e053bacc93f8ad607 /apps/plugins/calendar.c
parentb6213bbf9889134c17065dc257c3cc08c7478490 (diff)
downloadrockbox-fef82552e19efd2f2a7c5918c650bbf39bfd454d.zip
rockbox-fef82552e19efd2f2a7c5918c650bbf39bfd454d.tar.gz
rockbox-fef82552e19efd2f2a7c5918c650bbf39bfd454d.tar.bz2
rockbox-fef82552e19efd2f2a7c5918c650bbf39bfd454d.tar.xz
Optimise some more line drawing calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17083 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r--apps/plugins/calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index 8ed6122..8798406 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -114,7 +114,7 @@ static void draw_headers(void)
rb->lcd_putsxy(ws, 0 , Dayname[i++]);
ws += space;
}
- rb->lcd_drawline(0 ,h ,LCD_WIDTH-1 ,h);
+ rb->lcd_hline(0, LCD_WIDTH-1 ,h);
}
static bool day_has_memo[31];
@@ -170,8 +170,8 @@ static void draw_calendar(struct shown *shown)
ws = 2;
}
}
- rb->lcd_drawline(60,LCD_HEIGHT-h-3,60,LCD_HEIGHT-1);
- rb->lcd_drawline(60,LCD_HEIGHT-h-3,LCD_WIDTH-1,LCD_HEIGHT-h-3);
+ rb->lcd_vline(60,LCD_HEIGHT-h-3,LCD_HEIGHT-1);
+ rb->lcd_hline(60,LCD_WIDTH-1,LCD_HEIGHT-h-3);
rb->snprintf(buffer,9,"%s %04d",Monthname[shown->mon-1],shown->year);
rb->lcd_putsxy(62,(LCD_HEIGHT-h-1),buffer);
shown->lastday = pos;