summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-09-30 21:54:17 +0200
committerBert Münnich <ber.t@posteo.de>2014-09-30 21:54:17 +0200
commitddd028eb3ea628855b4bb35ca7fb40562bd87861 (patch)
tree699c444d7e4269fa97146660b5534b55a75e0f15 /thumbs.h
parentb4096c59e4897e03ca503deee0638037abebb0e2 (diff)
downloadnsxiv-ddd028eb3ea628855b4bb35ca7fb40562bd87861.tar.zst
Unified file count variable for image & thumbnail mode
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/thumbs.h b/thumbs.h
index 9a16d1c..f3121e5 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -36,11 +36,11 @@ typedef struct {
typedef struct {
const fileinfo_t *files;
thumb_t *thumbs;
- int cnt;
+ const int *cnt;
+ int *sel;
int loadnext;
int first, end;
int r_first, r_end;
- int *sel;
win_t *win;
int x;
@@ -56,7 +56,7 @@ typedef struct {
void tns_clean_cache(tns_t*);
-void tns_init(tns_t*, const fileinfo_t*, int, int*, win_t*);
+void tns_init(tns_t*, const fileinfo_t*, const int*, int*, win_t*);
void tns_free(tns_t*);
bool tns_load(tns_t*, int, bool);