summaryrefslogtreecommitdiff
path: root/include/scrnintstr.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-03-28 00:18:31 +0000
committerAdam Jackson <ajax@nwnk.net>2006-03-28 00:18:31 +0000
commit7342dbe4b2108827eaf30993ceeecbd828da2290 (patch)
treedae10c50bfdc4a6c73cd3c2bc82a2ee9a50ad7be /include/scrnintstr.h
parent0e88cefbfecbff0c7dd606ce0caca840f45cbc0d (diff)
Remove long-dead screen region code.
Diffstat (limited to 'include/scrnintstr.h')
-rw-r--r--include/scrnintstr.h124
1 files changed, 0 insertions, 124 deletions
diff --git a/include/scrnintstr.h b/include/scrnintstr.h
index ef9358689..19abe33a1 100644
--- a/include/scrnintstr.h
+++ b/include/scrnintstr.h
@@ -321,107 +321,9 @@ typedef void (* ResolveColorProcPtr)(
unsigned short* /*pblue*/,
VisualPtr /*pVisual*/);
-#ifdef NEED_SCREEN_REGIONS
-
-typedef RegionPtr (* RegionCreateProcPtr)(
- BoxPtr /*rect*/,
- int /*size*/);
-
-typedef void (* RegionInitProcPtr)(
- RegionPtr /*pReg*/,
- BoxPtr /*rect*/,
- int /*size*/);
-
-typedef Bool (* RegionCopyProcPtr)(
- RegionPtr /*dst*/,
- RegionPtr /*src*/);
-
-typedef void (* RegionDestroyProcPtr)(
- RegionPtr /*pReg*/);
-
-typedef void (* RegionUninitProcPtr)(
- RegionPtr /*pReg*/);
-
-typedef Bool (* IntersectProcPtr)(
- RegionPtr /*newReg*/,
- RegionPtr /*reg1*/,
- RegionPtr /*reg2*/);
-
-typedef Bool (* UnionProcPtr)(
- RegionPtr /*newReg*/,
- RegionPtr /*reg1*/,
- RegionPtr /*reg2*/);
-
-typedef Bool (* SubtractProcPtr)(
- RegionPtr /*regD*/,
- RegionPtr /*regM*/,
- RegionPtr /*regS*/);
-
-typedef Bool (* InverseProcPtr)(
- RegionPtr /*newReg*/,
- RegionPtr /*reg1*/,
- BoxPtr /*invRect*/);
-
-typedef void (* RegionResetProcPtr)(
- RegionPtr /*pReg*/,
- BoxPtr /*pBox*/);
-
-typedef void (* TranslateRegionProcPtr)(
- RegionPtr /*pReg*/,
- int /*x*/,
- int /*y*/);
-
-typedef int (* RectInProcPtr)(
- RegionPtr /*region*/,
- BoxPtr /*prect*/);
-
-typedef Bool (* PointInRegionProcPtr)(
- RegionPtr /*pReg*/,
- int /*x*/,
- int /*y*/,
- BoxPtr /*box*/);
-
-typedef Bool (* RegionNotEmptyProcPtr)(
- RegionPtr /*pReg*/);
-
-typedef Bool (* RegionEqualProcPtr)(
- RegionPtr /*pReg1*/,
- RegionPtr /*pReg2*/);
-
-typedef Bool (* RegionBrokenProcPtr)(
- RegionPtr /*pReg*/);
-
-typedef Bool (* RegionBreakProcPtr)(
- RegionPtr /*pReg*/);
-
-typedef void (* RegionEmptyProcPtr)(
- RegionPtr /*pReg*/);
-
-typedef BoxPtr (* RegionExtentsProcPtr)(
- RegionPtr /*pReg*/);
-
-typedef Bool (* RegionAppendProcPtr)(
- RegionPtr /*dstrgn*/,
- RegionPtr /*rgn*/);
-
-typedef Bool (* RegionValidateProcPtr)(
- RegionPtr /*badreg*/,
- Bool* /*pOverlap*/);
-
-#endif /* NEED_SCREEN_REGIONS */
-
typedef RegionPtr (* BitmapToRegionProcPtr)(
PixmapPtr /*pPix*/);
-#ifdef NEED_SCREEN_REGIONS
-
-typedef RegionPtr (* RectsToRegionProcPtr)(
- int /*nrects*/,
- xRectangle* /*prect*/,
- int /*ctype*/);
-
-#endif /* NEED_SCREEN_REGIONS */
-
typedef void (* SendGraphicsExposeProcPtr)(
ClientPtr /*client*/,
RegionPtr /*pRgn*/,
@@ -634,33 +536,7 @@ typedef struct _Screen {
/* Region procedures */
-#ifdef NEED_SCREEN_REGIONS
- RegionCreateProcPtr RegionCreate;
- RegionInitProcPtr RegionInit;
- RegionCopyProcPtr RegionCopy;
- RegionDestroyProcPtr RegionDestroy;
- RegionUninitProcPtr RegionUninit;
- IntersectProcPtr Intersect;
- UnionProcPtr Union;
- SubtractProcPtr Subtract;
- InverseProcPtr Inverse;
- RegionResetProcPtr RegionReset;
- TranslateRegionProcPtr TranslateRegion;
- RectInProcPtr RectIn;
- PointInRegionProcPtr PointInRegion;
- RegionNotEmptyProcPtr RegionNotEmpty;
- RegionEqualProcPtr RegionEqual;
- RegionBrokenProcPtr RegionBroken;
- RegionBreakProcPtr RegionBreak;
- RegionEmptyProcPtr RegionEmpty;
- RegionExtentsProcPtr RegionExtents;
- RegionAppendProcPtr RegionAppend;
- RegionValidateProcPtr RegionValidate;
-#endif /* NEED_SCREEN_REGIONS */
BitmapToRegionProcPtr BitmapToRegion;
-#ifdef NEED_SCREEN_REGIONS
- RectsToRegionProcPtr RectsToRegion;
-#endif /* NEED_SCREEN_REGIONS */
SendGraphicsExposeProcPtr SendGraphicsExpose;
/* os layer procedures */