aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/types.h b/types.h
index dd85922..ddf6cf6 100644
--- a/types.h
+++ b/types.h
@@ -2,6 +2,11 @@
#define TYPES_H
typedef enum {
+ false,
+ true
+} bool;
+
+typedef enum {
MODE_IMAGE,
MODE_THUMB
} appmode_t;
@@ -29,7 +34,7 @@ typedef enum {
typedef struct {
const char *name; /* as given by user */
const char *path; /* always absolute */
- unsigned char loaded;
+ bool loaded;
} fileinfo_t;
/* timeouts in milliseconds: */