void NEPointerList::tellPosition(GObject * caller,const NVPoint & newPosition) { GRNotationElement * e; GuidoPos pos=GetHeadPosition(); while(pos) { e = GetNext(pos); e->tellPosition(caller,newPosition); } }
// ---------------------------------------------------------------------------- void GREvent::setHPosition( float nx ) { // - Call inherited GRARCompositeNotationElement::setHPosition(nx); // - Notify articulation using 'tell' if (mArtilist) { GRNEList::iterator ptr; for( ptr = mArtilist->begin(); ptr != mArtilist->end(); ++ptr ) { GRNotationElement * el = *ptr; el->tellPosition( this, getPosition()); } } updateBoundingBox(); }