CComponents: remove superfluous calls

firstPaint,	v_fbdata.clear() already called in initVarBasic() and
initVarBasic() is called in all subclass constructors


Origin commit data
------------------
Branch: ni/coolstream
Commit: 458cec23bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-07 (Fri, 07 Sep 2012)



------------------
This commit was generated by Migit
This commit is contained in:
2012-09-07 23:15:23 +02:00
parent cd2fc22fa0
commit 436c6d4ee0

View File

@@ -445,8 +445,6 @@ CComponentsShapeSquare::CComponentsShapeSquare(const int x_pos, const int y_pos,
col_frame = color_frame;
col_body = color_body;
col_shadow = color_shadow;
firstPaint = true;
v_fbdata.clear();
bgMode = CC_BGMODE_PERMANENT;
@@ -469,8 +467,6 @@ CComponentsShapeCircle::CComponentsShapeCircle( int x_pos, int y_pos, int diam,
col_frame = color_frame;
col_body = color_body;
col_shadow = color_shadow;
firstPaint = true;
v_fbdata.clear();
bgMode = CC_BGMODE_PERMANENT;
//CComponentsShapeCircle
@@ -649,8 +645,6 @@ CComponentsPIP::CComponentsPIP( const int x_pos, const int y_pos, const int perc
col_frame = COL_BACKGROUND;
col_body = COL_BACKGROUND;
col_shadow = COL_MENUCONTENTDARK_PLUS_0;
firstPaint = true;
v_fbdata.clear();
bgMode = CC_BGMODE_PERMANENT;
}
@@ -731,8 +725,6 @@ void CComponentsPicture::init( int x_pos, int y_pos, const string& picture_name,
col_frame = color_frame;
col_body = color_background;
col_shadow = color_shadow;
firstPaint = true;
v_fbdata.clear();
bgMode = CC_BGMODE_PERMANENT;
}