aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/colors.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-08 01:59:42 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-08 01:59:42 +0000
commit6ca54076683201fd022fc4eccf64829f4490ec34 (patch)
tree7e359545ba3272686776e1b1e072f1dd24bcec89 /gtk/colors.h
parent4ef5d246332d236538329c94514b441114e6ec54 (diff)
Separate the routines to allocate colors from the routines to handle
color filters. svn path=/trunk/; revision=6872
Diffstat (limited to 'gtk/colors.h')
-rw-r--r--gtk/colors.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/gtk/colors.h b/gtk/colors.h
index 6c56739018..de7e117c30 100644
--- a/gtk/colors.h
+++ b/gtk/colors.h
@@ -1,7 +1,7 @@
/* colors.h
* Definitions for color structures and routines
*
- * $Id: colors.h,v 1.10 2002/09/23 19:09:49 oabad Exp $
+ * $Id: colors.h,v 1.11 2003/01/08 01:59:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -24,25 +24,10 @@
#ifndef __COLORS_H__
#define __COLORS_H__
-#include "../color.h"
-
-#define MAXCOLORS 255
-#define MAX_COLOR_FILTER_NAME_LEN 33
-#define MAX_COLOR_FILTER_STRING_LEN 256
-
-#define CFILTERS_CONTAINS_FILTER(filter) \
- ((filter)->num_of_filters != 0)
-
extern GdkColor WHITE;
extern GdkColor BLACK;
-void colfilter_init(void);
-
-gboolean write_filters(void);
-
-color_filter_t *new_color_filter(gchar *name, gchar *filter_string);
-void delete_color_filter(color_filter_t *colorf);
-
-gboolean get_color (GdkColor *new_color);
+void colors_init(void);
+gboolean get_color(GdkColor *new_color);
#endif