diff dwt/graphics/Resource.d @ 174:f906dbcacee5

Minor changes to be more compatible to dwt-linux, formatting in toString, Display.DEBUG=true
author Frank Benoit <benoit@tionex.de>
date Sun, 02 Mar 2008 23:39:01 +0100
parents d3cfc7ee5c52
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/graphics/Resource.d	Sun Mar 02 23:12:38 2008 +0100
+++ b/dwt/graphics/Resource.d	Sun Mar 02 23:39:01 2008 +0100
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/*******************************************************************************
  * Copyright (c) 2000, 2005 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
@@ -7,6 +7,8 @@
  *
  * Contributors:
  *     IBM Corporation - initial API and implementation
+ * Port to the D programming language:
+ *     Frank Benoit <benoit@tionex.de>
  *******************************************************************************/
 module dwt.graphics.Resource;
 
@@ -14,7 +16,7 @@
 import dwt.graphics.Device;
 
 /**
- * This class is the abstract superclass of all graphics resource objects.  
+ * This class is the abstract superclass of all graphics resource objects.
  * Resources created by the application must be disposed.
  * <p>
  * IMPORTANT: This class is intended to be subclassed <em>only</em>
@@ -32,11 +34,11 @@
  *
  * @see #dispose
  * @see #isDisposed
- * 
+ *
  * @since 3.1
  */
 public abstract class Resource {
-    
+
     /**
      * the device where this resource was created
      */
@@ -54,7 +56,7 @@
  * created.
  *
  * @return <code>Device</code> the device of the receiver
- * 
+ *
  * @since 3.2
  */
 public Device getDevice() {