diff options
author | Bert <ber.t@gmx.com> | 2011-07-22 14:49:06 +0200 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-07-22 14:49:06 +0200 |
commit | a271e167443aedca2ed9c28b51fc6de33692dadb (patch) | |
tree | 01d2e58d2aa579de2abf8e609612721eb4a7b7dd /types.h | |
parent | 5f780fc3e77aef1f1b87fdd6662a7caee6efbc3b (diff) |
Reduced usage of preprocessor macros
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -0,0 +1,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 */ |