summaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
authorBastien Dejean <nihilhill@gmail.com>2013-06-23 16:02:26 +0200
committerBert Münnich <be.muennich@gmail.com>2013-08-10 15:33:14 +0200
commit7e51c35801f9921685c3acf0d1d17d9370ae4d59 (patch)
tree1af111dd3a1a64ed34d3398ae9029036fb50c15f /types.h
parent68ff9d71f1c9c2e27b2eabea22433f39b7cd98bb (diff)
downloadnsxiv-7e51c35801f9921685c3acf0d1d17d9370ae4d59.tar.zst
Handle 180 degrees image rotation
Diffstat (limited to 'types.h')
-rw-r--r--types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/types.h b/types.h
index 1b15c73..2427626 100644
--- a/types.h
+++ b/types.h
@@ -39,6 +39,12 @@ typedef enum {
} direction_t;
typedef enum {
+ ROTATE_90,
+ ROTATE_270,
+ ROTATE_180
+} rotate_t;
+
+typedef enum {
FLIP_HORIZONTAL,
FLIP_VERTICAL
} flipdir_t;