components: remove initVarBasic and initVarItem calls from derived classes

This commit is contained in:
[CST] Focus
2013-11-27 15:52:19 +04:00
parent 5f80ab6450
commit 93a326e9eb
7 changed files with 0 additions and 11 deletions

View File

@@ -69,9 +69,6 @@ CComponentsDetailLine::CComponentsDetailLine(const int x_pos, const int y_pos_to
void CComponentsDetailLine::initVarDline()
{
//CComponents
initVarBasic();
shadow_w = 1;
//CComponentsDetailLine

View File

@@ -105,8 +105,6 @@ void CComponentsForm::clearCCItems()
void CComponentsForm::initVarForm()
{
//CComponentsItem
initVarItem();
//simple default dimensions

View File

@@ -52,7 +52,6 @@ CComponentsItem::CComponentsItem()
void CComponentsItem::initVarItem()
{
//CComponents
initVarBasic();
cc_item_index = CC_NO_INDEX;
cc_item_enabled = true;
cc_item_selected = false;

View File

@@ -57,7 +57,6 @@ void CComponentsPicture::init( int x_pos, int y_pos, const string& image_name, c
fb_pixel_t color_frame, fb_pixel_t color_background, fb_pixel_t color_shadow)
{
//CComponents, CComponentsItem
initVarItem();
cc_item_type = CC_ITEMTYPE_PICTURE;
//CComponentsPicture

View File

@@ -38,7 +38,6 @@ using namespace std;
CComponentsShapeSquare::CComponentsShapeSquare(const int x_pos, const int y_pos, const int w, const int h, bool has_shadow, fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow)
{
//CComponentsItem
initVarItem();
cc_item_type = CC_ITEMTYPE_SHAPE_SQUARE;
x = x_pos;
@@ -64,7 +63,6 @@ CComponentsShapeCircle::CComponentsShapeCircle( int x_pos, int y_pos, int diam,
fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow)
{
//CComponents, CComponentsItem
initVarItem();
cc_item_type = CC_ITEMTYPE_SHAPE_CIRCLE;
//CComponents

View File

@@ -87,7 +87,6 @@ CComponentsText::~CComponentsText()
void CComponentsText::initVarText()
{
//CComponents, CComponentsItem
initVarItem();
cc_item_type = CC_ITEMTYPE_TEXT;
//CComponentsText

View File

@@ -43,7 +43,6 @@ using namespace std;
CComponentsPIP::CComponentsPIP( const int x_pos, const int y_pos, const int percent, bool has_shadow)
{
//CComponents, CComponentsItem
initVarItem();
cc_item_type = CC_ITEMTYPE_PIP;
//CComponentsPIP