multiVis.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /** ------------------------------------------------------------------------
  2. This file contains routines for manipulating generic lists.
  3. Lists are implemented with a "harness". In other words, each
  4. node in the list consists of two pointers, one to the data item
  5. and one to the next node in the list. The head of the list is
  6. the same struct as each node, but the "item" ptr is used to point
  7. to the current member of the list (used by the first_in_list and
  8. next_in_list functions).
  9. Copyright 1994 Hewlett-Packard Co.
  10. Copyright 1996, 1998 The Open Group
  11. Permission to use, copy, modify, distribute, and sell this software and its
  12. documentation for any purpose is hereby granted without fee, provided that
  13. the above copyright notice appear in all copies and that both that
  14. copyright notice and this permission notice appear in supporting
  15. documentation.
  16. The above copyright notice and this permission notice shall be included
  17. in all copies or substantial portions of the Software.
  18. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  19. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  20. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  21. IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
  22. OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  23. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  24. OTHER DEALINGS IN THE SOFTWARE.
  25. Except as contained in this notice, the name of The Open Group shall
  26. not be used in advertising or otherwise to promote the sale, use or
  27. other dealings in this Software without prior written authorization
  28. from The Open Group.
  29. ------------------------------------------------------------------------ **/
  30. extern int GetMultiVisualRegions(
  31. Display *, Window, int, int, unsigned int,
  32. unsigned int, int *, int *, XVisualInfo **, int *,
  33. OverlayInfo **, int *, XVisualInfo ***, list_ptr *,
  34. list_ptr *, int *
  35. );
  36. extern XImage *ReadAreaToImage(
  37. Display *, Window, int, int, unsigned int,
  38. unsigned int, int, XVisualInfo *, int,
  39. OverlayInfo *, int, XVisualInfo **, list_ptr,
  40. list_ptr, int, int
  41. );
  42. extern void initFakeVisual(
  43. Visual *
  44. );