Updating diffraction function, now uses DF acronym

parent 39e9b714
......@@ -165,8 +165,8 @@ void RedstartWindow::ConnectSignalsAndSlots()
connect( ui->checkBox_am_dp, SIGNAL( stateChanged( int ) ), this, SLOT( CoreChangeAuralizationModeDP( int ) ) );
connect( this, SIGNAL( AuralizationModeSLChanged( bool ) ), ui->checkBox_am_sl, SLOT( setChecked( bool ) ) );
connect( ui->checkBox_am_sl, SIGNAL( stateChanged( int ) ), this, SLOT( CoreChangeAuralizationModeSL( int ) ) );
connect( this, SIGNAL( AuralizationModeDIFChanged( bool ) ), ui->checkBox_am_dif, SLOT( setChecked( bool ) ) );
connect( ui->checkBox_am_dif, SIGNAL( stateChanged( int ) ), this, SLOT( CoreChangeAuralizationModeDIF( int ) ) );
connect( this, SIGNAL( AuralizationModeDFChanged( bool ) ), ui->checkBox_am_dif, SLOT( setChecked( bool ) ) );
connect( ui->checkBox_am_dif, SIGNAL( stateChanged( int ) ), this, SLOT( CoreChangeAuralizationModeDF( int ) ) );
connect( this, SIGNAL( AuralizationModeSCChanged( bool ) ), ui->checkBox_am_sca, SLOT( setChecked( bool ) ) );
connect( ui->checkBox_am_sca, SIGNAL( stateChanged( int ) ), this, SLOT( CoreChangeAuralizationModeSC( int ) ) );
connect( this, SIGNAL( AuralizationModeNFChanged( bool ) ), ui->checkBox_am_nf, SLOT( setChecked( bool ) ) );
......@@ -1172,9 +1172,9 @@ void RedstartWindow::CoreChangeAuralizationModeAB( int iState )
CoreChangeAuralizationMode( ( iState > 0 ), IVAInterface::VA_AURAMODE_ABSORPTION );
}
void RedstartWindow::CoreChangeAuralizationModeDIF( int iState )
void RedstartWindow::CoreChangeAuralizationModeDF( int iState )
{
emit AuralizationModeDIFChanged( ( bool ) iState );
emit AuralizationModeDFChanged( ( bool ) iState );
CoreChangeAuralizationMode( ( iState > 0 ), IVAInterface::VA_AURAMODE_DIFFRACTION );
}
......@@ -1246,7 +1246,7 @@ void RedstartWindow::CoreChangeGlobalAuralizationMode( int iAM )
if( ( ( iAM & IVAInterface::VA_AURAMODE_ABSORPTION ) > 0 ) != ui->checkBox_am_ab->isChecked() )
emit AuralizationModeABChanged( !ui->checkBox_am_ab->isChecked() );
if( ( ( iAM & IVAInterface::VA_AURAMODE_DIFFRACTION ) > 0 ) != ui->checkBox_am_dif->isChecked() )
emit AuralizationModeDIFChanged( !ui->checkBox_am_dif->isChecked() );
emit AuralizationModeDFChanged( !ui->checkBox_am_dif->isChecked() );
if( ( ( iAM & IVAInterface::VA_AURAMODE_DIFFUSE_DECAY ) > 0 ) != ui->checkBox_am_dd->isChecked() )
emit AuralizationModeDDChanged( !ui->checkBox_am_dd->isChecked() );
if( ( ( iAM & IVAInterface::VA_AURAMODE_DOPPLER ) > 0 ) != ui->checkBox_am_dp->isChecked() )
......
......@@ -172,7 +172,7 @@ public:
void CoreChangeAuralizationModeDIR( int );
void CoreChangeAuralizationModeDP( int );
void CoreChangeAuralizationModeSL( int );
void CoreChangeAuralizationModeDIF( int );
void CoreChangeAuralizationModeDF( int );
void CoreChangeAuralizationModeSC( int );;
void CoreChangeAuralizationModeNF( int );
void CoreChangeAuralizationModeTV( int );
......@@ -201,7 +201,7 @@ signals:
void AuralizationModeDIRChanged( bool );
void AuralizationModeDPChanged( bool );
void AuralizationModeSLChanged( bool );
void AuralizationModeDIFChanged( bool );
void AuralizationModeDFChanged( bool );
void AuralizationModeSCChanged( bool );
void AuralizationModeNFChanged( bool );
void AuralizationModeTVChanged( bool );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment