Rename {draw,fill}_viewport once more (to draw_border_viewport and fill_viewport) and remove the viewport parameter as suggested by Dave Chapman.

The parameter wasn't used yet and it's not clear whether it should be a absolute or relative viewport.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28242 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-10-11 01:19:55 +00:00
parent 1f0ab7c9e6
commit 3022a60cc2
9 changed files with 21 additions and 27 deletions

View file

@ -129,7 +129,7 @@ void touchbutton_draw(struct touchbutton *data, int num_buttons) {
}
/* Draw bounding box around the button location. */
lcd->draw_viewport_rect(NULL);
lcd->draw_border_viewport();
}
}
lcd->set_viewport(NULL); /* Go back to the default viewport */