Mercurial > projects > dwt-win
diff dwt/graphics/GlyphMetrics.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 | 06825fa0ae76 |
children | fd9c62a2998e |
line wrap: on
line diff
--- a/dwt/graphics/GlyphMetrics.d Sat Apr 26 10:01:48 2008 +0200 +++ b/dwt/graphics/GlyphMetrics.d Mon May 05 00:12:38 2008 +0200 @@ -14,6 +14,8 @@ import dwt.DWT; import tango.text.convert.Format; +import dwt.dwthelper.utils; + /** * Instances of this class represent glyph metrics. * <p> @@ -106,7 +108,7 @@ * * @return a string representation of the <code>GlyphMetrics</code> */ -public override char[] toString () { +public override String toString () { return Format( "GlyphMetrics {{{}, {}, {}}", ascent, descent, width ); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ }