CTextBox: initialize variables in constructor (style)

This commit is contained in:
2012-08-26 19:51:46 +02:00
parent 32f2f8a85d
commit 4007cf4a6d

View File

@@ -72,7 +72,7 @@ class CBox
public: public:
/* Constructor */ /* Constructor */
inline CBox(){iY = 0; iX = 0; iWidth = 0;iHeight = 0;}; inline CBox(){iX=0; iY=0; iWidth=0; iHeight=0;};
inline CBox( const int _iX, const int _iY, const int _iWidth, const int _iHeight){iX=_iX; iY=_iY; iWidth=_iWidth; iHeight=_iHeight;}; inline CBox( const int _iX, const int _iY, const int _iWidth, const int _iHeight){iX=_iX; iY=_iY; iWidth=_iWidth; iHeight=_iHeight;};
inline ~CBox(){;}; inline ~CBox(){;};
/* Functions */ /* Functions */