mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
framebuffer_ng: implement libsigc++ usage
this is the framebuffer part of upstream commit 0146511f
This commit is contained in:
@@ -508,6 +508,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)
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include <sigc++/signal.h>
|
||||||
|
|
||||||
#define fb_pixel_t uint32_t
|
#define fb_pixel_t uint32_t
|
||||||
|
|
||||||
typedef struct fb_var_screeninfo t_fb_var_screeninfo;
|
typedef struct fb_var_screeninfo t_fb_var_screeninfo;
|
||||||
@@ -75,7 +77,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:
|
||||||
@@ -314,6 +316,7 @@ class CFrameBuffer
|
|||||||
void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }
|
void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }
|
||||||
/* blit() is unnecessary, but here to avoid patches to the neutrino code */
|
/* blit() is unnecessary, but here to avoid patches to the neutrino code */
|
||||||
void blit(void) {}
|
void blit(void) {}
|
||||||
|
sigc::signal<void> OnAfterSetPallette;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user