mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
Testing GXA icon blit; Cleanup FB and pictureviwer code; This is work in progress, any bugs possible
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@258 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 2f6462c65d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-02-04 (Thu, 04 Feb 2010)
This commit is contained in:
@@ -116,9 +116,7 @@ class CFrameBuffer
|
||||
int cache_size;
|
||||
|
||||
public:
|
||||
#ifndef FB_USE_PALETTE
|
||||
fb_pixel_t realcolor[256];
|
||||
#endif
|
||||
|
||||
~CFrameBuffer();
|
||||
|
||||
@@ -156,11 +154,7 @@ class CFrameBuffer
|
||||
//paint functions
|
||||
inline void paintPixel(fb_pixel_t * const dest, const uint8_t color) const
|
||||
{
|
||||
#ifdef FB_USE_PALETTE
|
||||
*dest = color;
|
||||
#else
|
||||
*dest = realcolor[color];
|
||||
#endif
|
||||
};
|
||||
void paintPixel(int x, int y, const fb_pixel_t col);
|
||||
|
||||
@@ -209,7 +203,7 @@ class CFrameBuffer
|
||||
void SaveScreen(int x, int y, int dx, int dy, fb_pixel_t * const memp);
|
||||
void RestoreScreen(int x, int y, int dx, int dy, fb_pixel_t * const memp);
|
||||
|
||||
void ClearFrameBuffer();
|
||||
void Clear();
|
||||
void showFrame(const std::string & filename);
|
||||
bool loadBackgroundPic(const std::string & filename, bool show = true);
|
||||
bool Lock(void);
|
||||
@@ -221,6 +215,7 @@ class CFrameBuffer
|
||||
#else
|
||||
inline void waitForIdle(void) {};
|
||||
#endif
|
||||
bool blitToPrimary(unsigned int * data, int dx, int dy, int sw, int sh);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user