CComponentsHeader: don't use default parameters for privat member

Unified adaptation related to child class ComponentsFooter.
see: 5a24dc1ce5


Origin commit data
------------------
Commit: 731cb9c66d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-30 (Tue, 30 Aug 2016)
This commit is contained in:
2016-08-30 11:01:26 +02:00
parent 79d0c2e5da
commit ab825c08da
2 changed files with 10 additions and 10 deletions

View File

@@ -40,15 +40,15 @@ class CComponentsHeader : public CComponentsForm, public CCTextScreen
{
private:
///member: init genaral variables, parameters for mostly used properties
void initVarHeader( const int& x_pos, const int& y_pos, const int& w, const int& h = 0,
const std::string& caption = "header",
const std::string& = "",
const int& buttons = 0,
CComponentsForm *parent = NULL,
int shadow_mode = CC_SHADOW_OFF,
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
fb_pixel_t color_body = COL_MENUHEAD_PLUS_0,
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
void initVarHeader( const int& x_pos, const int& y_pos, const int& w, const int& h,
const std::string& caption,
const std::string& icon_name,
const int& buttons,
CComponentsForm *parent,
int shadow_mode,
fb_pixel_t color_frame,
fb_pixel_t color_body,
fb_pixel_t color_shadow);
protected:
///object: icon object, see also setIcon()