From 7b497406136dabcce280bae3886a88ee77ebc1e7 Mon Sep 17 00:00:00 2001 From: Bert Date: Wed, 16 Feb 2011 16:47:12 +0100 Subject: First things for thumbnail mode --- image.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'image.h') diff --git a/image.h b/image.h index fd5b0fe..d0ebbf1 100644 --- a/image.h +++ b/image.h @@ -49,11 +49,18 @@ typedef struct img_s { int h; } img_t; +typedef struct thumb_s { + int x; + int y; + Pixmap pm; +} thumb_t; + void img_init(img_t*, win_t*); void img_free(img_t*); int img_check(const char*); int img_load(img_t*, const char*); +int img_load_thumb(thumb_t*, const char*); void img_render(img_t*, win_t*); -- cgit v1.2.3