This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
gnoemoe/gnoemoe/gm-pixbuf.h

28 lines
557 B
C
Raw Normal View History

2005-11-07 10:56:25 +01:00
#ifndef gm_pixbuf_H
#define gm_pixbuf_H 1
#include <gtk/gtk.h>
#include <glib.h>
typedef struct _GmPixbufInfo {
gchar *name;
int width;
int height;
GdkPixbuf *pixbuf;
} GmPixbufInfo;
2006-03-31 22:35:39 +02:00
/* Stock items */
#define GM_STOCK_SAVE_CLOSE "gm-stock-save-close"
2005-11-07 10:56:25 +01:00
void gm_pixbuf_init();
void gm_pixbuf_fini();
void gm_pixbuf_add_directory(const gchar *directory);
GdkPixbuf *gm_pixbuf_get(const gchar *filename);
GdkPixbuf *gm_pixbuf_get_at_size(const gchar *filename, int width, int height);
void gm_pixbuf_set_alpha(GdkPixbuf **pixs, guchar alpha);
#endif