CCDraw: add signals into paintFbItems()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6952d85ae9
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-27 (Sun, 27 Dec 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-12-27 13:40:33 +01:00
parent e70e09036c
commit 8b6edba743
3 changed files with 13 additions and 3 deletions

View File

@@ -26,6 +26,7 @@
#define __CC_DRAW__
#include "cc_types.h"
#include "cc_signals.h"
#include <driver/colorgradient.h>
#include <driver/fade.h>
#include <gui/color.h>
@@ -35,7 +36,7 @@
Basic paint attributes and member functions for component classes
*/
class CCDraw : public COSDFader
class CCDraw : public COSDFader, public CComponentsSignals
{
protected:
///pixel buffer handling, returns pixel buffer depends of given parameters
@@ -294,6 +295,11 @@ class CCDraw : public COSDFader
///paint item, same like paint(CC_SAVE_SCREEN_NO) but without any argument
virtual void paint0(){paint(CC_SAVE_SCREEN_NO);}
///signal on before paint fb layers, called inside paintFbItems()
sigc::signal<void> OnBeforePaintLayers;
///signal on after paint fb layers, called inside paintFbItems()
sigc::signal<void> OnAfterPaintLayers;
/*!
Removes current item from screen and
restore last displayed background before item was painted and