Reimplemented from OglGui::CheckBoxListener. Definition at line 34 of file PunsOnlyControl.h. References mListener, mListenerData, mNegativeCheckBox, mPositiveCheckBox, mSkipCheckBox, mUnknownCheckBox, Impala::Visualization::PunsOnlyControlListener::PunsOnlyChanged(), and OglGui::CheckBox::SetSelected(). 00035 { 00036 int uData = (long long) userData; 00037 if (checked && (uData > 0 && uData < 5)) 00038 { 00039 if (mPositiveCheckBox) mPositiveCheckBox->SetSelected(uData==1); 00040 if (mUnknownCheckBox) mUnknownCheckBox->SetSelected(uData==2); 00041 if (mNegativeCheckBox) mNegativeCheckBox->SetSelected(uData==3); 00042 if (mSkipCheckBox) mSkipCheckBox->SetSelected(uData==4); 00043 } 00044 if (mListener) 00045 mListener->PunsOnlyChanged(this, mListenerData); 00046 }
Here is the call graph for this function:
|