2006-11-21 Matthew Allum <mallum@openedhand.com>
authorMatthew Allum <mallum@openedhand.com>
Tue, 21 Nov 2006 12:05:56 +0000 (12:05 +0000)
committerMatthew Allum <mallum@openedhand.com>
Tue, 21 Nov 2006 12:05:56 +0000 (12:05 +0000)
        * psplash.c: (main):
        Add some more commenting
        * psplash.doap:
        Add DOAP file.

ChangeLog
psplash.c
psplash.doap [new file with mode: 0644]

index 0b5e7fd..732b5f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-11-21  Matthew Allum  <mallum@openedhand.com>
+
+       * psplash.c: (main):
+       Add some more commenting
+       * psplash.doap:
+       Add DOAP file.
+
 2006-09-28  Matthew Allum  <mallum@openedhand.com>
 
        * psplash-bar-img.h:
index d675a82..f831222 100644 (file)
--- 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 (file)
index 0000000..ec481e9
--- /dev/null
@@ -0,0 +1,45 @@
+<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+       xmlns:foaf="http://xmlns.com/foaf/0.1/"
+       xmlns="http://usefulinc.com/ns/doap#">
+
+       <name>PSplash</name>
+       <created>2006-21-11</created>
+
+       <shortdesc xml:lang="en">PSplash is a graphcial boot screen</shortdesc>
+
+       <description xml:lang="en"> 
+
+       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.
+
+       </description>
+
+       <license rdf:resource="http://usefulinc.com/doap/licenses/gpl" />
+        <bug-database rdf:resource="http://bugzilla.o-hand.com/enter_bug.cgi?product=psplash"/>
+        <os>linux</os>
+        <programming-language>C</programming-language>
+        <category rdf:resource="http://labs.o-hand.com/doap/category/system"/>
+        <category rdf:resource="http://labs.o-hand.com/doap/category/graphics"/>
+
+       <maintainer>
+               <foaf:Person>
+                       <foaf:name>Matthew Allum</foaf:name>
+               </foaf:Person>
+       </maintainer>
+
+       <author>
+               <foaf:Person>
+                       <foaf:name>Matthew Allum</foaf:name>
+               </foaf:Person>
+       </author>
+
+        <repository>
+               <SVNRepository>
+                       <browse rdf:resource="http://svn.o-hand.com/view/misc/trunk/psplash"/>
+                       <location rdf:resource="https://svn.o-hand.com/repos/misc/trunk/psplash"/>
+               </SVNRepository>
+        </repository>
+
+</Project>