The animated view is now passed its invalid rect count in
paintImmediately() so that it can figure out if it's being painted solely to facilitate scrolling or because there are dirty regions. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1010 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: AnimatedView.java,v 1.1 2002/01/11 16:17:33 shaper Exp $
|
||||
// $Id: AnimatedView.java,v 1.2 2002/02/17 23:39:32 mdb Exp $
|
||||
|
||||
package com.threerings.media.animation;
|
||||
|
||||
@@ -35,6 +35,11 @@ public interface AnimatedView
|
||||
* complete the painting process before returning from this function).
|
||||
* This will only be called on the AWT thread and when it is safe to
|
||||
* paint.
|
||||
*
|
||||
* @param invalidRectCount the number of invalide regions that
|
||||
* motivated the animation manager to repaint the animated view (which
|
||||
* could be zero if the view is scrolling and otherwise has no dirty
|
||||
* regions)
|
||||
*/
|
||||
public void paintImmediately ();
|
||||
public void paintImmediately (int invalidRectCount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user