aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dfilter_expr_dlg.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-02 01:32:21 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-02 01:32:21 +0000
commit88d157ef96f4d17df2a718523a53cd5e717aa76a (patch)
treed3a1e2dec9c0891b2089916f71da1b1b83797568 /gtk/dfilter_expr_dlg.h
parentd2f2cc6bf6b80f113c50c5ed75a5918c6390c7be (diff)
Add a dialog box for constructing expressions that test a field in the
display tree, based on Jeff Foster's dialog box for selecting fields. Make the dialog box for browsing filters into a dialog box for constructing filters; make the "Apply" button and the "OK" button apply the filter in the text entry box in the dialog, not the currently selected filter (selecting a filter puts it in that text entry box, but the user may edit it afterwards, or may use the aforementioned dialog box to construct a filter not in the list). Get rid of extra declarations of "m_r_font" and "m_b_font" in "proto_draw.c"; they're declared in "gtk/gtkglobals.h", which it includes. svn path=/trunk/; revision=2805
Diffstat (limited to 'gtk/dfilter_expr_dlg.h')
-rw-r--r--gtk/dfilter_expr_dlg.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gtk/dfilter_expr_dlg.h b/gtk/dfilter_expr_dlg.h
new file mode 100644
index 0000000000..21ea418e4e
--- /dev/null
+++ b/gtk/dfilter_expr_dlg.h
@@ -0,0 +1,31 @@
+/* dfilter_expr_dlg.h
+ * Definitions for dialog boxes for display filter expression construction
+ *
+ * $Id: dfilter_expr_dlg.h,v 1.1 2001/01/02 01:32:21 guy Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.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 __DFILTER_EXPR_DLG_H__
+#define __DFILTER_EXPR_DLG_H__
+
+void dfilter_expr_dlg_new(GtkWidget *);
+
+#endif /* dfilter_expr_dlg.h */