diff options
author | racarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2007-02-16 21:14:23 +0000 |
---|---|---|
committer | racarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2007-02-16 21:14:23 +0000 |
commit | 4ed5bd64e30a16ada10c78d4025b3694fc2b512f (patch) | |
tree | 64b553735ed1aafc8e785e070766a9de93795d0d | |
parent | ddb5db5239a63357d47704a08b6f8b9f64f3aa25 (diff) | |
download | marex-dev-4ed5bd64e30a16ada10c78d4025b3694fc2b512f.tar.gz marex-dev-4ed5bd64e30a16ada10c78d4025b3694fc2b512f.tar.bz2 |
Readd vortex...
git-svn-id: file:///beryl/trunk@4115 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r-- | beryl-plugins/src/wall.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/beryl-plugins/src/wall.c b/beryl-plugins/src/wall.c index 0a7b6d9..535eb37 100644 --- a/beryl-plugins/src/wall.c +++ b/beryl-plugins/src/wall.c @@ -143,6 +143,7 @@ typedef enum { ExpoAnimationZoom = 0, ExpoAnimationFadeZoom, + ExpoAnimationVortex, ExpoAnimationNum } ExpoAnimation; @@ -151,6 +152,7 @@ typedef enum static char *expoAnimationName[] = { N_("Zoom"), N_("Fade + Zoom"), + N_("Vortex") }; typedef struct _WallDisplay @@ -1503,6 +1505,9 @@ static void wallPaintTransformedScreen(CompScreen * s, CompTransform sTransform2 = sTransform; for (i = 0; i < s->hsize; i++) { + if (wd->expoAnimationType == ExpoAnimationVortex) + matrixRotate(&sTransform2, 360 * ws->expoCam, 0.0f, 1.0f, + 2.0f * ws->expoCam); (*s->paintTransformedScreen) (s, sAttrib, &sTransform2, &s->region, output, mask); |