Show
Ignore:
Timestamp:
03/25/08 18:16:02 (8 months ago)
Author:
Mike Wey
Message:

Support for dmd 2.012

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/gdk/Pixmap.d

    r429 r480  
    5555 * module aliases: 
    5656 * local aliases: 
     57 * overrides: 
    5758 */ 
    5859 
     
    9697     
    9798    /** the main Gtk struct as a void* */ 
    98     protected void* getStruct() 
     99    protected override void* getStruct() 
    99100    { 
    100101        return cast(void*)gdkPixmap; 
     
    156157     * Returns:the GdkPixmap 
    157158     */ 
    158     public static Pixmap createFromData(Drawable drawable, char[] data, int width, int height, int depth, Color fg, Color bg) 
     159    public static Pixmap createFromData(Drawable drawable, string data, int width, int height, int depth, Color fg, Color bg) 
    159160    { 
    160161        // GdkPixmap* gdk_pixmap_create_from_data (GdkDrawable *drawable,  const gchar *data,  gint width,  gint height,  gint depth,  const GdkColor *fg,  const GdkColor *bg); 
     
    182183     * Returns:the GdkPixmap 
    183184     */ 
    184     public static Pixmap createFromXpm(Drawable drawable, GdkBitmap** mask, Color transparentColor, char[] filename) 
     185    public static Pixmap createFromXpm(Drawable drawable, GdkBitmap** mask, Color transparentColor, string filename) 
    185186    { 
    186187        // GdkPixmap* gdk_pixmap_create_from_xpm (GdkDrawable *drawable,  GdkBitmap **mask,  const GdkColor *transparent_color,  const gchar *filename); 
     
    210211     * Returns:the GdkPixmap. 
    211212     */ 
    212     public static Pixmap colormapCreateFromXpm(Drawable drawable, Colormap colormap, GdkBitmap** mask, Color transparentColor, char[] filename) 
     213    public static Pixmap colormapCreateFromXpm(Drawable drawable, Colormap colormap, GdkBitmap** mask, Color transparentColor, string filename) 
    213214    { 
    214215        // GdkPixmap* gdk_pixmap_colormap_create_from_xpm (GdkDrawable *drawable,  GdkColormap *colormap,  GdkBitmap **mask,  const GdkColor *transparent_color,  const gchar *filename);