CComponents: replace clear() with clearFbData(), remove cleanCCForm()

clear() replaces now clearCCItems() and cleanCCForm() is superfluous.


Origin commit data
------------------
Branch: ni/coolstream
Commit: ed7a2fd625
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-07 (Tue, 07 Jan 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-01-07 09:41:06 +01:00
parent aa65694193
commit 36e40e2a67
8 changed files with 14 additions and 24 deletions

View File

@@ -44,7 +44,7 @@ CComponents::~CComponents()
{
hide();
clearSavedScreen();
clear();
clearFbData();
}
void CComponents::clearSavedScreen()
@@ -196,7 +196,7 @@ inline void CComponents::hide()
}
}
clear();
clearFbData();
is_painted = false;
}
@@ -205,13 +205,13 @@ void CComponents::kill()
{
for(size_t i =0; i< v_fbdata.size() ;i++)
frameBuffer->paintBackgroundBoxRel(v_fbdata[i].x, v_fbdata[i].y, v_fbdata[i].dx, v_fbdata[i].dy);
clear();
clearFbData();
firstPaint = true;
is_painted = false;
}
//clean old screen buffer
inline void CComponents::clear()
inline void CComponents::clearFbData()
{
for(size_t i =0; i< v_fbdata.size() ;i++)
if (v_fbdata[i].pixbuf)