src/video/x11/SDL_x11gamma.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 01 Sep 2008 16:04:20 +0000
changeset 2738 79c1bd651f04
parent 2214 e7164a4dac62
child 2859 99210400e8b9
permissions -rw-r--r--
Fixed a bunch of compile warnings on Mac OS X
bob@2162
     1
/*
bob@2162
     2
    SDL - Simple DirectMedia Layer
bob@2162
     3
    Copyright (C) 1997-2006 Sam Lantinga
bob@2162
     4
bob@2162
     5
    This library is free software; you can redistribute it and/or
bob@2162
     6
    modify it under the terms of the GNU Lesser General Public
bob@2162
     7
    License as published by the Free Software Foundation; either
bob@2162
     8
    version 2.1 of the License, or (at your option) any later version.
bob@2162
     9
bob@2162
    10
    This library is distributed in the hope that it will be useful,
bob@2162
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
bob@2162
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
bob@2162
    13
    Lesser General Public License for more details.
bob@2162
    14
bob@2162
    15
    You should have received a copy of the GNU Lesser General Public
bob@2162
    16
    License along with this library; if not, write to the Free Software
bob@2162
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
bob@2162
    18
bob@2162
    19
    Sam Lantinga
bob@2162
    20
    slouken@libsdl.org
bob@2162
    21
*/
bob@2162
    22
#include "SDL_config.h"
bob@2162
    23
bob@2162
    24
#ifndef _SDL_x11gamma_h
bob@2162
    25
#define _SDL_x11gamma_h
bob@2162
    26
bob@2214
    27
extern Colormap X11_LookupColormap(Display * display, int scrNum,
bob@2214
    28
                                   VisualID vid);
bob@2213
    29
extern void X11_TrackColormap(Display * display, int scrNum,
bob@2214
    30
                              Colormap colormap, XStandardColormap * cmap,
bob@2214
    31
                              Visual * visual);
bob@2213
    32
bob@2162
    33
extern int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp);
bob@2162
    34
extern int X11_GetDisplayGammaRamp(_THIS, Uint16 * ramp);
bob@2162
    35
bob@2162
    36
#endif