CComponentsHeader: init code for icon and text outsource

slim down of paint()
This commit is contained in:
2012-11-09 23:53:35 +01:00
parent 6bdd8cd771
commit 8061b2938f
2 changed files with 30 additions and 16 deletions

View File

@@ -453,8 +453,14 @@ class CComponentsHeader : public CComponentsForm
neutrino_locale_t cch_locale_text;
fb_pixel_t cch_col_text;
Font* cch_font;
int cch_icon_x, cch_items_y;
void initCCHeaderIcon();
void initCCHeaderText();
protected:
void initVarHeader();
public:
CComponentsHeader();