summaryrefslogtreecommitdiffstats
path: root/image.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-16 16:47:12 +0100
committerBert <ber.t@gmx.com>2011-02-16 16:47:12 +0100
commit7b497406136dabcce280bae3886a88ee77ebc1e7 (patch)
treeec183d7ff703de99d5f3e9eb1b65c0d11a046774 /image.h
parente8ed491ba9f2fe6df8f071e7c59e0174bb307a1b (diff)
downloadnsxiv-7b497406136dabcce280bae3886a88ee77ebc1e7.tar.zst
First things for thumbnail mode
Diffstat (limited to 'image.h')
-rw-r--r--image.h7
1 files changed, 7 insertions, 0 deletions
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*);