diff dwt/graphics/Color.d @ 212:ab60f3309436

reverted the char[] to String and use the an alias.
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:12:38 +0200
parents 184ab53b7785
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/graphics/Color.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/graphics/Color.d	Mon May 05 00:12:38 2008 +0200
@@ -21,6 +21,7 @@
 import dwt.graphics.Device;
 
 import tango.text.convert.Format;
+import dwt.dwthelper.utils;
 
 /**
  * Instances of this class manage the operating system resources that
@@ -317,7 +318,7 @@
  *
  * @return a string representation of the receiver
  */
-override public char[] toString () {
+override public String toString () {
     if (isDisposed()) return "Color {*DISPOSED*}"; //$NON-NLS-1$
     return Format( "Color {{{}, {}, {}}", getRed(), getGreen(), getBlue()); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
 }