[vlc-commits] skins2: fix warnings about initialization order.
Rémi Duraffort
git at videolan.org
Sun May 15 11:51:30 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun May 15 11:50:32 2011 +0200| [0bc58744da2dd1ced64959e918aee30b3d400a6c] | committer: Rémi Duraffort
skins2: fix warnings about initialization order.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0bc58744da2dd1ced64959e918aee30b3d400a6c
---
modules/gui/skins2/controls/ctrl_generic.cpp | 4 ++--
modules/gui/skins2/controls/ctrl_radialslider.cpp | 4 ++--
modules/gui/skins2/controls/ctrl_slider.cpp | 6 +++---
modules/gui/skins2/controls/ctrl_text.cpp | 4 ++--
modules/gui/skins2/controls/ctrl_tree.cpp | 4 ++--
modules/gui/skins2/controls/ctrl_video.cpp | 4 ++--
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/modules/gui/skins2/controls/ctrl_generic.cpp b/modules/gui/skins2/controls/ctrl_generic.cpp
index 1e9f7a3..d17fe7b 100644
--- a/modules/gui/skins2/controls/ctrl_generic.cpp
+++ b/modules/gui/skins2/controls/ctrl_generic.cpp
@@ -34,8 +34,8 @@
CtrlGeneric::CtrlGeneric( intf_thread_t *pIntf, const UString &rHelp,
VarBool *pVisible):
- SkinObject( pIntf ), m_pLayout( NULL ), m_pPosition( NULL ),
- m_help( rHelp ), m_pVisible( pVisible )
+ SkinObject( pIntf ), m_pLayout( NULL ), m_pVisible( pVisible ),
+ m_pPosition( NULL ), m_help( rHelp )
{
// Observe the visibility variable
if( m_pVisible )
diff --git a/modules/gui/skins2/controls/ctrl_radialslider.cpp b/modules/gui/skins2/controls/ctrl_radialslider.cpp
index 3ca78ac..6ed798f 100644
--- a/modules/gui/skins2/controls/ctrl_radialslider.cpp
+++ b/modules/gui/skins2/controls/ctrl_radialslider.cpp
@@ -40,8 +40,8 @@ CtrlRadialSlider::CtrlRadialSlider( intf_thread_t *pIntf,
VarBool *pVisible ):
CtrlGeneric( pIntf, rHelp, pVisible ), m_fsm( pIntf ), m_numImg( numImg ),
m_rVariable( rVariable ), m_minAngle( minAngle ), m_maxAngle( maxAngle ),
- m_cmdUpDown( this ), m_cmdDownUp( this ),
- m_cmdMove( this ), m_position( 0 )
+ m_position( 0 ), m_cmdUpDown( this ), m_cmdDownUp( this ),
+ m_cmdMove( this )
{
// Build the images of the sequence
m_pImgSeq = OSFactory::instance( getIntf() )->createOSGraphics(
diff --git a/modules/gui/skins2/controls/ctrl_slider.cpp b/modules/gui/skins2/controls/ctrl_slider.cpp
index 33b672c..1198bc5 100644
--- a/modules/gui/skins2/controls/ctrl_slider.cpp
+++ b/modules/gui/skins2/controls/ctrl_slider.cpp
@@ -368,9 +368,9 @@ CtrlSliderBg::CtrlSliderBg( intf_thread_t *pIntf,
CtrlGeneric( pIntf, rHelp, pVisible ), m_pCursor( NULL ),
m_rVariable( rVariable ), m_thickness( thickness ), m_rCurve( rCurve ),
m_width( rCurve.getWidth() ), m_height( rCurve.getHeight() ),
- m_pImgSeq( pBackground ), m_nbHoriz( nbHoriz ), m_nbVert( nbVert ),
- m_padHoriz( padHoriz ), m_padVert( padVert ), m_bgWidth( 0 ),
- m_bgHeight( 0 ), m_position( 0 ), m_pScaledBmp( NULL )
+ m_pImgSeq( pBackground ), m_pScaledBmp( NULL ), m_nbHoriz( nbHoriz ),
+ m_nbVert( nbVert ), m_padHoriz( padHoriz ), m_padVert( padVert ),
+ m_bgWidth( 0 ), m_bgHeight( 0 ), m_position( 0 )
{
if( m_pImgSeq )
{
diff --git a/modules/gui/skins2/controls/ctrl_text.cpp b/modules/gui/skins2/controls/ctrl_text.cpp
index 4a08590..cfbdf61 100644
--- a/modules/gui/skins2/controls/ctrl_text.cpp
+++ b/modules/gui/skins2/controls/ctrl_text.cpp
@@ -44,12 +44,12 @@ CtrlText::CtrlText( intf_thread_t *pIntf, VarText &rVariable,
const GenericFont &rFont, const UString &rHelp,
uint32_t color, VarBool *pVisible, VarBool *pFocus,
Scrolling_t scrollMode, Align_t alignment ):
- CtrlGeneric( pIntf, rHelp, pVisible ), m_pFocus( pFocus), m_fsm( pIntf ),
+ CtrlGeneric( pIntf, rHelp, pVisible ), m_fsm( pIntf ),
m_rVariable( rVariable ), m_cmdToManual( this ),
m_cmdManualMoving( this ), m_cmdManualStill( this ),
m_cmdMove( this ), m_pEvt( NULL ), m_rFont( rFont ),
m_color( color ), m_scrollMode( scrollMode ), m_alignment( alignment ),
- m_pImg( NULL ), m_pImgDouble( NULL ),
+ m_pFocus( pFocus), m_pImg( NULL ), m_pImgDouble( NULL ),
m_pCurrImg( NULL ), m_xPos( 0 ), m_xOffset( 0 ),
m_cmdUpdateText( this )
{
diff --git a/modules/gui/skins2/controls/ctrl_tree.cpp b/modules/gui/skins2/controls/ctrl_tree.cpp
index ce0cd93..d71d042 100644
--- a/modules/gui/skins2/controls/ctrl_tree.cpp
+++ b/modules/gui/skins2/controls/ctrl_tree.cpp
@@ -61,8 +61,8 @@ CtrlTree::CtrlTree( intf_thread_t *pIntf,
m_pOpenBitmap( pOpenBitmap ), m_pClosedBitmap( pClosedBitmap ),
m_fgColor( fgColor ), m_playColor( playColor ), m_bgColor1( bgColor1 ),
m_bgColor2( bgColor2 ), m_selColor( selColor ),
- m_pLastSelected( NULL ), m_pImage( NULL ), m_dontMove( false ),
- m_pScaledBitmap( NULL )
+ m_pLastSelected( NULL ), m_pImage( NULL ), m_pScaledBitmap( NULL ),
+ m_dontMove( false )
{
// Observe the tree and position variables
m_rTree.addObserver( this );
diff --git a/modules/gui/skins2/controls/ctrl_video.cpp b/modules/gui/skins2/controls/ctrl_video.cpp
index 2130e68..163c5f6 100644
--- a/modules/gui/skins2/controls/ctrl_video.cpp
+++ b/modules/gui/skins2/controls/ctrl_video.cpp
@@ -36,8 +36,8 @@ CtrlVideo::CtrlVideo( intf_thread_t *pIntf, GenericLayout &rLayout,
bool autoResize, const UString &rHelp,
VarBool *pVisible ):
CtrlGeneric( pIntf, rHelp, pVisible ), m_rLayout( rLayout ),
- m_xShift( 0 ), m_yShift( 0 ), m_bAutoResize( autoResize ),
- m_pVoutWindow( NULL ), m_bIsUseable( false )
+ m_bAutoResize( autoResize), m_xShift( 0 ), m_yShift( 0 ),
+ m_bIsUseable( false), m_pVoutWindow( NULL )
{
VarBool &rFullscreen = VlcProc::instance( getIntf() )->getFullscreenVar();
rFullscreen.addObserver( this );
More information about the vlc-commits
mailing list