raw icon cache

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@185 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 4b6f060fb7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-01-19 (Tue, 19 Jan 2010)
This commit is contained in:
[CST] Focus
2010-01-19 15:24:02 +00:00
parent 36510a188c
commit da64dd613d
2 changed files with 77 additions and 4 deletions

View File

@@ -31,6 +31,7 @@
#include <stdint.h>
#include <string>
#include <map>
#define fb_pixel_t uint32_t
@@ -75,6 +76,14 @@ class CFrameBuffer
uint8_t transp;
} __attribute__ ((packed));
struct rawIcon
{
uint16_t width;
uint16_t height;
uint8_t transp;
uint8_t * data;
};
std::string iconBasePath;
int fd, tty;
@@ -103,6 +112,8 @@ class CFrameBuffer
volatile uint8_t *gxa_base; /* base address for the GXA's register access */
#endif /* USE_NEVIS_GXA */
bool locked;
std::map<std::string, rawIcon> icon_cache;
public:
#ifndef FB_USE_PALETTE
fb_pixel_t realcolor[256];