mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6ee7fac1a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user