search for: paintord

Displaying 3 results from an estimated 3 matches for "paintord".

Did you mean: painter
2007 Jun 12
0
[PATCH] Added rotation state.
...clude/cube.h | 9 +++++++++ plugins/cube.c | 2 ++ plugins/rotate.c | 12 ++++++++++++ 3 files changed, 23 insertions(+), 0 deletions(-) diff --git a/include/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 @@ typed...
2007 Jun 12
0
[PATCH] Made checkFTB wrapable (needed by cubereflex plugin).
...oid (*CubePaintTopBottomProc) (CompScreen *s, CompOutput *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];...
2007 Jun 12
0
[PATCH] Combined checkFTB and capDirection into one checkOrientation function.
...float y); +typedef Bool (*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...