Displaying 4 results from an estimated 4 matches for "_cubescreen".
2007 Jun 12
0
[PATCH] Added rotation state.
...e/cube.h b/include/cube.h
index 00e5b47..4010b6b 100644
--- a/include/cube.h
+++ b/include/cube.h
@@ -77,6 +77,13 @@ typedef enum _PaintOrder
FTB
} PaintOrder;
+typedef enum _RotationState
+{
+ RotationNone = 0,
+ RotationChange,
+ RotationManual
+} RotationState;
+
typedef struct _CubeScreen {
PreparePaintScreenProc preparePaintScreen;
DonePaintScreenProc donePaintScreen;
@@ -98,6 +105,8 @@ typedef struct _CubeScreen {
int xRotations;
PaintOrder paintOrder;
+ RotationState rotationState;
+
GLfloat distance;
GLushort color[3];
GL...
2007 Jun 12
0
[PATCH] Made checkFTB wrapable (needed by cubereflex plugin).
...*output,
int size);
+typedef Bool (*CubeCheckFTBProc) (CompScreen *s,
+ const ScreenPaintAttrib *sAttrib,
+ const CompTransform *transform,
+ CompOutput *output);
+
typedef enum _PaintOrder
{
BTF = 0,
@@ -103,6 +108,7 @@ typedef struct _CubeScreen {
CubeGetRotationProc getRotation;
CubeClearTargetOutputProc clearTargetOutput;
CubePaintTopBottomProc paintTopBottom;
+ CubeCheckFTBProc checkFTB;
CompOption opt[CUBE_SCREEN_OPTION_NUM];
diff --git a/plugins/cube.c b/plugins/cube.c
index ae3bf31..237676...
2006 Dec 15
1
[PATCH] cube unfold distance
I have gone ahead and implemented the unfold distance option
as mentioned in the source.
the patch is here
http://home.comcast.net/~moppsy/compiz/cube-unfold-distance.patch
2007 Jun 12
0
[PATCH] Combined checkFTB and capDirection into one checkOrientation function.
...ol (*CubeCheckOrientationProc) (CompScreen *s,
+ const ScreenPaintAttrib *sAttrib,
+ const CompTransform *transform,
+ CompOutput *output,
+ const float points[3][3]);
typedef enum _PaintOrder
{
@@ -128,8 +123,7 @@ typedef struct _CubeScreen {
CubePaintTopProc paintTop;
CubePaintBottomProc paintBottom;
CubePaintInsideProc paintInside;
- CubeCheckFTBProc checkFTB;
- CubeCapDirectionProc capDirection;
+ CubeCheckOrientationProc checkOrientation;
CompOption opt[CUBE_SCREEN...