mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CNaviBar: prevent compiler warning -Wshadow
This commit is contained in:
@@ -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,
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user