comparison src/video/x11/SDL_x11video.h @ 1950:a344e42bce3b

Started work on the new X11 driver.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 26 Jul 2006 06:34:54 +0000
parents
children 7177581dc9fa
comparison
equal deleted inserted replaced
1949:44b6f09a07d8 1950:a344e42bce3b
1 /*
2 SDL - Simple DirectMedia Layer
3 Copyright (C) 1997-2006 Sam Lantinga
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19 Sam Lantinga
20 slouken@libsdl.org
21 */
22 #include "SDL_config.h"
23
24 #ifndef _SDL_x11video_h
25 #define _SDL_x11video_h
26
27 #include "../SDL_sysvideo.h"
28
29 #include <X11/Xlib.h>
30 #include <X11/Xutil.h>
31 #include <X11/Xatom.h>
32
33 //#include "SDL_x11events.h"
34 //#include "SDL_x11gamma.h"
35 #include "SDL_x11keyboard.h"
36 #include "SDL_x11modes.h"
37 #include "SDL_x11mouse.h"
38 //#include "SDL_x11opengl.h"
39 //#include "SDL_x11window.h"
40
41 #if SDL_VIDEO_DRIVER_X11_XINERAMA
42 #include "../Xext/extensions/Xinerama.h"
43 #endif
44 #if SDL_VIDEO_DRIVER_X11_XRANDR
45 #include <X11/extensions/Xrandr.h>
46 #endif
47 #if SDL_VIDEO_DRIVER_X11_VIDMODE
48 #include "../Xext/extensions/xf86vmode.h"
49 #endif
50 #if SDL_VIDEO_DRIVER_X11_XME
51 #include "../Xext/extensions/xme.h"
52 #endif
53 #if SDL_VIDEO_DRIVER_X11_DPMS
54 #include <X11/extensions/dpms.h>
55 #endif
56
57 #include "SDL_x11dyn.h"
58
59 /* Private display data */
60
61 typedef struct SDL_VideoData
62 {
63 Display *display;
64 int mouse;
65 int keyboard;
66 } SDL_VideoData;
67
68 #endif /* _SDL_x11video_h */
69
70 /* vi: set ts=4 sw=4 expandtab: */