From 5a4f573bd2c4e7219217284f3d96e6f480146810 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Tue, 21 Nov 2006 12:05:56 +0000 Subject: [PATCH] 2006-11-21 Matthew Allum * psplash.c: (main): Add some more commenting * psplash.doap: Add DOAP file. --- ChangeLog | 7 +++++++ psplash.c | 3 +++ psplash.doap | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 psplash.doap diff --git a/ChangeLog b/ChangeLog index 0b5e7fd..732b5f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-11-21 Matthew Allum + + * psplash.c: (main): + Add some more commenting + * psplash.doap: + Add DOAP file. + 2006-09-28 Matthew Allum * psplash-bar-img.h: diff --git a/psplash.c b/psplash.c index d675a82..f831222 100644 --- a/psplash.c +++ b/psplash.c @@ -227,8 +227,10 @@ main (int argc, char** argv) if ((fb = psplash_fb_new()) == NULL) exit(-1); + /* Clear the background with #ecece1 */ psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, 0xec, 0xec, 0xe1); + /* Draw the OH logo */ psplash_fb_draw_image (fb, (fb->width - HAND_IMG_WIDTH)/2, (fb->height - HAND_IMG_HEIGHT)/2, @@ -237,6 +239,7 @@ main (int argc, char** argv) HAND_IMG_BYTES_PER_PIXEL, HAND_IMG_RLE_PIXEL_DATA); + /* Draw progress bar border */ psplash_fb_draw_image (fb, (fb->width - BAR_IMG_WIDTH)/2, fb->height - (fb->height/6), diff --git a/psplash.doap b/psplash.doap new file mode 100644 index 0000000..ec481e9 --- /dev/null +++ b/psplash.doap @@ -0,0 +1,45 @@ + + + PSplash + 2006-21-11 + + PSplash is a graphcial boot screen + + + + PSplash is a userspace graphical boot splash screen for mainly + embedded devices supporting a 16bpp framebuffer. It also + includes a 'client' command utility for sending information to + psplash such as boot progress information. + + + + + + linux + C + + + + + + Matthew Allum + + + + + + Matthew Allum + + + + + + + + + + + -- 2.7.4