CComponentsWindow: remove default values from internal init method

Is not really required for this private member.


Origin commit data
------------------
Commit: 4e1a3a89dc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-23 (Wed, 23 Nov 2016)
This commit is contained in:
2016-11-23 10:04:50 +01:00
parent 994401432c
commit 5474e555a8
2 changed files with 9 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ using namespace std;
//sub class CComponentsWindow inherit from CComponentsForm //sub class CComponentsWindow inherit from CComponentsForm
CComponentsWindow::CComponentsWindow(CComponentsForm *parent) CComponentsWindow::CComponentsWindow(CComponentsForm *parent)
{ {
initVarWindow(0, 0, 800, 600, "", "", parent); initVarWindow(0, 0, 800, 600, "", "", parent, CC_SHADOW_OFF, COL_FRAME_PLUS_0, COL_MENUCONTENT_PLUS_0, COL_SHADOW_PLUS_0);
} }
CComponentsWindow::CComponentsWindow( const int& x_pos, const int& y_pos, const int& w, const int& h, CComponentsWindow::CComponentsWindow( const int& x_pos, const int& y_pos, const int& w, const int& h,

View File

@@ -107,14 +107,14 @@ class CComponentsWindow : public CComponentsForm
///initialze all window objects at once ///initialze all window objects at once
void initCCWItems(); void initCCWItems();
///initialize all attributes ///initialize all attributes
void initVarWindow( const int& x_pos = CC_CENTERED, const int& y_pos = CC_CENTERED, const int& w = 0, const int& h = 0, void initVarWindow( const int& x_pos, const int& y_pos, const int& w, const int& h,
const std::string& caption = "", const std::string& caption,
const std::string& iconname = "", const std::string& iconname,
CComponentsForm *parent = NULL, CComponentsForm *parent,
int shadow_mode = CC_SHADOW_OFF, int shadow_mode,
fb_pixel_t color_frame = COL_FRAME_PLUS_0, fb_pixel_t color_frame,
fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0, fb_pixel_t color_body,
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0); fb_pixel_t color_shadow);
///initialize width and height ///initialize width and height
void initWindowSize(); void initWindowSize();
///initialize position ///initialize position