From f08c24bbb31ae0e3f7001d5d4d0e8f31b0c817f8 Mon Sep 17 00:00:00 2001 From: Bert Date: Thu, 17 Feb 2011 16:57:55 +0100 Subject: Select and open thumbnails --- thumbs.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'thumbs.h') 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 */ -- cgit v1.2.3-54-g00ecf