mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CCDraw: add signals into hide() methode
alows to use slots
This commit is contained in:
@@ -633,6 +633,7 @@ void CCDraw::paintFbItems(bool do_save_bg)
|
|||||||
|
|
||||||
void CCDraw::hide()
|
void CCDraw::hide()
|
||||||
{
|
{
|
||||||
|
OnBeforeHide();
|
||||||
//restore saved screen background of item if available
|
//restore saved screen background of item if available
|
||||||
for(size_t i =0; i< v_fbdata.size() ;i++) {
|
for(size_t i =0; i< v_fbdata.size() ;i++) {
|
||||||
if (v_fbdata[i].fbdata_type == CC_FBDATA_TYPE_BGSCREEN){
|
if (v_fbdata[i].fbdata_type == CC_FBDATA_TYPE_BGSCREEN){
|
||||||
@@ -646,6 +647,7 @@ void CCDraw::hide()
|
|||||||
}
|
}
|
||||||
is_painted = false;
|
is_painted = false;
|
||||||
firstPaint = true;
|
firstPaint = true;
|
||||||
|
OnAfterHide();
|
||||||
}
|
}
|
||||||
|
|
||||||
//erase or paint over rendered objects
|
//erase or paint over rendered objects
|
||||||
|
Reference in New Issue
Block a user