예제 #1
0
void NEPointerList::tellPosition(GObject * caller,const NVPoint & newPosition)
{
	GRNotationElement * e;
	GuidoPos pos=GetHeadPosition();
	while(pos) 
	{
		e = GetNext(pos);
		e->tellPosition(caller,newPosition);
	}
}
예제 #2
0
// ----------------------------------------------------------------------------
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();
}