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