CComponentsLabel: Added missing overloaded counterpart to CComponentsText(parent) constructor.

This commit is contained in:
2017-01-23 19:24:17 +01:00
committed by M. Liebmann
parent 2e24663a3f
commit cced4eba9a

View File

@@ -277,6 +277,22 @@ class CComponentsLabel : public CComponentsText
{
cc_item_type = CC_ITEMTYPE_LABEL;
};
CComponentsLabel( CComponentsForm *parent,
const int x_pos = 10, const int y_pos = 10, const int w = 150, const int h = 50,
std::string text = "",
const int mode = CTextBox::AUTO_WIDTH,
Font* font_text = NULL,
const int& font_style = CComponentsText::FONT_STYLE_REGULAR,
int shadow_mode = CC_SHADOW_OFF,
fb_pixel_t color_text = COL_MENUCONTENTINACTIVE_TEXT,
fb_pixel_t color_frame = COL_FRAME_PLUS_0,
fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0,
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0)
:CComponentsText(x_pos, y_pos, w, h, text, mode, font_text, font_style, parent, shadow_mode, color_text, color_frame, color_body, color_shadow)
{
cc_item_type = CC_ITEMTYPE_LABEL;
};
};
#endif