Remove commented out code.
[geeqie.git] / src / image-overlay.h
index bd6a6bd..bfcb526 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Geeqie
  * (C) 2006 John Ellis
+ * Copyright (C) 2008 - 2012 The Geeqie Team
  *
  * Author: John Ellis
  *
@@ -23,17 +24,36 @@ typedef enum {
        IMAGE_OSD_COUNT
 } ImageOSDFlag;
 
+typedef enum {
+       OSD_SHOW_NOTHING        = 0,
+       OSD_SHOW_INFO           = 1 << 0,
+       OSD_SHOW_STATUS         = 1 << 1,
+       OSD_SHOW_HISTOGRAM      = 1 << 2
+} OsdShowFlags;
+
+void set_image_overlay_template_string(gchar **template_string, const gchar *value);
+void set_default_image_overlay_template_string(gchar **template_string);
+
+void image_osd_set(ImageWindow *imd, OsdShowFlags show);
+OsdShowFlags image_osd_get(ImageWindow *imd);
 
-void image_osd_set(ImageWindow *imd, gint info, gint status);
-gint image_osd_get(ImageWindow *imd, gint *info, gint *status);
+Histogram *image_osd_get_histogram(ImageWindow *imd);
+
+void image_osd_copy_status(ImageWindow *src, ImageWindow *dest);
 
 void image_osd_update(ImageWindow *imd);
 
 void image_osd_icon(ImageWindow *imd, ImageOSDFlag flag, gint duration);
 
-void image_osd_histogram_onoff_toggle(ImageWindow *, gint);
-gint image_osd_histogram_onoff_status(ImageWindow *);
-void image_osd_histogram_chan_toggle(ImageWindow *);
-void image_osd_histogram_log_toggle(ImageWindow *);
+void image_osd_histogram_toggle_channel(ImageWindow *imd);
+void image_osd_histogram_toggle_mode(ImageWindow *imd);
+void image_osd_histogram_set_channel(ImageWindow *imd, gint chan);
+void image_osd_histogram_set_mode(ImageWindow *imd, gint mode);
+gint image_osd_histogram_get_channel(ImageWindow *imd);
+gint image_osd_histogram_get_mode(ImageWindow *imd);
+
+void image_osd_toggle(ImageWindow *imd);
+
 
 #endif
+/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */