mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user