aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gtkglobals.h
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-02 23:10:12 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-02 23:10:12 +0000
commitf1621ce7e22a964be28c90f2457479fdc8942261 (patch)
tree1776d21c5cbf19ab2f67611bcb5a6f47374c23ec /gtk/gtkglobals.h
parent746e587a923b35747ceef6e1ef1cd728ce58269c (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3096 f5534014-38df-0310-8fa8-9805f1628bb7
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 *);