2006-09-28 Matthew Allum <mallum@openedhand.com>
authorMatthew Allum <mallum@openedhand.com>
Thu, 28 Sep 2006 16:59:02 +0000 (16:59 +0000)
committerMatthew Allum <mallum@openedhand.com>
Thu, 28 Sep 2006 16:59:02 +0000 (16:59 +0000)
        * psplash.c: (psplash_draw_progress), (main):
        img positioning tweaks.

ChangeLog
psplash.c

index 68f5771..f4d60b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-09-28  Matthew Allum  <mallum@openedhand.com>
 
+       * psplash.c: (psplash_draw_progress), (main):
+       img positioning tweaks.
+
+2006-09-28  Matthew Allum  <mallum@openedhand.com>
+
        * Makefile.am:
        * make-image-header.sh:
        * psplash-bar-img.h:
index 57778b8..dc917b9 100644 (file)
--- a/psplash.c
+++ b/psplash.c
@@ -68,7 +68,7 @@ psplash_draw_progress (PSplashFB *fb, int value)
   x      = ((fb->width  - BAR_IMG_WIDTH)/2) + 4 ;
   y      = fb->height - (fb->height/8) + 4;
   width  = BAR_IMG_WIDTH - 8; 
-  height = BAR_IMG_WIDTH - 8;
+  height = BAR_IMG_HEIGHT - 8;
 
   value = CLAMP(value,0,100);
 
@@ -231,7 +231,7 @@ main (int argc, char** argv)
 
   psplash_fb_draw_image (fb, 
                         (fb->width  - HAND_IMG_WIDTH)/2, 
-                        (fb->height - HAND_IMG_HEIGHT)/4
+                        (fb->height - HAND_IMG_HEIGHT)/2
                         HAND_IMG_WIDTH,
                         HAND_IMG_HEIGHT,
                         HAND_IMG_BYTES_PER_PIXEL,