summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.h
diff options
context:
space:
mode:
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