* WebKitSystemInterface.h: Added WKDrawFocusRing.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 19 Feb 2006 18:37:19 +0000 (18:37 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 19 Feb 2006 18:37:19 +0000 (18:37 +0000)
        * libWebKitSystemInterface.a: Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12899 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitLibraries/ChangeLog
WebKitLibraries/WebKitSystemInterface.h
WebKitLibraries/libWebKitSystemInterface.a

index e94df10546b10d919f9898577cdfa597faf15c30..f1dbecd0677b406909d2ac18ac4bdd9005032603 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-19  Darin Adler  <darin@apple.com>
+
+        * WebKitSystemInterface.h: Added WKDrawFocusRing.
+        * libWebKitSystemInterface.a: Ditto.
+
 2006-02-06  John Sullivan  <sullivan@apple.com>
 
         * WebKitSystemInterface.h:
index 126da267f6b27d448fb160765a572880d7777941..abfd6ef5d692ea4521d88dbcd06c59be08118568 100644 (file)
@@ -1,7 +1,7 @@
 /*      
     WebKitSystemInterface.h
-    Copyright (C) 2005 Apple Computer, Inc. All rights reserved.    
-    
+    Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved.    
+
     Public header file.
 */
 
@@ -87,7 +87,16 @@ CFReadStreamRef WKCreateCustomCFReadStream(void *(*formCreate)(CFReadStreamRef,
     void (*formUnschedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *),
     void *context);
 
+void WKDrawFocusRing(CGContextRef context, CGRect clipRect, CGColorRef color, int radius);
+    // Ignore the context's clipping.
+    // The CG context's current path is the focus ring's path.
+    // A color of 0 means "use system focus ring color".
+    // A radius of 0 means "use default focus ring radius".
+
 void WKSetFocusRingStyle(NSFocusRingPlacement placement, int radius, NSColor *color);
+    // Deprecated (even more than the rest of this file).
+    // Keeping this here until WebKit switches entirely to WKDrawFocusRing.
+
 void WKSetDragImage(NSImage *image, NSPoint offset);
 
 void WKSendUserChangeNotifications(void);
index c5e3106cb3257284da78eaad1f027d7a547e7d62..2308bf02dd21a4131d6f007e63b0fd623094312f 100644 (file)
Binary files a/WebKitLibraries/libWebKitSystemInterface.a and b/WebKitLibraries/libWebKitSystemInterface.a differ