From 7b91e10f225797cef26ce7094bf2ac6b94901b33 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sun, 28 Sep 2014 00:26:02 +0200 Subject: Added thumbnail zooming... - Key mappings +/- are now general commands - Use JPG as thumbnail cache file format instead of PNG - Fixes issue #161 --- thumbs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'thumbs.h') 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 */ -- cgit v1.2.3