Remove commented out code.
[geeqie.git] / src / image-overlay.h
1 /*
2  * Geeqie
3  * (C) 2006 John Ellis
4  * Copyright (C) 2008 - 2012 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 typedef enum {
28         OSD_SHOW_NOTHING        = 0,
29         OSD_SHOW_INFO           = 1 << 0,
30         OSD_SHOW_STATUS         = 1 << 1,
31         OSD_SHOW_HISTOGRAM      = 1 << 2
32 } OsdShowFlags;
33
34 void set_image_overlay_template_string(gchar **template_string, const gchar *value);
35 void set_default_image_overlay_template_string(gchar **template_string);
36
37 void image_osd_set(ImageWindow *imd, OsdShowFlags show);
38 OsdShowFlags image_osd_get(ImageWindow *imd);
39
40 Histogram *image_osd_get_histogram(ImageWindow *imd);
41
42 void image_osd_copy_status(ImageWindow *src, ImageWindow *dest);
43
44 void image_osd_update(ImageWindow *imd);
45
46 void image_osd_icon(ImageWindow *imd, ImageOSDFlag flag, gint duration);
47
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);
54
55 void image_osd_toggle(ImageWindow *imd);
56
57
58 #endif
59 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */