mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-12 07:53:37 +02:00
framebuffer_ng: Add OnAfterSetPallette()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 72b8f8e976
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-19 (Fri, 19 Aug 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -511,6 +511,7 @@ void CFrameBuffer::paletteSet(struct fb_cmap *map)
|
|||||||
realcolor[i] = make16color(cmap.red[i], cmap.green[i], cmap.blue[i], cmap.transp[i],
|
realcolor[i] = make16color(cmap.red[i], cmap.green[i], cmap.blue[i], cmap.transp[i],
|
||||||
rl, ro, gl, go, bl, bo, tl, to);
|
rl, ro, gl, go, bl, bo, tl, to);
|
||||||
}
|
}
|
||||||
|
OnAfterSetPallette();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CFrameBuffer::paintHLineRelInternal2Buf(const int& x, const int& dx, const int& y, const int& box_dx, const fb_pixel_t& col, fb_pixel_t* buf)
|
void CFrameBuffer::paintHLineRelInternal2Buf(const int& x, const int& dx, const int& y, const int& box_dx, const fb_pixel_t& col, fb_pixel_t* buf)
|
||||||
|
@@ -34,6 +34,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <sigc++/signal.h>
|
||||||
|
|
||||||
#define fb_pixel_t uint32_t
|
#define fb_pixel_t uint32_t
|
||||||
|
|
||||||
@@ -75,7 +76,7 @@ typedef struct gradientData_t
|
|||||||
|
|
||||||
class CFbAccel;
|
class CFbAccel;
|
||||||
/** Ausfuehrung als Singleton */
|
/** Ausfuehrung als Singleton */
|
||||||
class CFrameBuffer
|
class CFrameBuffer : public sigc::trackable
|
||||||
{
|
{
|
||||||
friend class CFbAccel;
|
friend class CFbAccel;
|
||||||
private:
|
private:
|
||||||
@@ -323,6 +324,7 @@ class CFrameBuffer
|
|||||||
void paintVLineRelInternal(int x, int y, int dy, const fb_pixel_t col);
|
void paintVLineRelInternal(int x, int y, int dy, const fb_pixel_t col);
|
||||||
void paintHLineRelInternal(int x, int dx, int y, const fb_pixel_t col);
|
void paintHLineRelInternal(int x, int dx, int y, const fb_pixel_t col);
|
||||||
#endif
|
#endif
|
||||||
|
sigc::signal<void> OnAfterSetPallette;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user