components: remove initVarHeader calls in classes derived from CComponentsHeader

Origin commit data
------------------
Branch: ni/coolstream
Commit: 90c76a2985
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)

Origin message was:
------------------
components: remove initVarHeader calls in classes derived from CComponentsHeader

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-11-27 19:07:51 +04:00
parent 5d06d7384f
commit 4d6562d45e
2 changed files with 2 additions and 5 deletions

View File

@@ -113,6 +113,8 @@ class CComponentsIconForm : public CComponentsForm
class CComponentsHeader : public CComponentsForm
{
private:
void initVarHeader();
protected:
CComponentsPicture * cch_icon_obj;
CComponentsText * cch_text_obj;
@@ -132,8 +134,6 @@ class CComponentsHeader : public CComponentsForm
void initDefaultButtons();
void initButtonFormSize();
void initVarHeader();
public:
enum
{

View File

@@ -65,9 +65,6 @@ CComponentsFooter::CComponentsFooter( const int x_pos, const int y_pos, const in
void CComponentsFooter::initVarFooter()
{
//CComponentsHeader
initVarHeader();
cc_item_type = CC_ITEMTYPE_FOOTER;
corner_rad = RADIUS_LARGE;
corner_type = CORNER_BOTTOM;