diff options
author | Veronika Irvine <veronika> | 2004-05-27 15:25:03 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2004-05-27 15:25:03 +0000 |
commit | 8a65e1fd2455272593b4de7266f7da4898fabc38 (patch) | |
tree | af8121c0c91fa4fef2aa05060f1b216aeab28238 | |
parent | 0026caf376c773f8cbfc6d3dcb9cd3e20b4f6d7f (diff) | |
download | eclipse.platform.swt-8a65e1fd2455272593b4de7266f7da4898fabc38.tar.gz eclipse.platform.swt-8a65e1fd2455272593b4de7266f7da4898fabc38.tar.xz eclipse.platform.swt-8a65e1fd2455272593b4de7266f7da4898fabc38.zip |
low res displays should not anti-alias
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java index 7ffa9111d9..6ccb013390 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java @@ -462,6 +462,8 @@ void antialias (int[] shape, RGB lineRGB, RGB innerRGB, RGB outerRGB, GC gc){ // Don't perform anti-aliasing on Mac because the platform // already does it. The simple style also does not require anti-aliasing. if (simple || "carbon".equals(SWT.getPlatform())) return; //$NON-NLS-1$ + // Don't perform anti-aliasing on low resolution displays + if (getDisplay().getDepth() < 15) return; if (outerRGB != null) { int index = 0; boolean left = true; |