summaryrefslogtreecommitdiff
path: root/apps
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 /apps
parentfc89f233c70a6e1e829663461630802183c6b3d2 (diff)
downloadrockbox-aa9dbfef190d1789213ba51b9683cfddfd2c0417.zip
rockbox-aa9dbfef190d1789213ba51b9683cfddfd2c0417.tar.gz
rockbox-aa9dbfef190d1789213ba51b9683cfddfd2c0417.tar.bz2
rockbox-aa9dbfef190d1789213ba51b9683cfddfd2c0417.tar.xz
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
Diffstat (limited to 'apps')
-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 127fd99..8d0cc00 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -85,6 +85,10 @@ struct align_pos {
#ifdef HAVE_LCD_BITMAP
#define MAX_IMAGES (26*2) /* a-z and A-Z */
+
+/* The image buffer is big enough to store one full-screen native bitmap,
+ plus two full-screen mono bitmaps. */
+
#define IMG_BUFSIZE ((LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
+ (2*LCD_HEIGHT*LCD_WIDTH/8))