diff options
author | Bert <ber.t@gmx.com> | 2011-02-16 16:47:12 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-16 16:47:12 +0100 |
commit | 7b497406136dabcce280bae3886a88ee77ebc1e7 (patch) | |
tree | ec183d7ff703de99d5f3e9eb1b65c0d11a046774 /image.h | |
parent | e8ed491ba9f2fe6df8f071e7c59e0174bb307a1b (diff) |
First things for thumbnail mode
Diffstat (limited to 'image.h')
-rw-r--r-- | image.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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*); |