summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-bitmap-common.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-10-10 23:35:03 +0000
committerThomas Martitz <kugel@rockbox.org>2010-10-10 23:35:03 +0000
commit5462ef728fd41a6db4d1d784c478416ceeebf588 (patch)
tree22b41630b2252ec9bb14ee0ec8ee254e105f4b04 /firmware/drivers/lcd-bitmap-common.c
parent8a0152bd4ae638c1fe4917b855fcb9fc6a15202c (diff)
downloadrockbox-5462ef728fd41a6db4d1d784c478416ceeebf588.tar.gz
rockbox-5462ef728fd41a6db4d1d784c478416ceeebf588.zip
Add _rect to {draw,fill}_viewport as suggested by Jonathan Gordon to reduce the chance to confuse it with update_viewport().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28240 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index d242096138..d09d293c26 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -84,7 +84,7 @@ static void lcd_gradient_rect(int x1, int x2, int y, unsigned h,
84/* 84/*
85 * draws the borders of the viewport, or of current_vp if vp == NULL 85 * draws the borders of the viewport, or of current_vp if vp == NULL
86 **/ 86 **/
87void LCDFN(draw_viewport)(const struct viewport *vp) 87void LCDFN(draw_viewport_rect)(const struct viewport *vp)
88{ 88{
89 if (vp == NULL) 89 if (vp == NULL)
90 LCDFN(drawrect)(0, 0, current_vp->width, current_vp->height); 90 LCDFN(drawrect)(0, 0, current_vp->width, current_vp->height);
@@ -95,7 +95,7 @@ void LCDFN(draw_viewport)(const struct viewport *vp)
95/* 95/*
96 * fills the rectangle formed by vp or by current_vp if vp == NULL 96 * fills the rectangle formed by vp or by current_vp if vp == NULL
97 **/ 97 **/
98void LCDFN(fill_viewport)(const struct viewport *vp) 98void LCDFN(fill_viewport_rect)(const struct viewport *vp)
99{ 99{
100 if (vp == NULL) 100 if (vp == NULL)
101 LCDFN(fillrect)(0, 0, current_vp->width, current_vp->height); 101 LCDFN(fillrect)(0, 0, current_vp->width, current_vp->height);