Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Nemkin2019-04-22 13:47:03 +0000
committerLakshmi Shanmugam2019-06-14 06:41:35 +0000
commit143a750b606afcb9465d03b28724ea61c02d1f04 (patch)
treecf5348221c2ddcd88d62f4c5d2ce6cbf63ed7f05 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreTextFull.bridgesupport.extras
parenteee77d9544f575efd95665a23adbfed79e841cc9 (diff)
downloadeclipse.platform.swt-143a750b606afcb9465d03b28724ea61c02d1f04.tar.gz
eclipse.platform.swt-143a750b606afcb9465d03b28724ea61c02d1f04.tar.xz
eclipse.platform.swt-143a750b606afcb9465d03b28724ea61c02d1f04.zip
Bug 547192 - [Cocoa] Replace deprecated Carbon functions (Part 1)
Deprecated function | Modern equivalent ------------------------------------------------------------------- Gestalt | NSProcessInfo.operatingSystemVersion GetDblTime | NSEvent.doubleClickInterval GetCurrentEventButtonState | NSEvent.pressedMouseButtons ATSFontActivateFromFileReference | CTFontManagerRegisterFontsForURL Change-Id: I7ba3e3da6c73117bc7800d022b8eba9fb3cc907a Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreTextFull.bridgesupport.extras')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreTextFull.bridgesupport.extras7
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreTextFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreTextFull.bridgesupport.extras
index bd180d9230..6d614bbddf 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreTextFull.bridgesupport.extras
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreTextFull.bridgesupport.extras
@@ -3,6 +3,7 @@
<constant name="kCTFontAttributeName" swt_gen="true"></constant>
<constant name="kCTForegroundColorAttributeName" swt_gen="true"></constant>
<constant name="kCTParagraphStyleAttributeName" swt_gen="true"></constant>
+ <enum name="kCTFontManagerScopeProcess" swt_gen="true"></enum>
<enum name="kCTParagraphStyleSpecifierBaseWritingDirection" swt_gen="true"></enum>
<enum name="kCTWritingDirectionLeftToRight" swt_gen="true"></enum>
<enum name="kCTWritingDirectionNatural" swt_gen="true"></enum>
@@ -19,6 +20,12 @@
<arg swt_gen="true"></arg>
<retval swt_gen="true"></retval>
</function>
+ <function name="CTFontManagerRegisterFontsForURL" swt_gen="true">
+ <arg swt_gen="true"></arg>
+ <arg swt_gen="true"></arg>
+ <arg swt_gen="true"></arg>
+ <retval swt_gen="true"></retval>
+ </function>
<function name="CTLineCreateWithAttributedString" swt_gen="true">
<arg swt_gen="true"></arg>
<retval swt_gen="true"></retval>

Back to the top