mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
Fix icons
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@127 e54a6e83-5905-42d5-8d5c-058d10e6a962
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;
|
uint8_t * d = ((uint8_t *)getFrameBufferPointer()) + x * sizeof(fb_pixel_t) + stride * y;
|
||||||
fb_pixel_t * d2;
|
fb_pixel_t * d2;
|
||||||
for (int count=0; count<height; count ++ ) {
|
for (int count=0; count<height; count ++ ) {
|
||||||
read(fd, &pixbuf[0], width );
|
read(lfd, &pixbuf[0], width );
|
||||||
unsigned char *pixpos = &pixbuf[0];
|
unsigned char *pixpos = &pixbuf[0];
|
||||||
d2 = (fb_pixel_t *) d;
|
d2 = (fb_pixel_t *) d;
|
||||||
for (int count2=0; count2<width; count2 ++ ) {
|
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;
|
uint8_t * d = ((uint8_t *)getFrameBufferPointer()) + x * sizeof(fb_pixel_t) + stride * yy;
|
||||||
fb_pixel_t * d2;
|
fb_pixel_t * d2;
|
||||||
for (int count=0; count<height; count ++ ) {
|
for (int count=0; count<height; count ++ ) {
|
||||||
read(fd, &pixbuf[0], width >> 1 );
|
read(lfd, &pixbuf[0], width >> 1 );
|
||||||
unsigned char *pixpos = &pixbuf[0];
|
unsigned char *pixpos = &pixbuf[0];
|
||||||
d2 = (fb_pixel_t *) d;
|
d2 = (fb_pixel_t *) d;
|
||||||
for (int count2=0; count2<width >> 1; count2 ++ ) {
|
for (int count2=0; count2<width >> 1; count2 ++ ) {
|
||||||
|
Reference in New Issue
Block a user