aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_draw.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-03-02 07:05:57 +0000
committerGuy Harris <guy@alum.mit.edu>2000-03-02 07:05:57 +0000
commit6c2961e44782196de213123731ddb11dca12aec6 (patch)
tree724df09b1bedc3ba1dd0f53761f07b97b3ccf344 /gtk/proto_draw.h
parentf84392ac60c08ec825b7f006f6376b1673a4b89d (diff)
Use GtkScrolledWindows to add scrollbars to the hex/ASCII panes and to
the "Follow TCP Stream" displays; that means we can use the same GTK+ calls to set the scrollbar placement on them that is used to set it on other widgets. Keep a list of all the GtkScrolledWindows whose scrollbar placement we control with the GUI preference item for that, and change them all when the GUI preference item is changed (which means that the GUI preference item now applies to the "Follow TCP Stream" window as well as to the hex/ASCII panes). svn path=/trunk/; revision=1676
Diffstat (limited to 'gtk/proto_draw.h')
-rw-r--r--gtk/proto_draw.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/proto_draw.h b/gtk/proto_draw.h
index dadcf9d81a..4708b2dd7d 100644
--- a/gtk/proto_draw.h
+++ b/gtk/proto_draw.h
@@ -1,7 +1,7 @@
/* gtkpacket.h
* Definitions for GTK+ packet display structures and routines
*
- * $Id: proto_draw.h,v 1.5 2000/02/29 06:24:41 guy Exp $
+ * $Id: proto_draw.h,v 1.6 2000/03/02 07:05:57 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -28,13 +28,13 @@
#define __GTKPACKET_H__
void create_byte_view(gint bv_size, GtkWidget *pane, GtkWidget **byte_view_p,
- GtkWidget **bv_vscroll_left_p, GtkWidget **bv_vscroll_right_p);
+ GtkWidget **bv_scrollw_p, int pos);
void packet_hex_print(GtkText *, guint8 *, gint, gint, gint, char_enc);
#define E_TREEINFO_FIELD_INFO_KEY "tree_info_finfo"
void create_tree_view(gint tv_size, e_prefs *prefs, GtkWidget *pane,
- GtkWidget **tv_scrollw_p, GtkWidget **tree_view_p);
+ GtkWidget **tv_scrollw_p, GtkWidget **tree_view_p, int pos);
void proto_tree_draw(proto_tree *protocol_tree, GtkWidget *tree_view);
void expand_all_tree(proto_tree *protocol_tree, GtkWidget *tree_view);
void collapse_all_tree(proto_tree *protocol_tree, GtkWidget *tree_view);