b8ff1677b1
- Configurable key and mouse mappings in config.h - Put event handling code from main.c into events.[ch]
30 lines
336 B
C
30 lines
336 B
C
#ifndef TYPES_H
|
|
#define TYPES_H
|
|
|
|
typedef enum {
|
|
MODE_NORMAL,
|
|
MODE_THUMBS
|
|
} appmode_t;
|
|
|
|
typedef enum {
|
|
DIR_LEFT,
|
|
DIR_RIGHT,
|
|
DIR_UP,
|
|
DIR_DOWN
|
|
} direction_t;
|
|
|
|
typedef enum {
|
|
SCALE_DOWN,
|
|
SCALE_FIT,
|
|
SCALE_ZOOM
|
|
} scalemode_t;
|
|
|
|
typedef enum {
|
|
CURSOR_ARROW,
|
|
CURSOR_NONE,
|
|
CURSOR_HAND,
|
|
CURSOR_WATCH
|
|
} cursor_t;
|
|
|
|
#endif /* TYPES_H */
|