470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync/*
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * Copyright 2002 Red Hat Inc., Durham, North Carolina.
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync *
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * All Rights Reserved.
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync *
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * Permission is hereby granted, free of charge, to any person obtaining
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * a copy of this software and associated documentation files (the
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * "Software"), to deal in the Software without restriction, including
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * without limitation on the rights to use, copy, modify, merge,
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * and to permit persons to whom the Software is furnished to do so,
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * subject to the following conditions:
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync *
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * The above copyright notice and this permission notice (including the
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * next paragraph) shall be included in all copies or substantial
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * portions of the Software.
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync *
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * SOFTWARE.
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync */
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync/*
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * Authors:
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * Kevin E. Martin <kem@redhat.com>
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync *
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync */
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync/** \file
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync * Interface for visual support. \see dmxvisual.c */
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync#ifndef DMXVISUAL_H
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync#define DMXVISUAL_H
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync#include "scrnintstr.h"
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsyncextern Visual *dmxLookupVisual(ScreenPtr pScreen, VisualPtr pVisual);
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsyncextern Visual *dmxLookupVisualFromID(ScreenPtr pScreen, VisualID vid);
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsyncextern Colormap dmxColormapFromDefaultVisual(ScreenPtr pScreen,
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync Visual *visual);
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync#endif /* DMXVISUAL_H */
470122d12fa43f83f993ae8e93ba8e3cf4c674cdvboxsync