summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
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 */