diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-09 06:48:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-09 06:48:40 +0000 |
commit | 11d8817da0148daa1cda2db873a3ec31c0c02a69 (patch) | |
tree | 3958ce9f0093b2fb5c831ed58c5adb1a660df655 /column.h | |
parent | c7cee4331f5586c7987a82caaf93351f07ec288e (diff) | |
download | wireshark-11d8817da0148daa1cda2db873a3ec31c0c02a69.tar.gz wireshark-11d8817da0148daa1cda2db873a3ec31c0c02a69.tar.bz2 wireshark-11d8817da0148daa1cda2db873a3ec31c0c02a69.zip |
Don't automatically size the columns - that's expensive in large
captures, as it has to compute the width of an auto-resizing column in
every row. Just pick fixed widths for the columns (and tune the width
of the "Protocol" column so that it's not narrower than the column
title).
svn path=/trunk/; revision=9219
Diffstat (limited to 'column.h')
-rw-r--r-- | column.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,7 +1,7 @@ /* column.h * Definitions for column handling routines * - * $Id: column.h,v 1.9 2002/08/28 21:00:06 jmayer Exp $ + * $Id: column.h,v 1.10 2003/12/09 06:48:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -31,18 +31,11 @@ typedef struct _fmt_data { gchar *fmt; } fmt_data; -enum col_resize_type { - RESIZE_AUTO, /* Automatically resize */ - RESIZE_LIVE, /* Automatically resize even during live capture */ - RESIZE_MANUAL /* Don't automatically resize */ -}; - gchar *col_format_to_string(gint); gchar *col_format_desc(gint); gint get_column_format(gint); void get_column_format_matches(gboolean *, gint); gint get_column_format_from_str(gchar *); -enum col_resize_type get_column_resize_type(gint); gchar *get_column_title(gint); char *get_column_longest_string(gint); gint get_column_char_width(gint format); |