aboutsummaryrefslogtreecommitdiffstats
path: root/column.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-10 01:44:00 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-10 01:44:00 +0000
commit9fe38ca2b5dc37b9f47ea3f047a0b079b47c4459 (patch)
treedfa3de38db19faaab2cd36128906eefeae1b2493 /column.h
parent8fafa9af846fbebd6f1170448fb3711325c8fe2e (diff)
Move the code in "column.c" that implements the column preferences tab
into "gtk/column_prefs.c". Get rid of "get_column_width()" - instead, export "get_column_longest_string()", and have "get_column_width()"'s callers make the GDK call to get the width of that string, so that "column.c" contains no GTK+/GDK code. svn path=/trunk/; revision=1447
Diffstat (limited to 'column.h')
-rw-r--r--column.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/column.h b/column.h
index da46744780..579ec29434 100644
--- a/column.h
+++ b/column.h
@@ -1,7 +1,7 @@
/* column.h
* Definitions for column handling routines
*
- * $Id: column.h,v 1.6 1999/09/12 06:11:34 guy Exp $
+ * $Id: column.h,v 1.7 2000/01/10 01:43:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -37,17 +37,15 @@ enum col_resize_type {
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);
gchar *col_format_to_pref_str(void);
-void get_column_format_matches(gboolean *, gint);
-gint get_column_width(gint format, GdkFont *font);
+char *get_column_longest_string(gint);
gint get_column_char_width(gint format);
-GtkWidget *column_prefs_show(void);
-void column_prefs_ok(GtkWidget *);
-void column_prefs_save(GtkWidget *);
-void column_prefs_cancel(GtkWidget *);
-void column_prefs_delete(GtkWidget *);
#endif /* column.h */