2002-11-14 22:14:57 +00:00
|
|
|
#ifndef __THEME_THUMBNAIL_H__
|
|
|
|
#define __THEME_THUMBNAIL_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include "gnome-theme-info.h"
|
|
|
|
|
2007-06-25 15:10:21 +00:00
|
|
|
typedef void (* ThemeThumbnailFunc) (GdkPixbuf *pixbuf,
|
|
|
|
gchar *theme_name,
|
|
|
|
gpointer data);
|
2002-11-27 00:03:37 +00:00
|
|
|
|
2007-06-25 15:10:21 +00:00
|
|
|
GdkPixbuf *generate_meta_theme_thumbnail (GnomeThemeMetaInfo *theme_info);
|
|
|
|
GdkPixbuf *generate_gtk_theme_thumbnail (GnomeThemeInfo *theme_info);
|
|
|
|
GdkPixbuf *generate_metacity_theme_thumbnail (GnomeThemeInfo *theme_info);
|
2007-05-25 14:35:52 +00:00
|
|
|
GdkPixbuf *generate_icon_theme_thumbnail (GnomeThemeIconInfo *theme_info);
|
2002-11-27 00:03:37 +00:00
|
|
|
|
2007-06-25 15:10:21 +00:00
|
|
|
void generate_meta_theme_thumbnail_async (GnomeThemeMetaInfo *theme_info,
|
|
|
|
ThemeThumbnailFunc func,
|
|
|
|
gpointer data,
|
|
|
|
GDestroyNotify destroy);
|
|
|
|
void generate_gtk_theme_thumbnail_async (GnomeThemeInfo *theme_info,
|
|
|
|
ThemeThumbnailFunc func,
|
|
|
|
gpointer data,
|
|
|
|
GDestroyNotify destroy);
|
|
|
|
void generate_metacity_theme_thumbnail_async (GnomeThemeInfo *theme_info,
|
|
|
|
ThemeThumbnailFunc func,
|
|
|
|
gpointer data,
|
|
|
|
GDestroyNotify destroy);
|
|
|
|
void generate_icon_theme_thumbnail_async (GnomeThemeIconInfo *theme_info,
|
|
|
|
ThemeThumbnailFunc func,
|
|
|
|
gpointer data,
|
|
|
|
GDestroyNotify destroy);
|
|
|
|
|
|
|
|
void theme_thumbnail_factory_init (int argc,
|
|
|
|
char *argv[]);
|
2002-11-14 22:14:57 +00:00
|
|
|
|
|
|
|
#endif /* __THEME_THUMBNAIL_H__ */
|