summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCachedImageRep.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCachedImageRep.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCachedImageRep.java44
1 files changed, 0 insertions, 44 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCachedImageRep.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCachedImageRep.java
deleted file mode 100644
index b07239a547..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCachedImageRep.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.cocoa;
-
-public class NSCachedImageRep extends NSImageRep {
-
-public NSCachedImageRep() {
- super();
-}
-
-public NSCachedImageRep(int id) {
- super(id);
-}
-
-public NSCachedImageRep initWithSize(NSSize size, int depth, boolean flag, boolean alpha) {
- int result = OS.objc_msgSend(this.id, OS.sel_initWithSize_1depth_1separate_1alpha_1, size, depth, flag, alpha);
- return result != 0 ? this : null;
-}
-
-public NSCachedImageRep initWithWindow(NSWindow win, NSRect rect) {
- int result = OS.objc_msgSend(this.id, OS.sel_initWithWindow_1rect_1, win != null ? win.id : 0, rect);
- return result != 0 ? this : null;
-}
-
-public NSRect rect() {
- NSRect result = new NSRect();
- OS.objc_msgSend_stret(result, this.id, OS.sel_rect);
- return result;
-}
-
-public NSWindow window() {
- int result = OS.objc_msgSend(this.id, OS.sel_window);
- return result != 0 ? new NSWindow(result) : null;
-}
-
-}