aboutsummaryrefslogtreecommitdiffstats
path: root/image.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-18 20:11:28 +0100
committerBert <ber.t@gmx.com>2011-01-18 20:11:28 +0100
commit79c7e6178e9b577158408157ec23a477556ecf16 (patch)
treeabbefa4cd1b884ca19d396359b4e40dad0057589 /image.h
parentbb4edc756c7ceddb0f13194929cd1d363c85d653 (diff)
downloadnsxiv-79c7e6178e9b577158408157ec23a477556ecf16.tar.zst
Render image on window
Diffstat (limited to 'image.h')
-rw-r--r--image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/image.h b/image.h
index 78d4126..7eaf197 100644
--- a/image.h
+++ b/image.h
@@ -30,7 +30,7 @@ typedef enum scalemode_e {
} scalemode_t;
typedef struct img_s {
- int zoom;
+ float zoom;
scalemode_t scalemode;
int w;
int h;
@@ -43,6 +43,6 @@ typedef struct img_s {
void imlib_init(win_t*);
void img_load(img_t*, char*);
-void img_display(img_t*, win_t*);
+void img_render(img_t*, win_t*);
#endif /* IMAGE_H */