CComponentsTitleBar: add blanc constructor

This commit is contained in:
2012-08-27 22:32:10 +02:00
parent 8cabe408cf
commit edbbfbef8f
2 changed files with 39 additions and 7 deletions

View File

@@ -363,8 +363,12 @@ class CComponentsItemBox : public CComponentsContainer
class CComponentsTitleBar : public CComponentsItemBox
{
private:
void initVarTitleBar();
public:
CComponentsTitleBar( const int x_pos, const int y_pos, const int w, const int h,
CComponentsTitleBar();
CComponentsTitleBar( const int x_pos, const int y_pos, const int w, const int h, const char* text = NULL,
fb_pixel_t color_text = COL_MENUHEAD, fb_pixel_t color_body = COL_MENUHEAD_PLUS_0);
void calculateElements();