From 2cccff25b95485ebbfd29c0aeac66179700ee56b Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 2 Jan 2009 23:08:58 +0000 Subject: [PATCH] Minor commit for Optimo. --- GraphicsServices/GraphicsServices.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/GraphicsServices/GraphicsServices.h b/GraphicsServices/GraphicsServices.h index 87f8049..c23c21d 100644 --- a/GraphicsServices/GraphicsServices.h +++ b/GraphicsServices/GraphicsServices.h @@ -43,6 +43,8 @@ #include #include +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; -- 2.45.2