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