Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11modes.h @ 2870:b801df19835f
The X11 window and all pixmaps and images share the same visual and depth.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 14 Dec 2008 04:36:32 +0000 |
parents | 99210400e8b9 |
children | b33e38aaa027 |
comparison
equal
deleted
inserted
replaced
2869:2fe507a2ef7d | 2870:b801df19835f |
---|---|
29 int screen; | 29 int screen; |
30 Visual *visual; | 30 Visual *visual; |
31 int depth; | 31 int depth; |
32 } SDL_DisplayData; | 32 } SDL_DisplayData; |
33 | 33 |
34 //typedef struct | |
35 //{ | |
36 // TCHAR DeviceName[32]; | |
37 // DEVMODE DeviceMode; | |
38 //} SDL_DisplayModeData; | |
39 | |
40 extern void X11_InitModes(_THIS); | 34 extern void X11_InitModes(_THIS); |
41 extern void X11_GetDisplayModes(_THIS); | 35 extern void X11_GetDisplayModes(_THIS); |
42 extern int X11_SetDisplayMode(_THIS, SDL_DisplayMode * mode); | 36 extern int X11_SetDisplayMode(_THIS, SDL_DisplayMode * mode); |
43 extern void X11_QuitModes(_THIS); | 37 extern void X11_QuitModes(_THIS); |
44 | 38 |