summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-01-28 12:12:42 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-01-28 12:12:42 +0000
commit745adad22a3803e7d7f3c14ba7ae2f8d3accb75a (patch)
tree644ae59e3b53daf9b534893763d2d0d7610f91fa /apps/gui/gwps.h
parent9bd06032a37c60b17ae1643677ddc9a56a46d67f (diff)
downloadrockbox-745adad22a3803e7d7f3c14ba7ae2f8d3accb75a.tar.gz
rockbox-745adad22a3803e7d7f3c14ba7ae2f8d3accb75a.zip
Color BMP support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps.h')
-rw-r--r--apps/gui/gwps.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h
index eb976c9220..8cd4c8f63e 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -255,11 +255,9 @@ extern bool keys_locked;
255 255
256#ifdef HAVE_LCD_BITMAP 256#ifdef HAVE_LCD_BITMAP
257struct gui_img{ 257struct gui_img{
258 unsigned char* ptr; /* pointer */ 258 struct bitmap bm;
259 int x; /* x-pos */ 259 int x; /* x-pos */
260 int y; /* y-pos */ 260 int y; /* y-pos */
261 int w; /* width */
262 int h; /* height */
263 bool loaded; /* load state */ 261 bool loaded; /* load state */
264 bool display; /* is to be displayed */ 262 bool display; /* is to be displayed */
265 bool always_display; /* not using the preload/display mechanism */ 263 bool always_display; /* not using the preload/display mechanism */
@@ -274,7 +272,7 @@ struct align_pos {
274 272
275#ifdef HAVE_LCD_BITMAP 273#ifdef HAVE_LCD_BITMAP
276#define MAX_IMAGES (26*2) /* a-z and A-Z */ 274#define MAX_IMAGES (26*2) /* a-z and A-Z */
277#define IMG_BUFSIZE (LCD_HEIGHT * LCD_WIDTH * MAX_IMAGES/10) / 8 275#define IMG_BUFSIZE (LCD_HEIGHT * LCD_WIDTH * MAX_IMAGES/10)
278#define WPS_MAX_LINES (LCD_HEIGHT/5+1) 276#define WPS_MAX_LINES (LCD_HEIGHT/5+1)
279#define FORMAT_BUFFER_SIZE 3072 277#define FORMAT_BUFFER_SIZE 3072
280#else 278#else