view src/image-overlay.h @ 469:a05c72927e23

Rename few functions and replace fullscreen info with image overlay template string. fullscreen_info_default_cb() -> image_overlay_default_template_cb() fullscreen_info_default_ok_cb() -> image_overlay_default_template_ok_cb() set_default_fullscreen_info() -> set_default_image_overlay_template_string() (moved to image-overlay.h)
author zas_
date Mon, 21 Apr 2008 20:12:49 +0000
parents ddabc4873a3f
children 48c8e49b571c
line wrap: on
line source

/*
 * Geeqie
 * (C) 2006 John Ellis
 *
 * Author: John Ellis
 *
 * This software is released under the GNU General Public License (GNU GPL).
 * Please read the included file COPYING for more information.
 * This software comes with no warranty of any kind, use at your own risk!
 */

#ifndef IMAGE_OVERLAY_H
#define IMAGE_OVERLAY_H

typedef enum {
	IMAGE_OSD_NONE = 0,
	IMAGE_OSD_ROTATE_USER,
	IMAGE_OSD_ROTATE_AUTO,
	IMAGE_OSD_COLOR,
	IMAGE_OSD_FIRST,
	IMAGE_OSD_LAST,
	IMAGE_OSD_ICON,
	IMAGE_OSD_COUNT
} ImageOSDFlag;

void set_default_image_overlay_template_string(ConfOptions *options);

void image_osd_set(ImageWindow *imd, gint info, gint status);
gint image_osd_get(ImageWindow *imd, gint *info, gint *status);

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 *);

#endif