Mercurial > projects > dwt-win
comparison dwt/events/PaintEvent.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 | bef1ed4ebc50 |
children | fd9c62a2998e |
comparison
equal
deleted
inserted
replaced
211:ff59aeb96cac | 212:ab60f3309436 |
---|---|
17 import dwt.graphics.GC; | 17 import dwt.graphics.GC; |
18 | 18 |
19 import dwt.events.TypedEvent; | 19 import dwt.events.TypedEvent; |
20 | 20 |
21 import tango.text.convert.Format; | 21 import tango.text.convert.Format; |
22 import dwt.dwthelper.utils; | |
22 | 23 |
23 /** | 24 /** |
24 * Instances of this class are sent as a result of | 25 * Instances of this class are sent as a result of |
25 * visible areas of controls requiring re-painting. | 26 * visible areas of controls requiring re-painting. |
26 * | 27 * |
90 * Returns a string containing a concise, human-readable | 91 * Returns a string containing a concise, human-readable |
91 * description of the receiver. | 92 * description of the receiver. |
92 * | 93 * |
93 * @return a string representation of the event | 94 * @return a string representation of the event |
94 */ | 95 */ |
95 public override char[] toString() { | 96 public override String toString() { |
96 return Format( "{} gc={} x={} y={} width={} height={} count={}}", | 97 return Format( "{} gc={} x={} y={} width={} height={} count={}}", |
97 super.toString[ 0 .. $-1 ], | 98 super.toString[ 0 .. $-1 ], |
98 gc is null ? "null" : gc.toString, | 99 gc is null ? "null" : gc.toString, |
99 x, | 100 x, |
100 y, | 101 y, |