summaryrefslogtreecommitdiffstats
path: root/image.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-03-01 14:23:09 +0100
committerBert <ber.t@gmx.com>2011-03-01 14:23:09 +0100
commit955c39a5c5e3193e18c21abe87110651cc2472d2 (patch)
treec9217960b6aa023ce748f9b2c3518f8cc67d62b0 /image.h
parent8919fbd676dccdcb298503326ca7c7194b853ef0 (diff)
downloadnsxiv-955c39a5c5e3193e18c21abe87110651cc2472d2.tar.zst
Shorter typedefs
Diffstat (limited to 'image.h')
-rw-r--r--image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/image.h b/image.h
index 8c6beec..2a9e218 100644
--- a/image.h
+++ b/image.h
@@ -23,20 +23,20 @@
#include "window.h"
-typedef enum scalemode_e {
+typedef enum {
SCALE_DOWN = 0,
SCALE_FIT,
SCALE_ZOOM
} scalemode_t;
-typedef enum pandir_e {
+typedef enum {
PAN_LEFT = 0,
PAN_RIGHT,
PAN_UP,
PAN_DOWN
} pandir_t;
-typedef struct img_s {
+typedef struct {
Imlib_Image *im;
float zoom;