# HG changeset patch # User Frank Benoit # Date 1217808358 -7200 # Node ID 05e48e1e65d1944a973c7ebca8916c6e9f721891 # Parent 5583b017ffd2461a54ba964b261e6f832285ffd1 Double constant values for Draw2D diff -r 5583b017ffd2 -r 05e48e1e65d1 dwt/dwthelper/utils.d --- a/dwt/dwthelper/utils.d Mon Aug 04 02:05:36 2008 +0200 +++ b/dwt/dwthelper/utils.d Mon Aug 04 02:05:58 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 ); } +