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_cmdMove( this ), m_position( 0 )
{
// Build the images of the sequence
m_pImgSeq = OSFactory::instance( getIntf() )->createOSGraphics(
attr["lefttop"], attr["rightbottom"],
convertBoolean( attr["xkeepratio"] ),
convertBoolean( attr["ykeepratio"] ), attr["sequence"],
- atoi( attr["nbImages"] ), atof( attr["minAngle"] ) * M_PI /180,
- atof( attr["maxAngle"] ) * M_PI / 180, attr["value"],
+ atoi( attr["nbimages"] ), atof( attr["minangle"] ) * M_PI /180,
+ atof( attr["maxangle"] ) * M_PI / 180, attr["value"],
attr["tooltiptext"], attr["help"], m_curLayer, m_curWindowId,
m_curLayoutId, m_panelStack.back() );
m_curLayer++;