summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-04-04 12:32:37 +0000
committerDave Chapman <dave@dchapman.com>2008-04-04 12:32:37 +0000
commitaa9dbfef190d1789213ba51b9683cfddfd2c0417 (patch)
tree3090dc16dea9145e3e752a0ff51a0281021dc949
parentfc89f233c70a6e1e829663461630802183c6b3d2 (diff)
downloadrockbox-aa9dbfef190d1789213ba51b9683cfddfd2c0417.tar.gz
rockbox-aa9dbfef190d1789213ba51b9683cfddfd2c0417.zip
Add a comment to clarify how the WPS image buffer size is calculated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16961 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/gwps.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h
index 127fd99511..8d0cc00dc0 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -85,6 +85,10 @@ struct align_pos {
85#ifdef HAVE_LCD_BITMAP 85#ifdef HAVE_LCD_BITMAP
86 86
87#define MAX_IMAGES (26*2) /* a-z and A-Z */ 87#define MAX_IMAGES (26*2) /* a-z and A-Z */
88
89/* The image buffer is big enough to store one full-screen native bitmap,
90 plus two full-screen mono bitmaps. */
91
88#define IMG_BUFSIZE ((LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \ 92#define IMG_BUFSIZE ((LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
89 + (2*LCD_HEIGHT*LCD_WIDTH/8)) 93 + (2*LCD_HEIGHT*LCD_WIDTH/8))
90 94