~unity-team/compiz/plugins-main-trunk.fix_wrong_window_move_expo

« back to all changes in this revision

Viewing changes to animation/include/animation/gridtransform.h

  • Committer: David Barth
  • Date: 2011-03-29 16:36:40 UTC
  • Revision ID: david.barth@canonical.com-20110329163640-fpen5qsoo0lbjode
initial import from compiz-plugins-main_0.9.4git20110322.orig.tar.gz

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef ANIMATION_GRIDTRANSFORM_H
 
2
#define ANIMATION_GRIDTRANSFORM_H
 
3
#include "animation.h"
 
4
class GridTransformAnim :
 
5
public GridAnim,
 
6
virtual public TransformAnim
 
7
{
 
8
public:
 
9
    GridTransformAnim (CompWindow *w,
 
10
                       WindowEvent curWindowEvent,
 
11
                       float duration,
 
12
                       const AnimEffect info,
 
13
                       const CompRect &icon);
 
14
    void init ();
 
15
    void updateTransform (GLMatrix &wTransform);
 
16
    void updateBB (CompOutput &output);
 
17
    bool updateBBUsed () { return true; }
 
18
    
 
19
protected:
 
20
    bool mUsingTransform; ///< whether transform matrix is used (default: true)
 
21
};
 
22
#endif