diff --git a/src/driver/framebuffer_ng.cpp b/src/driver/framebuffer_ng.cpp index 96dbbc206..946f79aa4 100644 --- a/src/driver/framebuffer_ng.cpp +++ b/src/driver/framebuffer_ng.cpp @@ -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], 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) diff --git a/src/driver/framebuffer_ng.h b/src/driver/framebuffer_ng.h index b3616cdc5..736db44e9 100644 --- a/src/driver/framebuffer_ng.h +++ b/src/driver/framebuffer_ng.h @@ -35,6 +35,8 @@ #include #include +#include + #define fb_pixel_t uint32_t typedef struct fb_var_screeninfo t_fb_var_screeninfo; @@ -75,7 +77,7 @@ typedef struct gradientData_t class CFbAccel; /** Ausfuehrung als Singleton */ -class CFrameBuffer +class CFrameBuffer : public sigc::trackable { friend class CFbAccel; private: @@ -314,6 +316,7 @@ class CFrameBuffer void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; } /* blit() is unnecessary, but here to avoid patches to the neutrino code */ void blit(void) {} + sigc::signal OnAfterSetPallette; }; #endif