mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsHeader: init code for icon and text outsource
slim down of paint()
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user