aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--psplash.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 68f5771..f4d60b9 100644
--- 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:
diff --git a/psplash.c b/psplash.c
index 57778b8..dc917b9 100644
--- 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,