From e0622ab588583d1148af54c0e856ae63339a3491 Mon Sep 17 00:00:00 2001 From: Ben Basha Date: Fri, 10 Feb 2006 13:57:11 +0000 Subject: 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 --- apps/gui/gwps.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/gui/gwps.h') 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{ bool display; /* is to be displayed */ bool always_display; /* not using the preload/display mechanism */ }; + +struct prog_img{ /*progressbar image*/ + struct bitmap bm; + bool have_bitmap_pb; +}; #endif struct align_pos { @@ -293,6 +298,7 @@ struct wps_data { #ifdef HAVE_LCD_BITMAP struct gui_img img[MAX_IMAGES]; + struct prog_img progressbar; unsigned char img_buf[IMG_BUFSIZE]; unsigned char* img_buf_ptr; int img_buf_free; -- cgit v1.2.3