Definition at line 259 of file CxCheckBoxDrum.h. References CheckBox3D::GetSelected(), mCheckBoxes, mNrColumns, mNrRows, and CheckBox3D::SetSelected(). Referenced by MouseFunc(). 00260 { 00261 bool mode = false; 00262 int i; 00263 00264 for (i=0; i<mNrRows; i++) 00265 if ( mode = (mCheckBoxes[i*mNrColumns] == cB) ) 00266 break; 00267 if( !mode ) 00268 return; 00269 00270 CheckBox3D *cbTarget; 00271 mode = cB->GetSelected(); 00272 00273 00274 do { 00275 for (int j=1; j<mNrColumns; j++ ) 00276 if (cbTarget = mCheckBoxes[i*mNrColumns+j] ) 00277 cbTarget->SetSelected(mode); 00278 i++; 00279 } while( i<mNrRows && !mCheckBoxes[i*mNrColumns] ); 00280 }
Here is the call graph for this function:
|