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.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.h | 4 |
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)) |