3 * Copyright (C) 2008 - 2009 The Geeqie Team
5 * Author: Vladimir Nadvornik
6 * based on a patch by Uwe Ohse
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!
16 /* Note: The order is important */
22 #define HCHAN_COUNT (HCHAN_MAX+1)
25 Histogram *histogram_new(void);
26 void histogram_free(Histogram *histogram);
27 gint histogram_set_channel(Histogram *histogram, gint chan);
28 gint histogram_get_channel(Histogram *histogram);
29 gint histogram_set_mode(Histogram *histogram, gint mode);
30 gint histogram_get_mode(Histogram *histogram);
31 gint histogram_toggle_channel(Histogram *histogram);
32 gint histogram_toggle_mode(Histogram *histogram);
33 const gchar *histogram_label(Histogram *histogram);
34 const HistMap *histmap_get(FileData *fd);
35 gint histogram_draw(Histogram *histogram, const HistMap *histmap, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height);
37 void histogram_notify_cb(FileData *fd, NotifyType type, gpointer data);
39 #endif /* HISTOGRAM_H */
40 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */