CCDraw: add signals into hide() methode

alows to use slots


Origin commit data
------------------
Branch: ni/coolstream
Commit: 78259c6ec3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-17 (Mon, 17 Oct 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-10-17 21:10:16 +02:00
parent 6380202ff4
commit 06a58a6704

View File

@@ -633,6 +633,7 @@ void CCDraw::paintFbItems(bool do_save_bg)
void CCDraw::hide()
{
OnBeforeHide();
//restore saved screen background of item if available
for(size_t i =0; i< v_fbdata.size() ;i++) {
if (v_fbdata[i].fbdata_type == CC_FBDATA_TYPE_BGSCREEN){
@@ -646,6 +647,7 @@ void CCDraw::hide()
}
is_painted = false;
firstPaint = true;
OnAfterHide();
}
//erase or paint over rendered objects