~mjuhasz/compiz-plugins-main/fix-834248

« back to all changes in this revision

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

  • Committer: Sam Spilsbury
  • Date: 2011-07-12 08:07:45 UTC
  • Revision ID: sam.spilsbury@canonical.com-20110712080745-glytqbjoa84xeo0f
Sync in changes from upstream

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