From Alejandro Vaquero:
[obnox/wireshark/wip.git] / gtk / gtkglobals.h
index 8e083271b2ac93b692eac72a26ccf753312712fe..3099a069743218be1030a7787942e168842f28f2 100644 (file)
@@ -1,10 +1,10 @@
 /* gtkglobals.h
  * GTK-related Global defines, etc.
  *
- * $Id: gtkglobals.h,v 1.22 2003/08/01 01:39:01 guy Exp $
+ * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
 #ifndef __GTKGLOBALS_H__
 #define __GTKGLOBALS_H__
 
-extern GtkWidget *top_level, *packet_list, *tree_view, *byte_nb_ptr;
-#if GTK_MAJOR_VERSION < 2
-extern GdkFont   *m_r_font, *m_b_font;
-extern guint      m_font_height, m_font_width;
+/** @mainpage GTK subsystem
+ *
+ * @section intro Introduction
+ *
+ * Wireshark uses GTK (the Gimp ToolKit) as its user interface toolkit.
+ *
+ * See Modules for a list of submodules.
+ *
+ */
+
+/** @file
+ *  GTK global definitions. For example a pointer to the main application window.
+ */
 
-extern GtkStyle  *item_style;
+/** Application window. */
+extern GtkWidget *top_level;
 
-void set_plist_font(GdkFont *font);
-#else
-extern PangoFontDescription *m_r_font, *m_b_font;
+/** Packet list pane. */
+extern GtkWidget *packet_list;
 
-void set_plist_font(PangoFontDescription *font);
-#endif
-void set_plist_sel_browse(gboolean);
-
-#ifdef _WIN32
-/*
- * XXX - "isprint()" can return "true" for non-ASCII characters, but
- * those don't work with GTK+ on Windows, as GTK+ on Windows assumes
- * UTF-8 strings.  Until we fix up Ethereal to properly handle
- * non-ASCII characters in all output (both GUI displays and text
- * printouts) on all platforms including Windows, we work around
- * the problem by escaping all characters that aren't printable ASCII.
- */
-#undef isprint
-#define isprint(c) (c >= 0x20 && c < 0x7f)
-#endif
+/** Tree view (packet details) pane. */
+extern GtkWidget *tree_view;
+
+/** Byte notebook (packet bytes) pane. */
+extern GtkWidget *byte_nb_ptr;
+
+/** The filter text entry in the filter toolbar. */
+extern GtkWidget   *main_display_filter_widget;
 
 #endif