aboutsummaryrefslogtreecommitdiffstats
path: root/column.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-01-10 01:44:00 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-01-10 01:44:00 +0000
commitaf488f1db9f2c43ee00cc4bb870d8ff7b68b7ea4 (patch)
treedfa3de38db19faaab2cd36128906eefeae1b2493 /column.h
parentb556a80900b34a47b6cd74e3535a5ecaa28745ec (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1447 f5534014-38df-0310-8fa8-9805f1628bb7
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 */