diff options
author | Dave Chapman <dave@dchapman.com> | 2008-04-04 12:32:37 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-04-04 12:32:37 +0000 |
commit | aa9dbfef190d1789213ba51b9683cfddfd2c0417 (patch) | |
tree | 3090dc16dea9145e3e752a0ff51a0281021dc949 /apps | |
parent | fc89f233c70a6e1e829663461630802183c6b3d2 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/gwps.h | 4 |
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 | ||