From aa9dbfef190d1789213ba51b9683cfddfd2c0417 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Fri, 4 Apr 2008 12:32:37 +0000 Subject: 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 --- apps/gui/gwps.h | 4 ++++ 1 file changed, 4 insertions(+) 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 { #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)) -- cgit v1.2.3