summaryrefslogtreecommitdiffstats
path: root/types.h
blob: 07262860cac61ed3011402a2ed8b762e0222a87b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef TYPES_H
#define TYPES_H

typedef enum {
	MODE_NORMAL = 0,
	MODE_THUMBS
} appmode_t;

typedef struct {
	char key;
	int reload;
	const char *cmdline;
} command_t;

typedef enum {
	DIR_LEFT = 0,
	DIR_RIGHT,
	DIR_UP,
	DIR_DOWN
} direction_t;

typedef enum {
	SCALE_DOWN = 0,
	SCALE_FIT,
	SCALE_ZOOM
} scalemode_t;

typedef enum {
	CURSOR_ARROW = 0,
	CURSOR_NONE,
	CURSOR_HAND,
	CURSOR_WATCH
} cursor_t;

#endif /* TYPES_H */