CComponents: rename hide() to hideCC()

There are too many name conflicts with hide-members in other classes.
This commit is contained in:
2013-10-24 21:39:04 +02:00
parent f7798affc6
commit 6ee7fac1a5
26 changed files with 58 additions and 58 deletions

View File

@@ -42,7 +42,7 @@ CComponents::CComponents()
CComponents::~CComponents()
{
hide();
hideCC();
clearSavedScreen();
clear();
}
@@ -172,11 +172,11 @@ inline fb_pixel_t* CComponents::getScreen(int ax, int ay, int dx, int dy)
}
//restore screen from buffer
inline void CComponents::hide()
inline void CComponents::hideCC()
{
for(size_t i =0; i< v_fbdata.size() ;i++) {
if (v_fbdata[i].pixbuf != NULL){
frameBuffer->waitForIdle("CComponents::hide()");
frameBuffer->waitForIdle("CComponents::hideCC()");
frameBuffer->RestoreScreen(v_fbdata[i].x, v_fbdata[i].y, v_fbdata[i].dx, v_fbdata[i].dy, v_fbdata[i].pixbuf);
delete[] v_fbdata[i].pixbuf;
v_fbdata[i].pixbuf = NULL;