| 1 |
/* $XConsortium: multiVis.h /main/4 1996/10/14 15:04:12 swick $ */ |
| 2 |
/** ------------------------------------------------------------------------ |
| 3 |
This file contains routines for manipulating generic lists. |
| 4 |
Lists are implemented with a "harness". In other words, each |
| 5 |
node in the list consists of two pointers, one to the data item |
| 6 |
and one to the next node in the list. The head of the list is |
| 7 |
the same struct as each node, but the "item" ptr is used to point |
| 8 |
to the current member of the list (used by the first_in_list and |
| 9 |
next_in_list functions). |
| 10 |
|
| 11 |
Copyright (c) 1994 Hewlett-Packard Co. |
| 12 |
Copyright (c) 1996 X Consortium |
| 13 |
|
| 14 |
Permission is hereby granted, free of charge, to any person obtaining |
| 15 |
a copy of this software and associated documentation files (the |
| 16 |
"Software"), to deal in the Software without restriction, including |
| 17 |
without limitation the rights to use, copy, modify, merge, publish, |
| 18 |
distribute, sublicense, and sell copies of the Software, and to |
| 19 |
permit persons to whom the Software is furnished to do so, subject to |
| 20 |
the following conditions: |
| 21 |
|
| 22 |
The above copyright notice and this permission notice shall be included |
| 23 |
in all copies or substantial portions of the Software. |
| 24 |
|
| 25 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 26 |
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 27 |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 28 |
IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 29 |
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 30 |
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 31 |
OTHER DEALINGS IN THE SOFTWARE. |
| 32 |
|
| 33 |
Except as contained in this notice, the name of the X Consortium shall |
| 34 |
not be used in advertising or otherwise to promote the sale, use or |
| 35 |
other dealings in this Software without prior written authorization |
| 36 |
from the X Consortium. |
| 37 |
|
| 38 |
------------------------------------------------------------------------ **/ |
| 39 |
|
| 40 |
extern int GetMultiVisualRegions( |
| 41 |
#if NeedFunctionPrototypes |
| 42 |
Display *, Window, int, int, unsigned int, |
| 43 |
unsigned int, int *, int *, XVisualInfo **, int *, |
| 44 |
OverlayInfo **, int *, XVisualInfo ***, list_ptr *, |
| 45 |
list_ptr *, int * |
| 46 |
#endif |
| 47 |
); |
| 48 |
|
| 49 |
extern XImage *ReadAreaToImage( |
| 50 |
#if NeedFunctionPrototypes |
| 51 |
Display *, Window, int, int, unsigned int, |
| 52 |
unsigned int, int, XVisualInfo *, int, |
| 53 |
OverlayInfo *, int, XVisualInfo **, list_ptr, |
| 54 |
list_ptr, int, int |
| 55 |
#endif |
| 56 |
); |
| 57 |
|
| 58 |
extern void initFakeVisual( |
| 59 |
#if NeedFunctionPrototypes |
| 60 |
Visual * |
| 61 |
#endif |
| 62 |
); |