Show
Ignore:
Timestamp:
05/04/08 18:12:38 (8 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted the char[] to String and use the an alias.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/graphics/Font.d

    r203 r212  
    2424 
    2525import tango.text.convert.Format; 
     26import dwt.dwthelper.utils; 
    2627//import tango.stdc.stringz; 
    2728 
     
    142143 * </ul> 
    143144 */ 
    144 public this(Device device, char[] name, int height, int style) { 
     145public this(Device device, String name, int height, int style) { 
    145146    if (device is null) device = Device.getDevice(); 
    146147    if (device is null) DWT.error(DWT.ERROR_NULL_ARGUMENT); 
     
    150151} 
    151152 
    152 /*public*/ this(Device device, char[] name, float height, int style) { 
     153/*public*/ this(Device device, String name, float height, int style) { 
    153154    if (device is null) device = Device.getDevice(); 
    154155    if (device is null) DWT.error(DWT.ERROR_NULL_ARGUMENT); 
     
    254255 * @return a string representation of the receiver 
    255256 */ 
    256 override public char[] toString () { 
     257override public String toString () { 
    257258    if (isDisposed()) return "Font {*DISPOSED*}"; 
    258259    return Format( "Font {{{}}", handle );