multiVis.h revision 0
0N/A/*
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
0N/A * published by the Free Software Foundation. Sun designates this
0N/A * particular file as subject to the "Classpath" exception as provided
0N/A * by Sun in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
0N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0N/A * CA 95054 USA or visit www.sun.com if you need additional information or
0N/A * have any questions.
0N/A */
0N/A/* $XConsortium: multiVis.h /main/4 1996/10/14 15:04:12 swick $ */
0N/A/** ------------------------------------------------------------------------
0N/A This file contains routines for manipulating generic lists.
0N/A Lists are implemented with a "harness". In other words, each
0N/A node in the list consists of two pointers, one to the data item
0N/A and one to the next node in the list. The head of the list is
0N/A the same struct as each node, but the "item" ptr is used to point
0N/A to the current member of the list (used by the first_in_list and
0N/A next_in_list functions).
0N/A
0N/A This file is available under and governed by the GNU General Public
0N/A License version 2 only, as published by the Free Software Foundation.
0N/A However, the following notice accompanied the original version of this
0N/A file:
0N/A
0N/ACopyright (c) 1994 Hewlett-Packard Co.
0N/ACopyright (c) 1996 X Consortium
0N/A
0N/APermission is hereby granted, free of charge, to any person obtaining
0N/Aa copy of this software and associated documentation files (the
0N/A"Software"), to deal in the Software without restriction, including
0N/Awithout limitation the rights to use, copy, modify, merge, publish,
0N/Adistribute, sublicense, and sell copies of the Software, and to
0N/Apermit persons to whom the Software is furnished to do so, subject to
0N/Athe following conditions:
0N/A
0N/AThe above copyright notice and this permission notice shall be included
0N/Ain all copies or substantial portions of the Software.
0N/A
0N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
0N/AOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0N/AMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
0N/AIN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
0N/AOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
0N/AARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0N/AOTHER DEALINGS IN THE SOFTWARE.
0N/A
0N/AExcept as contained in this notice, the name of the X Consortium shall
0N/Anot be used in advertising or otherwise to promote the sale, use or
0N/Aother dealings in this Software without prior written authorization
0N/Afrom the X Consortium.
0N/A
0N/A ------------------------------------------------------------------------ **/
0N/A
0N/Aextern int32_t GetMultiVisualRegions(
0N/A#if NeedFunctionPrototypes
0N/A Display *, Window, int32_t, int32_t, uint32_t,
0N/A uint32_t, int32_t *, int32_t *, XVisualInfo **, int32_t *,
0N/A OverlayInfo **, int32_t *, XVisualInfo ***, list_ptr *,
0N/A list_ptr *, int32_t *
0N/A#endif
0N/A);
0N/A
0N/Aextern XImage *ReadAreaToImage(
0N/A#if NeedFunctionPrototypes
0N/A Display *, Window, int32_t, int32_t, uint32_t,
0N/A uint32_t, int32_t, XVisualInfo *, int32_t,
0N/A OverlayInfo *, int32_t, XVisualInfo **, list_ptr,
0N/A list_ptr, int32_t, int32_t
0N/A#endif
0N/A);
0N/A
0N/Aextern void initFakeVisual(
0N/A#if NeedFunctionPrototypes
0N/A Visual *
0N/A#endif
0N/A);