Disable progress bar and center logo 84/10084/1
authorMikko Ylinen <mikko.ylinen@intel.com>
Tue, 17 Sep 2013 14:53:02 +0000 (17:53 +0300)
committerMikko Ylinen <mikko.ylinen@intel.com>
Tue, 17 Sep 2013 14:53:02 +0000 (17:53 +0300)
Change-Id: Ie36d33f80e656a0e098dabc45f2d2fb911a45b8b
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
psplash.c

index 09cf0d0..e7381ba 100644 (file)
--- a/psplash.c
+++ b/psplash.c
@@ -270,12 +270,12 @@ main (int argc, char** argv)
   /* Draw the Poky logo  */
   psplash_fb_draw_image (fb, 
                         (fb->width  - POKY_IMG_WIDTH)/2, 
-                        ((fb->height * 5) / 6 - POKY_IMG_HEIGHT)/2,
+                        (fb->height - POKY_IMG_HEIGHT)/2,
                         POKY_IMG_WIDTH,
                         POKY_IMG_HEIGHT,
                         POKY_IMG_BYTES_PER_PIXEL,
                         POKY_IMG_RLE_PIXEL_DATA);
-
+#if 0
   /* Draw progress bar border */
   psplash_fb_draw_image (fb, 
                         (fb->width  - BAR_IMG_WIDTH)/2, 
@@ -288,6 +288,7 @@ main (int argc, char** argv)
   psplash_draw_progress (fb, 0);
 
   psplash_draw_msg (fb, MSG);
+#endif
 
   psplash_main (fb, pipe_fd, 0);