blob: f19d693b639747e2ce876b0f92c96d3b64108677 (
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
36
37
38
39
40
41
|
#ifndef TYPES_H
#define TYPES_H
typedef enum {
MODE_IMAGE,
MODE_THUMB
} 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;
typedef struct {
const char *name; /* as given by user */
const char *path; /* always absolute */
} fileinfo_t;
/* timeouts in milliseconds: */
enum {
TO_WIN_RESIZE = 75,
TO_CURSOR_HIDE = 1500,
TO_THUMBS_LOAD = 200
};
#endif /* TYPES_H */
|