aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/color_utils.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-06-01 20:28:05 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-06-01 20:28:05 +0000
commita8db4e10a809aa8f2ab023fa7c5b00df3d0f0ca2 (patch)
tree02b0db9b70720ff590692ed202f752618efc9b97 /gtk/color_utils.h
parent35bb7e8fc2c9c54f58c2ccb215689b30e698bd79 (diff)
add details for doxygen, various code cleanups as a result of this
svn path=/trunk/; revision=11057
Diffstat (limited to 'gtk/color_utils.h')
-rw-r--r--gtk/color_utils.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/gtk/color_utils.h b/gtk/color_utils.h
index 7d4ed44dfa..836595b425 100644
--- a/gtk/color_utils.h
+++ b/gtk/color_utils.h
@@ -2,7 +2,7 @@
* Declarations of utilities for converting between "toolkit-independent"
* and GDK notions of color
*
- * $Id: color_utils.h,v 1.2 2002/08/28 21:03:46 jmayer Exp $
+ * $Id: color_utils.h,v 1.3 2004/06/01 20:28:04 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -27,7 +27,23 @@
#ifndef __COLOR_UTILS_H__
#define __COLOR_UTILS_H__
-void color_t_to_gdkcolor(GdkColor *, color_t *);
-void gdkcolor_to_color_t(color_t *, GdkColor *);
+/** @file
+ * Utilities for converting between "toolkit-independent"
+ * and GDK notions of color.
+ */
+
+/** Convert color_t to GdkColor.
+ *
+ * @param target the GdkColor to be filled
+ * @param source the source color_t
+ */
+void color_t_to_gdkcolor(GdkColor *target, color_t *source);
+
+/** Convert GdkColor to color_t.
+ *
+ * @param target the source color_t
+ * @param source the GdkColor to be filled
+ */
+void gdkcolor_to_color_t(color_t *target, GdkColor *source);
#endif