~compiz-team/compiz-animation-plugin/0.9.5

« back to all changes in this revision

Viewing changes to include/animation/zoom.h

  • Committer: Daniel van Vugt
  • Author(s): Sam Spilsbury
  • Date: 2012-04-10 07:35:49 UTC
  • mfrom: (395.1.2 compiz-animation-plugin)
  • Revision ID: daniel.van.vugt@canonical.com-20120410073549-djqixlkdigg7zkpl
Added a flag to specify whether an animation actually needs a transformed
window. (LP: #976469)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
     void getZoomProgress (float *moveProgress,
35
35
                           float *scaleProgress,
36
36
                           bool neverSpringy);
 
37
     bool requiresTransformedWindow () const { return true; }
37
38
 
38
39
     static const float kDurationFactor;
39
40
     static const float kSpringyDurationFactor;
66
67
    float getSpringiness () { return 0; }
67
68
    bool scaleAroundIcon () { return false; }
68
69
    void adjustDuration ();
 
70
    bool requiresTransformedWindow () const { return true; }
69
71
};
70
72
#endif