summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.h
diff options
context:
space:
mode:
authorBen Basha <benbasha@rockbox.org>2006-02-10 13:57:11 +0000
committerBen Basha <benbasha@rockbox.org>2006-02-10 13:57:11 +0000
commite0622ab588583d1148af54c0e856ae63339a3491 (patch)
tree89ee56eb249b4a02399690e35ea3d08d031ffcb9 /apps/gui/gwps.h
parent1e385fdaeb7f21d70c8f2dea180ce75461ac27b9 (diff)
downloadrockbox-e0622ab588583d1148af54c0e856ae63339a3491.tar.gz
rockbox-e0622ab588583d1148af54c0e856ae63339a3491.zip
add a bitmap progress bar option + add %P|filename.bmp| tag to the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8648 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps.h')
-rw-r--r--apps/gui/gwps.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h
index 4d586147af..2f63a4d1e4 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -263,6 +263,11 @@ struct gui_img{
263 bool display; /* is to be displayed */ 263 bool display; /* is to be displayed */
264 bool always_display; /* not using the preload/display mechanism */ 264 bool always_display; /* not using the preload/display mechanism */
265}; 265};
266
267struct prog_img{ /*progressbar image*/
268 struct bitmap bm;
269 bool have_bitmap_pb;
270};
266#endif 271#endif
267 272
268struct align_pos { 273struct align_pos {
@@ -293,6 +298,7 @@ struct wps_data
293{ 298{
294#ifdef HAVE_LCD_BITMAP 299#ifdef HAVE_LCD_BITMAP
295 struct gui_img img[MAX_IMAGES]; 300 struct gui_img img[MAX_IMAGES];
301 struct prog_img progressbar;
296 unsigned char img_buf[IMG_BUFSIZE]; 302 unsigned char img_buf[IMG_BUFSIZE];
297 unsigned char* img_buf_ptr; 303 unsigned char* img_buf_ptr;
298 int img_buf_free; 304 int img_buf_free;