From 0dbddbc4832167e2082de558ead9386082411c38 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 10 Nov 2012 21:06:09 +0100 Subject: [PATCH] CComponentsForm: remove constructor Call of overloaded 'CComponentsForm(int, int, int, int)' is ambiguous. --- src/gui/components/cc.h | 1 - src/gui/components/components.cpp | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/src/gui/components/cc.h b/src/gui/components/cc.h index 48cac5c50..38ed9c476 100644 --- a/src/gui/components/cc.h +++ b/src/gui/components/cc.h @@ -434,7 +434,6 @@ class CComponentsForm : public CComponentsItem public: CComponentsForm(); - CComponentsForm(const int x_pos, const int y_pos, const int w, const int h); CComponentsForm(const int x_pos, const int y_pos, const int w, const int h, bool has_shadow = CC_SHADOW_OFF, fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6, fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0, fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0); virtual ~CComponentsForm(); diff --git a/src/gui/components/components.cpp b/src/gui/components/components.cpp index 66ab847bf..04d523215 100644 --- a/src/gui/components/components.cpp +++ b/src/gui/components/components.cpp @@ -1499,19 +1499,6 @@ CComponentsForm::CComponentsForm() initVarForm(); } -CComponentsForm::CComponentsForm(const int x_pos, const int y_pos, const int w, const int h) -{ - //CComponentsForm - initVarForm(); - - //CComponents - x = x_pos; - y = y_pos; - width = w; - height = h; - -} - CComponentsForm::CComponentsForm(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) {