aboutsummaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-17 16:57:55 +0100
committerBert <ber.t@gmx.com>2011-02-17 16:57:55 +0100
commitf08c24bbb31ae0e3f7001d5d4d0e8f31b0c817f8 (patch)
treef04ddf698c7171b4ece3cca004ea45a6e8837c21 /thumbs.h
parentef24ded6afeb185192e815868c28a31c4c2e6d97 (diff)
downloadnsxiv-f08c24bbb31ae0e3f7001d5d4d0e8f31b0c817f8.tar.zst
Select and open thumbnails
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/thumbs.h b/thumbs.h
index a25a15f..1fd1209 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -21,6 +21,13 @@
#include "window.h"
+typedef enum movedir_e {
+ MOVE_LEFT = 0,
+ MOVE_RIGHT,
+ MOVE_UP,
+ MOVE_DOWN
+} movedir_t;
+
typedef struct thumb_s {
Pixmap pm;
int x;
@@ -48,4 +55,6 @@ void tns_load(tns_t*, win_t*, const char*);
void tns_render(tns_t*, win_t*);
void tns_highlight(tns_t*, win_t*, int);
+void tns_move_selection(tns_t*, win_t*, movedir_t);
+
#endif /* THUMBS_H */