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