From 5462ef728fd41a6db4d1d784c478416ceeebf588 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 10 Oct 2010 23:35:03 +0000 Subject: 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 --- apps/plugins/lib/pluginlib_touchscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins') diff --git a/apps/plugins/lib/pluginlib_touchscreen.c b/apps/plugins/lib/pluginlib_touchscreen.c index 3920b8ec18..8b559a4c48 100644 --- a/apps/plugins/lib/pluginlib_touchscreen.c +++ b/apps/plugins/lib/pluginlib_touchscreen.c @@ -129,7 +129,7 @@ void touchbutton_draw(struct touchbutton *data, int num_buttons) { } /* Draw bounding box around the button location. */ - lcd->draw_viewport(NULL); + lcd->draw_viewport_rect(NULL); } } lcd->set_viewport(NULL); /* Go back to the default viewport */ -- cgit v1.2.3