diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2008-04-13 12:41:22 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2008-04-13 12:41:22 +0000 |
commit | 38c4ebeb4a6163e2b49de8f40745114961f749dd (patch) | |
tree | a19f5f0fa7799fc4a04220d72b608c0dea0bb71d /gtk/colors.h | |
parent | ce552a159e2f2062e2fb284dd05029eb354f117b (diff) |
move all code from color.c into color_utils.c
remove color.c
rename colors.h into color_utils.h (hopefully this reduces confusion to /color.h)
svn path=/trunk/; revision=24974
Diffstat (limited to 'gtk/colors.h')
-rw-r--r-- | gtk/colors.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/gtk/colors.h b/gtk/colors.h deleted file mode 100644 index 84456113aa..0000000000 --- a/gtk/colors.h +++ /dev/null @@ -1,64 +0,0 @@ -/* colors.h - * Definitions for color structures and routines - * - * $Id$ - * - * Wireshark - Network traffic analyzer - * By Gerald Combs <gerald@wireshark.org> - * Copyright 1998 Gerald Combs - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ -#ifndef __COLORS_H__ -#define __COLORS_H__ - -/** @file - * Definitions for color structures and routines - */ - -/** The color white. */ -extern GdkColor WHITE; - -/** The color light-grey. */ -extern GdkColor LTGREY; - -/** The color black. */ -extern GdkColor BLACK; - -/** Initialize the colors. */ -void colors_init(void); - -/** Allocate a color from the color map. - * - * @param new_color the new color - * @return TRUE if the allocation succeeded - */ -gboolean get_color(GdkColor *new_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 |