]> git.saurik.com Git - iphone-api.git/blobdiff - GraphicsServices/GraphicsServices.h
Minor commit for Optimo.
[iphone-api.git] / GraphicsServices / GraphicsServices.h
index 87f80490b84b16aed6ee6a5c751c2fdc35f14e5d..c23c21dbf5cbcdc6d56f1a4d00a24834d5911c21 100644 (file)
@@ -43,6 +43,8 @@
 #include <CoreGraphics/CGGeometry.h>
 #include <GraphicsServices/GSWindow.h>
 
+typedef struct __GSFont *GSFontRef;
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -163,13 +165,14 @@ typedef struct __GSEvent *GSEventRef;
 
 #define _PurpleSystemEventPortName "PurpleSystemEventPort"
 
-struct GSEventHandInfo GSEventGetHandInfo(GSEventRef event);
 mach_port_name_t GSCopyPurpleSystemEventPort(void);
-mach_port_name_t GSGetPurpleNamedPort(CFStringRef name);
 uint64_t GSCurrentEventTimestamp(void);
-void GSSendSystemEvent(struct GSEventRecord *record);
-void GSSendEvent(struct GSEventRecord *record, mach_port_name_t port);
+struct GSEventHandInfo GSEventGetHandInfo(GSEventRef event);
+struct CGRect GSEventGetLocationInWindow(GSEventRef ev);
 struct GSPathInfo GSEventGetPathInfoAtIndex(GSEventRef event, unsigned index);
+mach_port_name_t GSGetPurpleNamedPort(CFStringRef name);
+void GSSendEvent(struct GSEventRecord *record, mach_port_name_t port);
+void GSSendSystemEvent(struct GSEventRecord *record);
 
 CFArrayRef GSSystemGetCapability(CFStringRef type);
 extern CFStringRef const kGSDisplayIdentifiersCapability;