summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-27 13:29:24 +0100
committerBert <ber.t@gmx.com>2011-02-27 13:29:24 +0100
commit9b24f82404754fc1ea17bf5ffb55a9e94b603f7d (patch)
tree49e781380345261adac63062a6180a395e0d3439 /thumbs.h
parent7334bdfa51778d143958811bd38d4719fcbf72f0 (diff)
downloadnsxiv-9b24f82404754fc1ea17bf5ffb55a9e94b603f7d.tar.zst
Small refactorings, removed over-ambitious todo
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/thumbs.h b/thumbs.h
index 62d2c72..0e3650e 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -38,6 +38,7 @@ typedef struct thumb_s {
typedef struct tns_s {
thumb_t *thumbs;
+ int cap;
int cnt;
int x;
int y;
@@ -51,7 +52,7 @@ typedef struct tns_s {
void tns_init(tns_t*, int);
void tns_free(tns_t*, win_t*);
-void tns_load(tns_t*, win_t*, const char*);
+void tns_load(tns_t*, win_t*, int, const char*);
void tns_render(tns_t*, win_t*);
void tns_highlight(tns_t*, win_t*, int, Bool);