diff options
Diffstat (limited to 'thumbs.h')
-rw-r--r-- | thumbs.h | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -21,12 +21,12 @@ #include "window.h" -typedef enum movedir_e { - MOVE_LEFT = 0, - MOVE_RIGHT, - MOVE_UP, - MOVE_DOWN -} movedir_t; +typedef enum tnsdir_e { + TNS_LEFT = 0, + TNS_RIGHT, + TNS_UP, + TNS_DOWN +} tnsdir_t; typedef struct thumb_s { Pixmap pm; @@ -56,7 +56,8 @@ void tns_load(tns_t*, win_t*, const char*); void tns_render(tns_t*, win_t*); void tns_highlight(tns_t*, win_t*, int, Bool); -int tns_move_selection(tns_t*, win_t*, movedir_t); +int tns_move_selection(tns_t*, win_t*, tnsdir_t); +int tns_scroll(tns_t*, tnsdir_t); int tns_translate(tns_t*, int, int); |