CCDraw: add signals into paintFbItems()

This commit is contained in:
2015-12-27 13:40:33 +01:00
parent 4875f81491
commit 6952d85ae9
3 changed files with 13 additions and 3 deletions

View File

@@ -465,6 +465,9 @@ void CCDraw::enablePaintCache(bool enable)
//paint framebuffer layers
void CCDraw::paintFbItems(bool do_save_bg)
{
//pick up signal if filled
OnBeforePaintLayers();
//first modify background handling
enableSaveBg(do_save_bg);
@@ -609,6 +612,8 @@ void CCDraw::paintFbItems(bool do_save_bg)
}
}
}
//pick up signal if filled
OnAfterPaintLayers();
}