Changeset 480 for trunk/src/gdk/Drawable.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/src/gdk/Drawable.d (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/gdk/Drawable.d
r429 r480 77 77 * module aliases: 78 78 * local aliases: 79 * overrides: 80 * - getData 79 81 */ 80 82 … … 137 139 138 140 /** the main Gtk struct as a void* */ 139 protected void* getStruct()141 protected override void* getStruct() 140 142 { 141 143 return cast(void*)gdkDrawable; … … 235 237 * destroyFunc = function to free data, or NULL 236 238 */ 237 public void setData( char[]key, void* data, GDestroyNotify destroyFunc)239 public void setData(string key, void* data, GDestroyNotify destroyFunc) 238 240 { 239 241 // void gdk_drawable_set_data (GdkDrawable *drawable, const gchar *key, gpointer data, GDestroyNotify destroy_func); … … 250 252 * Returns: the data stored at key 251 253 */ 252 public void* getData(char[]key)254 public override void* getData(string key) 253 255 { 254 256 // gpointer gdk_drawable_get_data (GdkDrawable *drawable, const gchar *key); … … 740 742 * string = the string of characters to draw. 741 743 */ 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) 743 745 { 744 746 // void gdk_draw_string (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *string); … … 758 760 * textLength = the number of characters of text to draw. 759 761 */ 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) 761 763 { 762 764 // void gdk_draw_text (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *text, gint text_length);
