mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
Fix icons
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@127 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: ad9c2f2d84
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2009-12-30 (Wed, 30 Dec 2009)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -921,7 +921,7 @@ bool CFrameBuffer::paintIcon8(const std::string & filename, const int x, const i
|
||||
uint8_t * d = ((uint8_t *)getFrameBufferPointer()) + x * sizeof(fb_pixel_t) + stride * y;
|
||||
fb_pixel_t * d2;
|
||||
for (int count=0; count<height; count ++ ) {
|
||||
read(fd, &pixbuf[0], width );
|
||||
read(lfd, &pixbuf[0], width );
|
||||
unsigned char *pixpos = &pixbuf[0];
|
||||
d2 = (fb_pixel_t *) d;
|
||||
for (int count2=0; count2<width; count2 ++ ) {
|
||||
@@ -991,7 +991,7 @@ bool CFrameBuffer::paintIcon(const std::string & filename, const int x, const in
|
||||
uint8_t * d = ((uint8_t *)getFrameBufferPointer()) + x * sizeof(fb_pixel_t) + stride * yy;
|
||||
fb_pixel_t * d2;
|
||||
for (int count=0; count<height; count ++ ) {
|
||||
read(fd, &pixbuf[0], width >> 1 );
|
||||
read(lfd, &pixbuf[0], width >> 1 );
|
||||
unsigned char *pixpos = &pixbuf[0];
|
||||
d2 = (fb_pixel_t *) d;
|
||||
for (int count2=0; count2<width >> 1; count2 ++ ) {
|
||||
|
Reference in New Issue
Block a user