Changeset 480 for trunk/src/gdk/Pixmap.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/src/gdk/Pixmap.d (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/gdk/Pixmap.d
r429 r480 55 55 * module aliases: 56 56 * local aliases: 57 * overrides: 57 58 */ 58 59 … … 96 97 97 98 /** the main Gtk struct as a void* */ 98 protected void* getStruct()99 protected override void* getStruct() 99 100 { 100 101 return cast(void*)gdkPixmap; … … 156 157 * Returns:the GdkPixmap 157 158 */ 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) 159 160 { 160 161 // GdkPixmap* gdk_pixmap_create_from_data (GdkDrawable *drawable, const gchar *data, gint width, gint height, gint depth, const GdkColor *fg, const GdkColor *bg); … … 182 183 * Returns:the GdkPixmap 183 184 */ 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) 185 186 { 186 187 // GdkPixmap* gdk_pixmap_create_from_xpm (GdkDrawable *drawable, GdkBitmap **mask, const GdkColor *transparent_color, const gchar *filename); … … 210 211 * Returns:the GdkPixmap. 211 212 */ 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) 213 214 { 214 215 // GdkPixmap* gdk_pixmap_colormap_create_from_xpm (GdkDrawable *drawable, GdkColormap *colormap, GdkBitmap **mask, const GdkColor *transparent_color, const gchar *filename);
