projects
/
profile
/
ivi
/
psplash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8ebee6
)
psplash: Apply logo centering patch from Paul Sokolovsky
author
Richard Purdie
<richard.purdie@linuxfoundation.org>
Tue, 13 Jul 2010 11:26:37 +0000
(11:26 +0000)
committer
Richard Purdie
<richard.purdie@linuxfoundation.org>
Tue, 13 Jul 2010 11:26:37 +0000
(11:26 +0000)
psplash.c
patch
|
blob
|
history
diff --git
a/psplash.c
b/psplash.c
index
54a65cf
..
2eaa11e
100644
(file)
--- a/
psplash.c
+++ b/
psplash.c
@@
-266,10
+266,10
@@
main (int argc, char** argv)
/* Clear the background with #ecece1 */
psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, 0xec, 0xec, 0xe1);
- /* Draw the
OH
logo */
+ /* Draw the
Poky
logo */
psplash_fb_draw_image (fb,
(fb->width - POKY_IMG_WIDTH)/2,
- (
fb->height - POKY_IMG_HEIGHT)/2,
+ (
(fb->height * 5) / 6 - POKY_IMG_HEIGHT)/2,
POKY_IMG_WIDTH,
POKY_IMG_HEIGHT,
POKY_IMG_BYTES_PER_PIXEL,