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
This commit is contained in:
Thomas Martitz 2010-10-10 23:35:03 +00:00
parent 8a0152bd4a
commit 5462ef728f
9 changed files with 17 additions and 17 deletions

View file

@ -84,7 +84,7 @@ static void lcd_gradient_rect(int x1, int x2, int y, unsigned h,
/*
* draws the borders of the viewport, or of current_vp if vp == NULL
**/
void LCDFN(draw_viewport)(const struct viewport *vp)
void LCDFN(draw_viewport_rect)(const struct viewport *vp)
{
if (vp == NULL)
LCDFN(drawrect)(0, 0, current_vp->width, current_vp->height);
@ -95,7 +95,7 @@ void LCDFN(draw_viewport)(const struct viewport *vp)
/*
* fills the rectangle formed by vp or by current_vp if vp == NULL
**/
void LCDFN(fill_viewport)(const struct viewport *vp)
void LCDFN(fill_viewport_rect)(const struct viewport *vp)
{
if (vp == NULL)
LCDFN(fillrect)(0, 0, current_vp->width, current_vp->height);