Mercurial > sdl-ios-xcode
diff src/video/quartz/CGS.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | d910939febfa |
children |
line wrap: on
line diff
--- a/src/video/quartz/CGS.h Thu Jul 06 18:01:37 2006 +0000 +++ b/src/video/quartz/CGS.h Mon Jul 10 21:04:37 2006 +0000 @@ -49,36 +49,37 @@ #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 (); +extern CGSConnectionID _CGSDefaultConnection(); -extern CGSError CGSGetOnScreenWindowList (CGSConnectionID cid, - CGSConnectionID owner, - CGSWindowCount listCapacity, - CGSWindowIDList list, - CGSWindowCount *listCount); +extern CGSError CGSGetOnScreenWindowList(CGSConnectionID cid, + CGSConnectionID owner, + CGSWindowCount listCapacity, + CGSWindowIDList list, + CGSWindowCount * listCount); -extern CGSError CGSGetScreenRectForWindow (CGSConnectionID cid, - CGSWindowID wid, - CGSRect *rect); +extern CGSError CGSGetScreenRectForWindow(CGSConnectionID cid, + CGSWindowID wid, CGSRect * rect); -extern CGWindowLevel CGSGetWindowLevel (CGSConnectionID cid, - CGSWindowID wid, - CGSWindowLevel *level); +extern CGWindowLevel CGSGetWindowLevel(CGSConnectionID cid, + CGSWindowID wid, + 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 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); - +int CGSDisplayHWSync(CGDirectDisplayID id); +/* vi: set ts=4 sw=4 expandtab: */