BOOL Gradient::SetDlgThing(ParamDlg* dlg) { // JBW: set the appropriate 'thing' sub-object for each // secondary dialog if (dlg == uvGenDlg) uvGenDlg->SetThing(uvGen); else if (dlg == texoutDlg) texoutDlg->SetThing(texout); else return FALSE; return TRUE; }
BOOL Noise::SetDlgThing(ParamDlg* dlg) { // JBW: set the appropriate 'thing' sub-object for each // secondary dialog if ((xyzGenDlg!= NULL) && (dlg == xyzGenDlg)) xyzGenDlg->SetThing(xyzGen); else if ((texoutDlg!= NULL) && (dlg == texoutDlg)) texoutDlg->SetThing(texout); else return FALSE; return TRUE; }
BOOL SampleShaderPlugin::SetDlgThing(ParamDlg* dlg) { if (dlg == uvGenDlg) uvGenDlg->SetThing(uvGen); else return FALSE; return TRUE; }
BOOL CrackVisualizer::SetDlgThing(ParamDlg* dlg) { if (dlg == uvGenDlg) uvGenDlg->SetThing(uvGen); else return FALSE; return TRUE; }