mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
CComonents: use allowPaint() as private, parameter as by rev
not used in sub classes
Origin commit data
------------------
Branch: ni/coolstream
Commit: d7c35b07e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
|
||||
class CComponents
|
||||
{
|
||||
private:
|
||||
bool allowPaint(const int& i);
|
||||
protected:
|
||||
int x, y, height, width, corner_type, shadow_w;
|
||||
int corner_rad, fr_thickness;
|
||||
@@ -45,7 +47,6 @@ class CComponents
|
||||
bool firstPaint, shadow, is_painted, paint_bg;
|
||||
|
||||
void initVarBasic();
|
||||
bool allowPaint(int i);
|
||||
void paintFbItems(bool do_save_bg = true);
|
||||
virtual fb_pixel_t* getScreen(int ax, int ay, int dx, int dy);
|
||||
comp_screen_data_t saved_screen;
|
||||
|
@@ -78,7 +78,7 @@ void CComponents::initVarBasic()
|
||||
saved_screen.pixbuf = NULL;
|
||||
}
|
||||
|
||||
bool CComponents::allowPaint(int i)
|
||||
bool CComponents::allowPaint(const int& i)
|
||||
{
|
||||
if(v_fbdata[i].fbdata_type == CC_FBDATA_TYPE_BOX)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user