mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsWindow: remove default values from internal init method
Is not really required for this private member.
This commit is contained in:
@@ -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,
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user