Mercurial > sdl-ios-xcode
comparison src/video/Xext/extensions/panoramiXext.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | 585a7e1285ae |
children | 4da1ee79c9af |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
33 /* THIS IS NOT AN X PROJECT TEAM SPECIFICATION */ | 33 /* THIS IS NOT AN X PROJECT TEAM SPECIFICATION */ |
34 | 34 |
35 #define PANORAMIX_MAJOR_VERSION 1 /* current version number */ | 35 #define PANORAMIX_MAJOR_VERSION 1 /* current version number */ |
36 #define PANORAMIX_MINOR_VERSION 1 | 36 #define PANORAMIX_MINOR_VERSION 1 |
37 | 37 |
38 typedef struct { | 38 typedef struct |
39 Window window; /* PanoramiX window - may not exist */ | 39 { |
40 int screen; | 40 Window window; /* PanoramiX window - may not exist */ |
41 int State; /* PanroamiXOff, PanoramiXOn */ | 41 int screen; |
42 int width; /* width of this screen */ | 42 int State; /* PanroamiXOff, PanoramiXOn */ |
43 int height; /* height of this screen */ | 43 int width; /* width of this screen */ |
44 int ScreenCount; /* real physical number of screens */ | 44 int height; /* height of this screen */ |
45 XID eventMask; /* selected events for this client */ | 45 int ScreenCount; /* real physical number of screens */ |
46 } SDL_NAME(XPanoramiXInfo); | 46 XID eventMask; /* selected events for this client */ |
47 } SDL_NAME (XPanoramiXInfo); | |
47 | 48 |
48 extern SDL_NAME(XPanoramiXInfo) *SDL_NAME(XPanoramiXAllocInfo) ( | 49 extern |
50 SDL_NAME (XPanoramiXInfo) * | |
51 SDL_NAME (XPanoramiXAllocInfo) ( | |
49 #if NeedFunctionPrototypes | 52 #if NeedFunctionPrototypes |
50 void | 53 void |
51 #endif | 54 #endif |
52 ); | 55 ); |
56 /* vi: set ts=4 sw=4 expandtab: */ |