2000-02-12 08:31:49 +00:00
|
|
|
/* color_dlg.h
|
|
|
|
* Definitions for dialog boxes for color filters
|
|
|
|
*
|
2004-07-18 00:24:25 +00:00
|
|
|
* $Id$
|
2000-02-12 08:31:49 +00:00
|
|
|
*
|
2006-05-21 05:12:17 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2000-02-12 08:31:49 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2000-02-12 08:31:49 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2000-02-12 08:31:49 +00:00
|
|
|
* 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 __COLOR_DLG_H__
|
|
|
|
#define __COLOR_DLG_H__
|
|
|
|
|
2004-06-01 20:28:05 +00:00
|
|
|
/** @file
|
|
|
|
* "Colorize Display" dialog box.
|
2004-06-04 20:05:31 +00:00
|
|
|
* @ingroup dialog_group
|
2004-06-01 20:28:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/** User requested the "Colorize Display" dialog box by menu or toolbar.
|
|
|
|
*
|
|
|
|
* @param widget parent widget (unused)
|
|
|
|
* @param data unused
|
|
|
|
*/
|
|
|
|
void color_display_cb(GtkWidget *widget, gpointer data);
|
|
|
|
|
|
|
|
/** Open the colorize dialogue and presets the filter string.
|
|
|
|
*
|
|
|
|
* @param filter the preset filter string
|
|
|
|
*/
|
2003-10-07 10:07:47 +00:00
|
|
|
void color_display_with_filter(char *filter);
|
2004-06-01 20:28:05 +00:00
|
|
|
|
2006-10-02 23:11:55 +00:00
|
|
|
/** Count the number of selected color filters.
|
2004-06-01 20:28:05 +00:00
|
|
|
*
|
2006-10-02 23:11:55 +00:00
|
|
|
* @return the number of selected color filters
|
2004-06-01 20:28:05 +00:00
|
|
|
*/
|
2006-10-02 23:11:55 +00:00
|
|
|
int color_selected_count(void);
|
2004-06-01 20:28:05 +00:00
|
|
|
|
2000-02-12 08:31:49 +00:00
|
|
|
#endif /* color_dlg.h */
|