]> git.kernelconcepts.de Git - meta-kc-bsp.git/blob - recipes-bsp/psplash/files/kc-bg.patch
psplash-mucross: Add µCross modified psplash.
[meta-kc-bsp.git] / recipes-bsp / psplash / files / kc-bg.patch
1 --- psplash/psplash.c~  2008-08-14 14:58:01.000000000 +0200
2 +++ psplash/psplash.c   2008-08-14 14:58:01.000000000 +0200
3 @@ -49,7 +49,7 @@
4                         fb->height - (fb->height/6) - h, 
5                         fb->width,
6                         h,
7 -                       0xec, 0xec, 0xe1);
8 +                       0xff, 0xff, 0xff);
9  
10    psplash_fb_draw_text (fb,
11                         (fb->width-w)/2, 
12 @@ -75,7 +75,7 @@
13        barwidth = (CLAMP(value,0,100) * width) / 100;
14        psplash_fb_draw_rect (fb, x + barwidth, y, 
15                         width - barwidth, height,
16 -                       0xec, 0xec, 0xe1);
17 +                       0xec, 0xec, 0xe1);
18        psplash_fb_draw_rect (fb, x, y, barwidth,
19                             height, 0x6d, 0x6d, 0x70);
20      }
21 @@ -84,7 +84,7 @@
22        barwidth = (CLAMP(-value,0,100) * width) / 100;
23        psplash_fb_draw_rect (fb, x, y, 
24                         width - barwidth, height,
25 -                       0xec, 0xec, 0xe1);
26 +                       0xec, 0xec, 0xe1);
27        psplash_fb_draw_rect (fb, x + width - barwidth,
28                             y, barwidth, height,
29                             0x6d, 0x6d, 0x70);
30 @@ -253,7 +253,7 @@
31      exit(-1);
32  
33    /* Clear the background with #ecece1 */
34 -  psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, 0xec, 0xec, 0xe1);
35 +  psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, 0xff, 0xff, 0xff);
36  
37    /* Draw the OH logo  */
38    psplash_fb_draw_image (fb,