diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-05 04:06:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-05 09:22:20 +0800 |
commit | e969826cd3ef2ba0f473313197990793d4bcac0b (patch) | |
tree | ec902b1a2a148185fc686222c8d945c95601a9f3 /widgets/misc/e-hsv-utils.h | |
parent | e731819d5119f2e07f9cae1d136df92f88163f12 (diff) | |
download | gsoc2013-evolution-e969826cd3ef2ba0f473313197990793d4bcac0b.tar.gz gsoc2013-evolution-e969826cd3ef2ba0f473313197990793d4bcac0b.tar.zst gsoc2013-evolution-e969826cd3ef2ba0f473313197990793d4bcac0b.zip |
Kill redundant RGB/HSV color conversion utilities.
Use gtk_rgb_to_hsv() instead of e_rgb_to_hsv().
Use gtk_hsv_to_rgb() instead of e_hsv_to_rgb().
Diffstat (limited to 'widgets/misc/e-hsv-utils.h')
-rw-r--r-- | widgets/misc/e-hsv-utils.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/widgets/misc/e-hsv-utils.h b/widgets/misc/e-hsv-utils.h index f76bed73f6..e2f707e56a 100644 --- a/widgets/misc/e-hsv-utils.h +++ b/widgets/misc/e-hsv-utils.h @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * e-hsv-utils.h - utilites for manipulating colours in HSV space + * e-hsv-utils.h - utilites for manipulating colors in HSV space * Copyright (C) 1995-2001 Seth Nickell, Peter Mattis, Spencer Kimball and Josh MacDonald * * Authors: @@ -24,25 +24,11 @@ #ifndef _E_HSV_UTILS_H_ #define _E_HSV_UTILS_H_ -#include <gdk/gdk.h> +#include <gtk/gtk.h> G_BEGIN_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, +void e_hsv_tweak (GdkColor *color, gdouble delta_h, gdouble delta_s, gdouble delta_v); |