CComponentsHeader: init code for icon and text outsource

slim down of paint()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8061b2938f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)



------------------
This commit was generated by Migit
This commit is contained in:
2012-11-09 23:53:35 +01:00
parent d29a53df43
commit b1a92d1e8c
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();