diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-03-08 11:06:12 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-03-08 11:06:12 +0000 |
commit | a305abdfe054c5ef5e472d2d99723b4032308b1d (patch) | |
tree | 22f7d398e3c7718d84879e622df2c6e61d7eb34c /src/imageview.h | |
parent | 0ff75d10977146767ccc42c2e2915f75886a68bf (diff) |
also resize inline images.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@155 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/imageview.h')
-rw-r--r-- | src/imageview.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/imageview.h b/src/imageview.h index 52269e3e..19146e7d 100644 --- a/src/imageview.h +++ b/src/imageview.h @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2004 Hiroyuki Yamamoto + * Copyright (C) 1999-2005 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ #include <glib.h> #include <gtk/gtkwidget.h> +#include <gdk-pixbuf/gdk-pixbuf.h> typedef struct _ImageView ImageView; @@ -49,4 +50,8 @@ void imageview_show_image (ImageView *imageview, void imageview_clear (ImageView *imageview); void imageview_destroy (ImageView *imageview); +GdkPixbuf *imageview_get_resized_pixbuf (GdkPixbuf *pixbuf, + GtkWidget *parent, + gint margin); + #endif /* __IMAGEVIEW_H__ */ |