From: Richard K. <ric...@us...> - 2005-05-24 20:40:04
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14493 Modified Files: NSView.as Log Message: wrote translateOriginToPoint method Index: NSView.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/NSView.as,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** NSView.as 24 May 2005 20:30:30 -0000 1.8 --- NSView.as 24 May 2005 20:39:56 -0000 1.9 *************** *** 586,590 **** public function translateOriginToPoint(point:NSPoint) { ! //! How to implement this? } --- 586,595 ---- public function translateOriginToPoint(point:NSPoint) { ! m_bounds.origin.x -= point.x; ! m_bounds.origin.y -= point.y; ! updateBoundsMovieClip(); ! if(m_postsBoundsChangedNotifications) { ! m_notificationCenter.postNotificationWithNameObject(NSViewBoundsDidChangeNotification, this); ! } } |