diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-07-24 02:29:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-07-24 02:29:14 +0000 |
commit | c3cba6617ba632e6ccaf9997112d95895848f26f (patch) | |
tree | 3356282b9993ab2c54c5d066f050dad2d2f55226 /color.h | |
parent | 13e4c5b1f20efd4e652b868c30461af776ea58f4 (diff) |
Move the color-filter related stuff out of "color.h" into
"color_filters.h", as that's the appropriate place for it - "color.h"
should just deal with "color_t".
svn path=/trunk/; revision=11503
Diffstat (limited to 'color.h')
-rw-r--r-- | color.h | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -25,8 +25,6 @@ #ifndef __COLOR_H__ #define __COLOR_H__ -#include "epan/dfilter/dfilter.h" - /* * Data structure holding RGB value for a color. * @@ -55,30 +53,4 @@ typedef struct { */ gboolean initialize_color(color_t *color, guint16 red, guint16 green, guint16 blue); -/* Data for a color filter. */ -typedef struct _color_filter { - gchar *filter_name; /* name of the filter */ - gchar *filter_text; /* text of the filter expression */ - color_t bg_color; /* background color for packets that match */ - color_t fg_color; /* foreground color for packets that match */ - dfilter_t *c_colorfilter; /* compiled filter expression */ - void *edit_dialog; /* if filter is being edited, dialog - * box for it */ - gboolean marked; /* set if the filter is marked in the color dialog box */ -} color_filter_t; - -/* List of all color filters. */ -extern GSList *filter_list; -extern GSList *removed_filter_list; - -/** Add a color filter. - * - * @param colorf the new color filter - * @param arg the color filter widget - */ -void color_add_filter_cb (color_filter_t *colorf, gpointer arg); - -void -filter_list_prime_edt(epan_dissect_t *edt); - #endif |