summaryrefslogtreecommitdiff
path: root/src/feh.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-09 14:08:12 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-09 14:11:57 +0200
commit5a280fd5b65957720f9811d292086dd54c4015f8 (patch)
tree80e2293f99f7bf9a605ee76fed1b7ef2eb303b0d /src/feh.h
parent30735df15977b8b497de70af72cccd4ee726342a (diff)
parentc78cee50a4c33e2286ad7ffe9f28e0fc4ef3bd89 (diff)
Merge patch by livibetter: Add flip and mirror in-place edit actions (closes #53)
Diffstat (limited to 'src/feh.h')
-rw-r--r--src/feh.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/feh.h b/src/feh.h
index 63aeef6..7b46a25 100644
--- a/src/feh.h
+++ b/src/feh.h
@@ -98,6 +98,9 @@ enum slide_change { SLIDE_NEXT, SLIDE_PREV, SLIDE_RAND, SLIDE_FIRST, SLIDE_LAST,
SLIDE_JUMP_BACK
};
+#define INPLACE_EDIT_FLIP -1
+#define INPLACE_EDIT_MIRROR -2
+
typedef void (*sighandler_t) (int);
int feh_main_iteration(int block);
@@ -142,8 +145,8 @@ void real_loadables_mode(int loadable);
void feh_reload_image(winwidget w, int resize, int force_new);
void feh_filelist_image_remove(winwidget winwid, char do_delete);
void slideshow_save_image(winwidget win);
-void feh_edit_inplace_orient(winwidget w, int orientation);
-void feh_edit_inplace_lossless_rotate(winwidget w, int orientation);
+void feh_edit_inplace(winwidget w, int orientation);
+void feh_edit_inplace_lossless(winwidget w, int orientation);
gib_list *feh_wrap_string(char *text, int wrap_width, Imlib_Font fn, gib_style * style);
char *build_caption_filename(feh_file * file, short create_dir);
gib_list *feh_list_jump(gib_list * root, gib_list * l, int direction, int num);