Gecko:Layers: Difference between revisions

Jump to navigation Jump to search
Line 179: Line 179:
   HardwareSurface *Surface();
   HardwareSurface *Surface();
  };
  };
// This class controls animations on objects, any class can be made to
// implement it, but we'd most likely provide some standard implementations.
// Any state it wants to maintain is contained on an implementation level.
class IAnimator
{
  // Called by the compositor when starting a rendering cycle, with
  // the elapsed time.
  virtual void AdvanceTime(double aTime);
  // This assigns the animator to a frame and registers with its compositor.
  void Assign(nsIFrame *aFrame);
}
Confirmed users
138

edits

Navigation menu