diff options
author | Bert <ber.t@gmx.com> | 2011-07-26 18:01:29 +0200 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-07-26 18:01:29 +0200 |
commit | b8ff1677b1cbb4d3e769861d1e14234c6a38a80a (patch) | |
tree | 32da4629b8874fbe17deab774f78314b56607302 /types.h | |
parent | a271e167443aedca2ed9c28b51fc6de33692dadb (diff) |
Major code refactoring
- Configurable key and mouse mappings in config.h
- Put event handling code from main.c into events.[ch]
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -2,31 +2,25 @@ #define TYPES_H typedef enum { - MODE_NORMAL = 0, + MODE_NORMAL, MODE_THUMBS } appmode_t; -typedef struct { - char key; - int reload; - const char *cmdline; -} command_t; - typedef enum { - DIR_LEFT = 0, + DIR_LEFT, DIR_RIGHT, DIR_UP, DIR_DOWN } direction_t; typedef enum { - SCALE_DOWN = 0, + SCALE_DOWN, SCALE_FIT, SCALE_ZOOM } scalemode_t; typedef enum { - CURSOR_ARROW = 0, + CURSOR_ARROW, CURSOR_NONE, CURSOR_HAND, CURSOR_WATCH |