00001 /***************************************************************************** 00002 * Copyright (c) 1999-2008 ACCESS CO., LTD. All rights reserved. 00003 * Copyright (c) 2006 PalmSource, Inc (an ACCESS company). All rights reserved. 00004 *****************************************************************************/ 00010 #ifndef __ALP_PIXBUF_H__ 00011 #define __ALP_PIXBUF_H__ 00012 00013 #include <gtk/gtk.h> 00014 00015 G_BEGIN_DECLS 00042 GdkPixbuf *alp_pixbuf_new_from_url_at_scale (GtkWidget *context, 00043 const gchar *bundle_name, 00044 const gchar *url, 00045 const gchar *size, 00046 gboolean preserve_aspect_ratio); 00047 00074 GdkPixbuf *alp_pixbuf_new_from_url_at_scale_badged (GtkWidget *context, 00075 const gchar *bundle_name, 00076 const gchar *url, 00077 const gchar *badge_urls[], 00078 gint badge_count, 00079 const gchar *size, 00080 gboolean preserve_aspect_ratio); 00081 00106 GdkPixbuf *alp_pixbuf_new_badged_at_scale (GdkPixbuf *base_image, 00107 GtkWidget *context, 00108 const gchar *bundle_name, 00109 const gchar *badge_urls[], 00110 gint badge_count, 00111 const gchar *size, 00112 gboolean preserve_aspect_ratio); 00113 00127 GdkPixbufAnimation *alp_pixbuf_animation_new_from_url (const gchar *bundle_name, 00128 const gchar *image_url); 00129 00157 void alp_pixbuf_simple_anim_add_urls ( 00158 GdkPixbufSimpleAnim* anim, 00159 const gchar *bundle_name, 00160 ...); 00161 00177 void alp_pixbuf_simple_anim_add_urls_valist ( 00178 GdkPixbufSimpleAnim* anim, 00179 const gchar *bundle_name, 00180 va_list valist 00181 ); 00182 00197 GdkPixbufSimpleAnim *alp_pixbuf_simple_anim_new_from_name ( 00198 const gchar *size_name, 00199 float rate 00200 ); 00201 00239 void alp_pixbuf_simple_anim_add_urls_at_scale ( 00240 GdkPixbufSimpleAnim* anim, 00241 GtkWidget *context, 00242 const gchar *size, 00243 gboolean preserve_aspect_ratio, 00244 const gchar *bundle_name, 00245 ...); 00246 00270 void alp_pixbuf_simple_anim_add_urls_at_scale_valist ( 00271 GdkPixbufSimpleAnim* anim, 00272 GtkWidget *context, 00273 const gchar *size, 00274 gboolean preserve_aspect_ratio, 00275 const gchar *bundle_name, 00276 va_list valist 00277 ); 00278 00314 void alp_pixbuf_simple_anim_add_url_sequence_at_scale ( 00315 GdkPixbufSimpleAnim* anim, 00316 GtkWidget *context, 00317 const gchar *size, 00318 gboolean preserve_aspect_ratio, 00319 const gchar *bundle_name, 00320 const gchar *format, 00321 gint sequence_start, 00322 gint sequence_end, 00323 gint seqeunce_increment 00324 ); 00325 00329 G_END_DECLS 00330 00331 #endif /* __ALP_MAX_H__ */
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.