summaryrefslogtreecommitdiff
path: root/gtk/gtkglobals.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-03-02 23:10:12 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-03-02 23:10:12 +0000
commit540f56499354402291fc3ae4e2c276fb874def6a (patch)
tree1776d21c5cbf19ab2f67611bcb5a6f47374c23ec /gtk/gtkglobals.h
parent22e8d3d18feb09e46f9be3729214be2f90304be2 (diff)
downloadwireshark-540f56499354402291fc3ae4e2c276fb874def6a.tar.gz
Calculate the height and width of m_r_font globally, since various
routines need it. When a user clicks on a hex digit or on the corresponding character (the "text dump" portion) in the hex dump, find the field in the proto_tree that the byte corresponds to, expand the GtkCTree so that the field is viewable, select the field, and center it vertically. LanAlyzer has this feature, and I've missed it in Ethereal. svn path=/trunk/; revision=3096
Diffstat (limited to 'gtk/gtkglobals.h')
-rw-r--r--gtk/gtkglobals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkglobals.h b/gtk/gtkglobals.h
index 35ceded245..684cf5603e 100644
--- a/gtk/gtkglobals.h
+++ b/gtk/gtkglobals.h
@@ -1,7 +1,7 @@
/* gtkglobals.h
* GTK-related Global defines, etc.
*
- * $Id: gtkglobals.h,v 1.11 2000/08/21 08:09:11 guy Exp $
+ * $Id: gtkglobals.h,v 1.12 2001/03/02 23:10:12 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -33,9 +33,9 @@
extern GtkWidget *top_level, *packet_list, *tree_view,
*byte_view, *info_bar;
extern GdkFont *m_r_font, *m_b_font;
+extern guint m_font_height, m_font_width;
extern GtkStyle *item_style;
-
void set_scrollbar_placement_scrollw(GtkWidget *, int); /* 0=left, 1=right */
void set_scrollbar_placement_all(int); /* 1=right, 0=left */
void remember_scrolled_window(GtkWidget *);