mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsForm: remove constructor
Call of overloaded 'CComponentsForm(int, int, int, int)' is ambiguous.
This commit is contained in:
@@ -434,7 +434,6 @@ class CComponentsForm : public CComponentsItem
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
CComponentsForm();
|
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,
|
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);
|
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();
|
virtual ~CComponentsForm();
|
||||||
|
@@ -1499,19 +1499,6 @@ CComponentsForm::CComponentsForm()
|
|||||||
initVarForm();
|
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,
|
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)
|
fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user