comparison dwt/graphics/Cursor.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
comparison
equal deleted inserted replaced
211:ff59aeb96cac 212:ab60f3309436
23 import dwt.graphics.RGB; 23 import dwt.graphics.RGB;
24 import dwt.graphics.PaletteData; 24 import dwt.graphics.PaletteData;
25 import dwt.graphics.Image; 25 import dwt.graphics.Image;
26 26
27 import tango.text.convert.Format; 27 import tango.text.convert.Format;
28 import dwt.dwthelper.utils;
28 29
29 /** 30 /**
30 * Instances of this class manage operating system resources that 31 * Instances of this class manage operating system resources that
31 * specify the appearance of the on-screen pointer. To create a 32 * specify the appearance of the on-screen pointer. To create a
32 * cursor you specify the device and either a simple cursor style 33 * cursor you specify the device and either a simple cursor style
454 * Returns a string containing a concise, human-readable 455 * Returns a string containing a concise, human-readable
455 * description of the receiver. 456 * description of the receiver.
456 * 457 *
457 * @return a string representation of the receiver 458 * @return a string representation of the receiver
458 */ 459 */
459 override public char[] toString () { 460 override public String toString () {
460 if (isDisposed()) return "Cursor {*DISPOSED*}"; 461 if (isDisposed()) return "Cursor {*DISPOSED*}";
461 return Format( "Cursor {{{}}", handle ); 462 return Format( "Cursor {{{}}", handle );
462 } 463 }
463 464
464 /** 465 /**