diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-10-10 23:35:03 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-10-10 23:35:03 +0000 |
commit | 5462ef728fd41a6db4d1d784c478416ceeebf588 (patch) | |
tree | 22b41630b2252ec9bb14ee0ec8ee254e105f4b04 /apps/plugins | |
parent | 8a0152bd4ae638c1fe4917b855fcb9fc6a15202c (diff) | |
download | rockbox-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 'apps/plugins')
-rw-r--r-- | apps/plugins/lib/pluginlib_touchscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
129 | } | 129 | } |
130 | 130 | ||
131 | /* Draw bounding box around the button location. */ | 131 | /* Draw bounding box around the button location. */ |
132 | lcd->draw_viewport(NULL); | 132 | lcd->draw_viewport_rect(NULL); |
133 | } | 133 | } |
134 | } | 134 | } |
135 | lcd->set_viewport(NULL); /* Go back to the default viewport */ | 135 | lcd->set_viewport(NULL); /* Go back to the default viewport */ |