mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
fix signals
1999-10-26 Havoc Pennington <hp@pobox.com> * src/gdk-pixbuf-loader.h: fix signals * src/gdk-pixbuf-io.h: add new vtable fields
This commit is contained in:
parent
bfd0c12798
commit
3589986260
@ -1,3 +1,10 @@
|
||||
1999-10-26 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/gdk-pixbuf-loader.h: fix signals
|
||||
|
||||
* src/gdk-pixbuf-io.h: add new vtable fields
|
||||
|
||||
|
||||
1999-10-26 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* src/gdk-pixbuf-loader.h: New Class. Beginning of progrssive
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include "gdk-pixbuf.h"
|
||||
#include <stdio.h>
|
||||
|
||||
typedef void (* ModulePreparedNotifyFunc) (GdkPixbuf *pixbuf, gpointer user_data);
|
||||
|
||||
typedef struct _ModuleType ModuleType;
|
||||
struct _ModuleType {
|
||||
char *module_name;
|
||||
@ -33,7 +35,14 @@ struct _ModuleType {
|
||||
GModule *module;
|
||||
GdkPixbuf *(* load) (FILE *f);
|
||||
GdkPixbuf *(* load_xpm_data) (const gchar **data);
|
||||
|
||||
/* Incremental loading */
|
||||
gpointer (* begin_load) (ModulePreparedNotifyFunc func, gpointer user_data);
|
||||
void (* stop_load) (gpointer context);
|
||||
void (* load_increment)(gpointer context, guchar *buf, guint size);
|
||||
GdkPixbuf *(* get_pixbuf) (gpointer context);
|
||||
};
|
||||
|
||||
|
||||
ModuleType *gdk_pixbuf_get_module (gchar *buffer, gint size);
|
||||
|
||||
|
@ -56,11 +56,10 @@ typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
|
||||
struct _GdkPixbufLoaderClass {
|
||||
GtkObjectClass parent_class;
|
||||
|
||||
void (* area_updated) (GdkPixbufLoader *loader,
|
||||
int x, int y, int width, int height);
|
||||
void (* area_prepared) (GdkPixbufLoader *loader,
|
||||
GdkPixbuf *image,
|
||||
int x, int y, int width, int height);
|
||||
void (* area_prepared) (GdkPixbufLoader *loader);
|
||||
|
||||
void (* area_updated) (GdkPixbufLoader *loader,
|
||||
int x, int y, int width, int height);
|
||||
};
|
||||
|
||||
|
||||
|
@ -56,11 +56,10 @@ typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
|
||||
struct _GdkPixbufLoaderClass {
|
||||
GtkObjectClass parent_class;
|
||||
|
||||
void (* area_updated) (GdkPixbufLoader *loader,
|
||||
int x, int y, int width, int height);
|
||||
void (* area_prepared) (GdkPixbufLoader *loader,
|
||||
GdkPixbuf *image,
|
||||
int x, int y, int width, int height);
|
||||
void (* area_prepared) (GdkPixbufLoader *loader);
|
||||
|
||||
void (* area_updated) (GdkPixbufLoader *loader,
|
||||
int x, int y, int width, int height);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user