changeset 283:05e48e1e65d1

Double constant values for Draw2D
author Frank Benoit <benoit@tionex.de>
date Mon, 04 Aug 2008 02:05:58 +0200
parents 5583b017ffd2
children 6956821fe8ed
files dwt/dwthelper/utils.d
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 );
 }
+