summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.h
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 /apps/screen_access.h
parent8a0152bd4ae638c1fe4917b855fcb9fc6a15202c (diff)
downloadrockbox-5462ef728fd41a6db4d1d784c478416ceeebf588.tar.gz
rockbox-5462ef728fd41a6db4d1d784c478416ceeebf588.tar.bz2
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/screen_access.h')
-rw-r--r--apps/screen_access.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index fb7aa7bd26..6a4750dbb0 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -117,8 +117,8 @@ struct screen
void (*update_viewport_rect)(int x, int y, int width, int height);
void (*fillrect)(int x, int y, int width, int height);
void (*drawrect)(int x, int y, int width, int height);
- void (*fill_viewport)(const struct viewport *vp);
- void (*draw_viewport)(const struct viewport *vp);
+ void (*fill_viewport_rect)(const struct viewport *vp);
+ void (*draw_viewport_rect)(const struct viewport *vp);
void (*drawpixel)(int x, int y);
void (*drawline)(int x1, int y1, int x2, int y2);
void (*vline)(int x, int y1, int y2);