aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-hsv-utils.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-15 08:31:40 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-15 08:31:40 +0800
commit45458366591a550c47e54193c8070d957fdd465b (patch)
treecc3be3a999b34adf0a3de3e238fe30df16a35d96 /widgets/misc/e-hsv-utils.h
parentc511558a1b034f34096436cbf87b39909f9b4da0 (diff)
downloadgsoc2013-evolution-45458366591a550c47e54193c8070d957fdd465b.tar
gsoc2013-evolution-45458366591a550c47e54193c8070d957fdd465b.tar.gz
gsoc2013-evolution-45458366591a550c47e54193c8070d957fdd465b.tar.bz2
gsoc2013-evolution-45458366591a550c47e54193c8070d957fdd465b.tar.lz
gsoc2013-evolution-45458366591a550c47e54193c8070d957fdd465b.tar.xz
gsoc2013-evolution-45458366591a550c47e54193c8070d957fdd465b.tar.zst
gsoc2013-evolution-45458366591a550c47e54193c8070d957fdd465b.zip
Added widget/e-hsv-utils.lo.
2001-04-14 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am: Added widget/e-hsv-utils.lo. * gal/widgets/Makefile.am: Added e-hsv-utils.c and e-hsv-utils.h. * gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Moved from gal/e-table/e-table-hsv-utils.c and gal/e-table/e-table-hsv-utils.h. Handle modifying hue saturation and value of colors. svn path=/trunk/; revision=9317
Diffstat (limited to 'widgets/misc/e-hsv-utils.h')
-rw-r--r--widgets/misc/e-hsv-utils.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/widgets/misc/e-hsv-utils.h b/widgets/misc/e-hsv-utils.h
new file mode 100644
index 0000000000..774d18585c
--- /dev/null
+++ b/widgets/misc/e-hsv-utils.h
@@ -0,0 +1,31 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+#ifndef _E_HSV_UTILS_H_
+#define _E_HSV_UTILS_H_
+
+#include <libgnome/gnome-defs.h>
+#include <gdk/gdk.h>
+
+BEGIN_GNOME_DECLS
+
+void e_hsv_to_rgb (gdouble h,
+ gdouble s,
+ gdouble v,
+ gdouble *r,
+ gdouble *g,
+ gdouble *b);
+
+void e_rgb_to_hsv (gdouble r,
+ gdouble g,
+ gdouble b,
+ gdouble *h,
+ gdouble *s,
+ gdouble *v);
+
+void e_hsv_tweak (GdkColor *colour,
+ gdouble delta_h,
+ gdouble delta_s,
+ gdouble delta_v);
+
+END_GNOME_DECLS
+
+#endif /* _E_HSV_UTILS_H_ */