Merge view_overlay_toggle() and layout_image_overlay_toggle() into new image_osd_togg...
[geeqie.git] / src / image-overlay.h
1 /*
2  * Geeqie
3  * (C) 2006 John Ellis
4  * Copyright (C) 2008 The Geeqie Team
5  *
6  * Author: John Ellis
7  *
8  * This software is released under the GNU General Public License (GNU GPL).
9  * Please read the included file COPYING for more information.
10  * This software comes with no warranty of any kind, use at your own risk!
11  */
12
13 #ifndef IMAGE_OVERLAY_H
14 #define IMAGE_OVERLAY_H
15
16 typedef enum {
17         IMAGE_OSD_NONE = 0,
18         IMAGE_OSD_ROTATE_USER,
19         IMAGE_OSD_ROTATE_AUTO,
20         IMAGE_OSD_COLOR,
21         IMAGE_OSD_FIRST,
22         IMAGE_OSD_LAST,
23         IMAGE_OSD_ICON,
24         IMAGE_OSD_COUNT
25 } ImageOSDFlag;
26
27 void set_default_image_overlay_template_string(ConfOptions *options);
28
29 void image_osd_set(ImageWindow *imd, gint info, gint status);
30 gint image_osd_get(ImageWindow *imd, gint *info, gint *status);
31
32 void image_osd_update(ImageWindow *imd);
33
34 void image_osd_icon(ImageWindow *imd, ImageOSDFlag flag, gint duration);
35
36 void image_osd_histogram_onoff_toggle(ImageWindow *, gint);
37 gint image_osd_histogram_onoff_status(ImageWindow *);
38 void image_osd_histogram_chan_toggle(ImageWindow *);
39 void image_osd_histogram_log_toggle(ImageWindow *);
40
41 void image_osd_toggle(ImageWindow *imd);
42
43
44 #endif