4 * Copyright (C) 2008 - 2012 The Geeqie Team
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!
13 #ifndef IMAGE_OVERLAY_H
14 #define IMAGE_OVERLAY_H
18 IMAGE_OSD_ROTATE_USER,
19 IMAGE_OSD_ROTATE_AUTO,
29 OSD_SHOW_INFO = 1 << 0,
30 OSD_SHOW_STATUS = 1 << 1,
31 OSD_SHOW_HISTOGRAM = 1 << 2
34 void set_image_overlay_template_string(gchar **template_string, const gchar *value);
35 void set_default_image_overlay_template_string(gchar **template_string);
37 void image_osd_set(ImageWindow *imd, OsdShowFlags show);
38 OsdShowFlags image_osd_get(ImageWindow *imd);
40 Histogram *image_osd_get_histogram(ImageWindow *imd);
42 void image_osd_copy_status(ImageWindow *src, ImageWindow *dest);
44 void image_osd_update(ImageWindow *imd);
46 void image_osd_icon(ImageWindow *imd, ImageOSDFlag flag, gint duration);
48 void image_osd_histogram_toggle_channel(ImageWindow *imd);
49 void image_osd_histogram_toggle_mode(ImageWindow *imd);
50 void image_osd_histogram_set_channel(ImageWindow *imd, gint chan);
51 void image_osd_histogram_set_mode(ImageWindow *imd, gint mode);
52 gint image_osd_histogram_get_channel(ImageWindow *imd);
53 gint image_osd_histogram_get_mode(ImageWindow *imd);
55 void image_osd_toggle(ImageWindow *imd);
59 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */