Integrate Ed Meaney's <emeaney@altiga.com> changes for using libpcap
[obnox/wireshark/wip.git] / gtk / gtkglobals.h
1 /* gtkglobals.h
2  * GTK-related Global defines, etc.
3  *
4  * $Id: gtkglobals.h,v 1.5 1999/12/30 23:02:54 gram Exp $
5  *
6  * Ethereal - Network traffic analyzer
7  * By Gerald Combs <gerald@zing.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * 
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  * 
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  * 
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __GTKGLOBALS_H__
27 #define __GTKGLOBALS_H__
28
29 #ifndef __GTK_H__
30 #include <gtk/gtk.h>
31 #endif
32
33 extern GtkWidget   *top_level, *file_sel, *packet_list, *tree_view,
34             *byte_view, *prog_bar, *info_bar;
35 extern GdkFont     *m_r_font, *m_b_font;
36
37 extern GtkStyle *item_style;
38
39 void set_scrollbar_placement(int); /* 1=right, 0=left */
40 void set_plist_sel_browse(gboolean);
41 void set_ptree_sel_browse(gboolean);
42 void set_ptree_line_style(gint style);
43 void set_ptree_expander_style(gint style);
44
45 #endif