comparison dwt/events/PaintEvent.d @ 86:bef1ed4ebc50

again copied events from dwt-linux
author Frank Benoit <benoit@tionex.de>
date Wed, 06 Feb 2008 21:33:24 +0100
parents 9a64a7781bab
children ab60f3309436
comparison
equal deleted inserted replaced
85:a155324d7a44 86:bef1ed4ebc50
90 * Returns a string containing a concise, human-readable 90 * Returns a string containing a concise, human-readable
91 * description of the receiver. 91 * description of the receiver.
92 * 92 *
93 * @return a string representation of the event 93 * @return a string representation of the event
94 */ 94 */
95 override public char[] toString() { 95 public override char[] toString() {
96 return Format( "{} gc={} x={} y={} width={} height={} count={}}", 96 return Format( "{} gc={} x={} y={} width={} height={} count={}}",
97 super.toString[ 0 .. $-2 ], 97 super.toString[ 0 .. $-1 ],
98 gc, x, y, width, height, count ); 98 gc is null ? "null" : gc.toString,
99 x,
100 y,
101 width,
102 height,
103 count );
99 } 104 }
100 } 105 }
101 106