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/Drawable.d

    r429 r480  
    7777 * module aliases: 
    7878 * local aliases: 
     79 * overrides: 
     80 *  - getData 
    7981 */ 
    8082 
     
    137139     
    138140    /** the main Gtk struct as a void* */ 
    139     protected void* getStruct() 
     141    protected override void* getStruct() 
    140142    { 
    141143        return cast(void*)gdkDrawable; 
     
    235237     * destroyFunc =  function to free data, or NULL 
    236238     */ 
    237     public void setData(char[] key, void* data, GDestroyNotify destroyFunc) 
     239    public void setData(string key, void* data, GDestroyNotify destroyFunc) 
    238240    { 
    239241        // void gdk_drawable_set_data (GdkDrawable *drawable,  const gchar *key,  gpointer data,  GDestroyNotify destroy_func); 
     
    250252     * Returns: the data stored at key 
    251253     */ 
    252     public void* getData(char[] key) 
     254    public override void* getData(string key) 
    253255    { 
    254256        // gpointer gdk_drawable_get_data (GdkDrawable *drawable,  const gchar *key); 
     
    740742     * string =  the string of characters to draw. 
    741743     */ 
    742     public void drawString(Font font, GC gc, int x, int y, char[] string) 
     744    public void drawString(Font font, GC gc, int x, int y, string string) 
    743745    { 
    744746        // void gdk_draw_string (GdkDrawable *drawable,  GdkFont *font,  GdkGC *gc,  gint x,  gint y,  const gchar *string); 
     
    758760     * textLength =  the number of characters of text to draw. 
    759761     */ 
    760     public void drawText(Font font, GC gc, int x, int y, char[] text, int textLength) 
     762    public void drawText(Font font, GC gc, int x, int y, string text, int textLength) 
    761763    { 
    762764        // void gdk_draw_text (GdkDrawable *drawable,  GdkFont *font,  GdkGC *gc,  gint x,  gint y,  const gchar *text,  gint text_length);