Mercurial > sdl-ios-xcode
diff src/video/quartz/CGS.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 | d910939febfa |
children | 4da1ee79c9af |
line wrap: on
line diff
--- a/src/video/quartz/CGS.h Sun May 21 17:27:13 2006 +0000 +++ b/src/video/quartz/CGS.h Sun May 28 13:04:16 2006 +0000 @@ -49,13 +49,13 @@ #define kCGSWindowLevelDesktop -2147483648 */ -typedef CGError CGSError; -typedef long CGSWindowCount; -typedef void * CGSConnectionID; -typedef int CGSWindowID; -typedef CGSWindowID* CGSWindowIDList; +typedef CGError CGSError; +typedef long CGSWindowCount; +typedef void *CGSConnectionID; +typedef int CGSWindowID; +typedef CGSWindowID *CGSWindowIDList; typedef CGWindowLevel CGSWindowLevel; -typedef NSRect CGSRect; +typedef NSRect CGSRect; extern CGSConnectionID _CGSDefaultConnection (); @@ -63,22 +63,23 @@ CGSConnectionID owner, CGSWindowCount listCapacity, CGSWindowIDList list, - CGSWindowCount *listCount); + CGSWindowCount * listCount); extern CGSError CGSGetScreenRectForWindow (CGSConnectionID cid, - CGSWindowID wid, - CGSRect *rect); + CGSWindowID wid, CGSRect * rect); extern CGWindowLevel CGSGetWindowLevel (CGSConnectionID cid, CGSWindowID wid, - CGSWindowLevel *level); + CGSWindowLevel * level); -extern CGSError CGSDisplayHWFill (CGDirectDisplayID id, unsigned int x, unsigned int y, - unsigned int w, unsigned int h, unsigned int color); +extern CGSError CGSDisplayHWFill (CGDirectDisplayID id, unsigned int x, + unsigned int y, unsigned int w, + unsigned int h, unsigned int color); extern CGSError CGSDisplayCanHWFill (CGDirectDisplayID id); -extern CGSError CGSGetMouseEnabledFlags (CGSConnectionID cid, CGSWindowID wid, int *flags); +extern CGSError CGSGetMouseEnabledFlags (CGSConnectionID cid, CGSWindowID wid, + int *flags); int CGSDisplayHWSync (CGDirectDisplayID id); - +/* vi: set ts=4 sw=4 expandtab: */