CNaviBar: prevent compiler warning -Wshadow

Origin commit data
------------------
Commit: 970390a320
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-08 (Mon, 08 May 2017)
This commit is contained in:
2017-05-08 08:11:30 +02:00
parent 369e8b670e
commit bb04af3ff8
2 changed files with 7 additions and 7 deletions

View File

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

View File

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