changeset 273:8632408a70aa

Minimal adjustement for draw2d
author Frank Benoit <benoit@tionex.de>
date Sun, 03 Aug 2008 02:21:43 +0200
parents 463d461e6e78
children 62a03a4c21c8
files dwt/dwthelper/ByteArrayOutputStream.d dwt/dwthelper/utils.d
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/dwthelper/ByteArrayOutputStream.d	Fri Aug 01 07:16:10 2008 +0200
+++ b/dwt/dwthelper/ByteArrayOutputStream.d	Sun Aug 03 02:21:43 2008 +0200
@@ -6,7 +6,6 @@
 public import dwt.dwthelper.OutputStream;
 import dwt.dwthelper.utils;
 import tango.io.Buffer;
-import tango.io.Buffer;
 
 public class ByteArrayOutputStream : dwt.dwthelper.OutputStream.OutputStream {
 
--- a/dwt/dwthelper/utils.d	Fri Aug 01 07:16:10 2008 +0200
+++ b/dwt/dwthelper/utils.d	Sun Aug 03 02:21:43 2008 +0200
@@ -230,6 +230,8 @@
 alias Integer ValueWrapperInt;
 
 class Double : ValueWrapperT!(double) {
+    public static double MAX_VALUE = double.max;
+    public static double MIN_VALUE = double.min;
     this( double value ){
         super(value);
     }
@@ -969,3 +971,4 @@
 template getImportData(String name ){
     const ImportData getImportData = ImportData( import(name), name );
 }
+