New Class. Beginning of progrssive loading.

1999-10-26  Jonathan Blandford  <jrb@redhat.com>

	* src/gdk-pixbuf-loader.h: New Class.  Beginning of progrssive
	loading.
This commit is contained in:
Jonathan Blandford 1999-10-26 16:26:00 +00:00 committed by Jonathan Blandford
parent cfc2866019
commit c84756cf38
4 changed files with 19 additions and 6 deletions

View File

@ -1,3 +1,8 @@
1999-10-26 Jonathan Blandford <jrb@redhat.com>
* src/gdk-pixbuf-loader.h: New Class. Beginning of progrssive
loading.
1999-10-25 Federico Mena Quintero <federico@redhat.com> 1999-10-25 Federico Mena Quintero <federico@redhat.com>
* configure.in (CFLAGS): Patch from Uwe Koloska * configure.in (CFLAGS): Patch from Uwe Koloska

View File

@ -56,11 +56,12 @@ struct _GdkPixbufLoader
typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass; typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
struct _GdkPixbufLoaderClass { struct _GdkPixbufLoaderClass {
GtkObjectClass parent_class; GtkObjectClass parent_class;
#if 0
/* If it get's implemented */
void (* area_updated) (GdkPixbufLoader *loader, void (* area_updated) (GdkPixbufLoader *loader,
int x, int y, int width, int height); int x, int y, int width, int height);
#endif void (* area_prepared) (GdkPixbufLoader *loader,
GdkPixbuf *image,
int x, int y, int width, int height);
}; };

View File

@ -134,3 +134,9 @@ image_load (FILE *f)
w, h, w * 3, w, h, w * 3,
free_buffer, NULL); free_buffer, NULL);
} }
GdkImage *
image_load_by_data (void *data, size_t count)
{
return NULL;
}

View File

@ -56,11 +56,12 @@ struct _GdkPixbufLoader
typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass; typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
struct _GdkPixbufLoaderClass { struct _GdkPixbufLoaderClass {
GtkObjectClass parent_class; GtkObjectClass parent_class;
#if 0
/* If it get's implemented */
void (* area_updated) (GdkPixbufLoader *loader, void (* area_updated) (GdkPixbufLoader *loader,
int x, int y, int width, int height); int x, int y, int width, int height);
#endif void (* area_prepared) (GdkPixbufLoader *loader,
GdkPixbuf *image,
int x, int y, int width, int height);
}; };