comparison 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
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
47 #define kCGSWindowLevelMBarShadow -20 47 #define kCGSWindowLevelMBarShadow -20
48 #define kCGSWindowLevelDesktopPicture -2147483647 48 #define kCGSWindowLevelDesktopPicture -2147483647
49 #define kCGSWindowLevelDesktop -2147483648 49 #define kCGSWindowLevelDesktop -2147483648
50 */ 50 */
51 51
52 typedef CGError CGSError; 52 typedef CGError CGSError;
53 typedef long CGSWindowCount; 53 typedef long CGSWindowCount;
54 typedef void * CGSConnectionID; 54 typedef void *CGSConnectionID;
55 typedef int CGSWindowID; 55 typedef int CGSWindowID;
56 typedef CGSWindowID* CGSWindowIDList; 56 typedef CGSWindowID *CGSWindowIDList;
57 typedef CGWindowLevel CGSWindowLevel; 57 typedef CGWindowLevel CGSWindowLevel;
58 typedef NSRect CGSRect; 58 typedef NSRect CGSRect;
59 59
60 extern CGSConnectionID _CGSDefaultConnection (); 60 extern CGSConnectionID _CGSDefaultConnection();
61 61
62 extern CGSError CGSGetOnScreenWindowList (CGSConnectionID cid, 62 extern CGSError CGSGetOnScreenWindowList(CGSConnectionID cid,
63 CGSConnectionID owner, 63 CGSConnectionID owner,
64 CGSWindowCount listCapacity, 64 CGSWindowCount listCapacity,
65 CGSWindowIDList list, 65 CGSWindowIDList list,
66 CGSWindowCount *listCount); 66 CGSWindowCount * listCount);
67 67
68 extern CGSError CGSGetScreenRectForWindow (CGSConnectionID cid, 68 extern CGSError CGSGetScreenRectForWindow(CGSConnectionID cid,
69 CGSWindowID wid, 69 CGSWindowID wid, CGSRect * rect);
70 CGSRect *rect);
71 70
72 extern CGWindowLevel CGSGetWindowLevel (CGSConnectionID cid, 71 extern CGWindowLevel CGSGetWindowLevel(CGSConnectionID cid,
73 CGSWindowID wid, 72 CGSWindowID wid,
74 CGSWindowLevel *level); 73 CGSWindowLevel * level);
75 74
76 extern CGSError CGSDisplayHWFill (CGDirectDisplayID id, unsigned int x, unsigned int y, 75 extern CGSError CGSDisplayHWFill(CGDirectDisplayID id, unsigned int x,
77 unsigned int w, unsigned int h, unsigned int color); 76 unsigned int y, unsigned int w,
77 unsigned int h, unsigned int color);
78 78
79 extern CGSError CGSDisplayCanHWFill (CGDirectDisplayID id); 79 extern CGSError CGSDisplayCanHWFill(CGDirectDisplayID id);
80 80
81 extern CGSError CGSGetMouseEnabledFlags (CGSConnectionID cid, CGSWindowID wid, int *flags); 81 extern CGSError CGSGetMouseEnabledFlags(CGSConnectionID cid, CGSWindowID wid,
82 int *flags);
82 83
83 int CGSDisplayHWSync (CGDirectDisplayID id); 84 int CGSDisplayHWSync(CGDirectDisplayID id);
84 85 /* vi: set ts=4 sw=4 expandtab: */