2011-07-22 14:49:06 +02:00
|
|
|
#ifndef TYPES_H
|
|
|
|
#define TYPES_H
|
|
|
|
|
|
|
|
typedef enum {
|
2011-07-26 18:01:29 +02:00
|
|
|
MODE_NORMAL,
|
2011-07-22 14:49:06 +02:00
|
|
|
MODE_THUMBS
|
|
|
|
} appmode_t;
|
|
|
|
|
|
|
|
typedef enum {
|
2011-07-26 18:01:29 +02:00
|
|
|
DIR_LEFT,
|
2011-07-22 14:49:06 +02:00
|
|
|
DIR_RIGHT,
|
|
|
|
DIR_UP,
|
|
|
|
DIR_DOWN
|
|
|
|
} direction_t;
|
|
|
|
|
|
|
|
typedef enum {
|
2011-07-26 18:01:29 +02:00
|
|
|
SCALE_DOWN,
|
2011-07-22 14:49:06 +02:00
|
|
|
SCALE_FIT,
|
|
|
|
SCALE_ZOOM
|
|
|
|
} scalemode_t;
|
|
|
|
|
|
|
|
typedef enum {
|
2011-07-26 18:01:29 +02:00
|
|
|
CURSOR_ARROW,
|
2011-07-22 14:49:06 +02:00
|
|
|
CURSOR_NONE,
|
|
|
|
CURSOR_HAND,
|
|
|
|
CURSOR_WATCH
|
|
|
|
} cursor_t;
|
|
|
|
|
2011-08-18 00:38:55 +02:00
|
|
|
typedef struct {
|
|
|
|
const char *name;
|
|
|
|
const char *path;
|
|
|
|
} fileinfo_t;
|
|
|
|
|
2011-07-22 14:49:06 +02:00
|
|
|
#endif /* TYPES_H */
|