CNaviBar: prevent compiler warning -Wshadow

This commit is contained in:
2017-05-08 08:11:30 +02:00
parent 65b09044c5
commit 970390a320
2 changed files with 7 additions and 7 deletions

View File

@@ -31,8 +31,8 @@
using namespace std; using namespace std;
CNaviBar::CNaviBar( const int& x, CNaviBar::CNaviBar( const int& x_pos,
const int& y, const int& y_pos,
const int& dx, const int& dx,
const int& dy, const int& dy,
CComponentsForm* parent, CComponentsForm* parent,
@@ -40,7 +40,7 @@ CNaviBar::CNaviBar( const int& x,
fb_pixel_t& color_frame, fb_pixel_t& color_frame,
fb_pixel_t& color_body, fb_pixel_t& color_body,
fb_pixel_t& color_shadow) fb_pixel_t& color_shadow)
: CComponentsFrmChain( x, y, dx, dy, : CComponentsFrmChain( x_pos, y_pos, dx, dy,
NULL, NULL,
CC_DIR_X, CC_DIR_X,
parent, parent,

View File

@@ -53,9 +53,9 @@ class CNaviBar : public CComponentsFrmChain
public: public:
/**CNaviBar Constructor /**CNaviBar Constructor
* @param[in] x * @param[in] x_pos
* @li expects type int, x position * @li expects type int, x position
* @param[in] y * @param[in] y_ypos
* @li expects type int, y position * @li expects type int, y position
* @param[in] dx * @param[in] dx
* @li expects type int, width * @li expects type int, width
@@ -74,8 +74,8 @@ class CNaviBar : public CComponentsFrmChain
* *
* @see class CComponentsFrmChain() * @see class CComponentsFrmChain()
*/ */
CNaviBar( const int& x, CNaviBar( const int& x_pos,
const int& y, const int& y_pos,
const int& dx, const int& dx,
const int& dy, const int& dy,
CComponentsForm* parent = NULL, CComponentsForm* parent = NULL,