1 | /* $XFree86: xc/programs/Xserver/include/bstorestr.h,v 1.2 2001/01/06 20:58:12 tsi Exp $*/
|
---|
2 | /*
|
---|
3 | * Copyright (c) 1987 by the Regents of the University of California
|
---|
4 | *
|
---|
5 | * Permission to use, copy, modify, and distribute this software and its
|
---|
6 | * documentation for any purpose and without fee is hereby granted, provided
|
---|
7 | * that the above copyright notice appear in all copies. The University of
|
---|
8 | * California makes no representations about the suitability of this software
|
---|
9 | * for any purpose. It is provided "as is" without express or implied
|
---|
10 | * warranty.
|
---|
11 | */
|
---|
12 |
|
---|
13 | /*
|
---|
14 | * Moved here from mi to allow wrapping of lower level backing store functions.
|
---|
15 | * -- 1997.10.27 Marc Aurele La France ([email protected])
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef _BSTORESTR_H_
|
---|
19 | #define _BSTORESTR_H_
|
---|
20 |
|
---|
21 | #include "gc.h"
|
---|
22 | #include "pixmap.h"
|
---|
23 | #include "region.h"
|
---|
24 | #include "window.h"
|
---|
25 |
|
---|
26 | typedef void (* BackingStoreSaveAreasProcPtr)(
|
---|
27 | #if NeedNestedPrototypes
|
---|
28 | PixmapPtr /*pBackingPixmap*/,
|
---|
29 | RegionPtr /*pObscured*/,
|
---|
30 | int /*x*/,
|
---|
31 | int /*y*/,
|
---|
32 | WindowPtr /*pWin*/
|
---|
33 | #endif
|
---|
34 | );
|
---|
35 |
|
---|
36 | typedef void (* BackingStoreRestoreAreasProcPtr)(
|
---|
37 | #if NeedNestedPrototypes
|
---|
38 | PixmapPtr /*pBackingPixmap*/,
|
---|
39 | RegionPtr /*pExposed*/,
|
---|
40 | int /*x*/,
|
---|
41 | int /*y*/,
|
---|
42 | WindowPtr /*pWin*/
|
---|
43 | #endif
|
---|
44 | );
|
---|
45 |
|
---|
46 | typedef void (* BackingStoreSetClipmaskRgnProcPtr)(
|
---|
47 | #if NeedNestedPrototypes
|
---|
48 | GCPtr /*pBackingGC*/,
|
---|
49 | RegionPtr /*pbackingCompositeClip*/
|
---|
50 | #endif
|
---|
51 | );
|
---|
52 |
|
---|
53 | typedef PixmapPtr (* BackingStoreGetImagePixmapProcPtr)( /* unused */
|
---|
54 | #if NeedNestedPrototypes
|
---|
55 | void
|
---|
56 | #endif
|
---|
57 | );
|
---|
58 |
|
---|
59 | typedef PixmapPtr (* BackingStoreGetSpansPixmapProcPtr)( /* unused */
|
---|
60 | #if NeedNestedPrototypes
|
---|
61 | void
|
---|
62 | #endif
|
---|
63 | );
|
---|
64 |
|
---|
65 | typedef struct _BSFuncs {
|
---|
66 |
|
---|
67 | BackingStoreSaveAreasProcPtr SaveAreas;
|
---|
68 | BackingStoreRestoreAreasProcPtr RestoreAreas;
|
---|
69 | BackingStoreSetClipmaskRgnProcPtr SetClipmaskRgn;
|
---|
70 | BackingStoreGetImagePixmapProcPtr GetImagePixmap;
|
---|
71 | BackingStoreGetSpansPixmapProcPtr GetSpansPixmap;
|
---|
72 |
|
---|
73 | } BSFuncRec, *BSFuncPtr;
|
---|
74 |
|
---|
75 | #endif /* _BSTORESTR_H_ */
|
---|