summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-09-28 00:26:02 +0200
committerBert Münnich <ber.t@posteo.de>2014-09-28 00:28:50 +0200
commit7b91e10f225797cef26ce7094bf2ac6b94901b33 (patch)
treee55bb736a5e1590e6e8548bcf86eedfae29a89b2 /thumbs.h
parentb2dbd2fed3c9cee72ac3e84036b6b08b169a376e (diff)
downloadnsxiv-7b91e10f225797cef26ce7094bf2ac6b94901b33.tar.zst
Added thumbnail zooming...
- Key mappings +/- are now general commands - Use JPG as thumbnail cache file format instead of PNG - Fixes issue #161
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/thumbs.h b/thumbs.h
index 88ea7c2..8209979 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -47,6 +47,7 @@ typedef struct {
int y;
int cols;
int rows;
+ int zl;
bool dirty;
} tns_t;
@@ -66,6 +67,8 @@ void tns_highlight(tns_t*, int, bool);
bool tns_move_selection(tns_t*, direction_t, int);
bool tns_scroll(tns_t*, direction_t, bool);
+bool tns_zoom(tns_t*, int);
+
int tns_translate(tns_t*, int, int);
#endif /* THUMBS_H */